huggingface / transformers

🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
https://huggingface.co/transformers
Apache License 2.0
135.19k stars 27.06k forks source link

Test/Predict on summarization task #10530

Closed zyxnlp closed 3 years ago

zyxnlp commented 3 years ago

Environment info

Who can help

Information

Model I am using (Bart):

The problem arises when using:

The tasks I am working on is:

Expected behavior

Use the above script to test on CNNDAILYMAIL and XSUM dataset, the program seems will be always stuck at training_step (e.g., 26/709)

Could you please kindly provide a test/predict example script of the summarization task (e.g., XSUM). Thank you so much!

NielsRogge commented 3 years ago

Hi,

could you please ask questions related to training of models on the forum?

All questions related to fine-tuning a model for summarization on CNN can be found here for example.

zyxnlp commented 3 years ago

Hi,

could you please ask questions related to training of models on the forum?

All questions related to fine-tuning a model for summarization on CNN can be found here for example.

@NielsRogge Oh, thank you for your reminder, that really helped!

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.