Skip to content
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

t5 training notebook issue #9

Open
riyaj8888 opened this issue Jan 15, 2021 · 3 comments
Open

t5 training notebook issue #9

riyaj8888 opened this issue Jan 15, 2021 · 3 comments

Comments

@riyaj8888
Copy link

Hello Suraj ,
Thanks for sharing this fine tuning of t5 notebook.
I am trying to use it as it is but when i am running it on colab it throwing following error.

**trainer = pl.Trainer(train_params)
"TypeError: init() got an unexpected keyword argument 'early_stop_callback'"

I will appreciate your time in resolving this issue.

thanks

@MarcosFP97
Copy link

Hi! I had the same problem and I figured out that it was a package version problem. In order to make this notebook work properly, you need to use this versions:

!pip install transformers==2.9.0 
!pip install pytorch_lightning==0.7.5

@MarcosFP97
Copy link

I have created a PR, but meanwhile you can download the fixed notebook from my fork: here

Best,
Marcos

@Jackthebighead
Copy link

Hi, you can simply comment the early_stop_callback and it will work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants