-
Notifications
You must be signed in to change notification settings - Fork 27.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Summarisation example fails to run on given example. Missing positional argument TypeError #18381
Comments
You need to use the main version of Transformers to use the main version of the example scripts. You can find the examples for v4.21.0 here. |
Thank you @sgugger @LysandreJik , it works perfectly now |
hey, sorry to bother you again @sgugger , but, this is the output I'm getting when I'm running the script on my own dataset
The code I'm using to launch the script is
the test.csv file is below |
Yes, it looks like |
System Info
Who can help?
@sgugger @Pati
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
I am trying to fine tune my own summarisation model based on the example in
transformers/examples/pytorch/summarization/run_summarization_no_trainer.py
but it when I first tried on the example given in the repository. link to Google Colab to reproduce errorI'm getting the following error
Expected behavior
The model should start training
The text was updated successfully, but these errors were encountered: