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

What is the version of FastAI used in this project? #4

Open
samonphant opened this issue Jul 18, 2021 · 4 comments
Open

What is the version of FastAI used in this project? #4

samonphant opened this issue Jul 18, 2021 · 4 comments

Comments

@samonphant
Copy link

What is the version of FastAI used in this project? I did run train_lm.py and it was an error. The error msg is

Traceback (most recent call last): File "train_lm.py", line 5, in <module> from fastai.callbacks import CSVLogger, SaveModelCallback ModuleNotFoundError: No module named 'fastai.callbacks'

My version is 2.4.1

@wannaphong
Copy link
Member

I think the version of fastai is 1.0.61. You can install by pip install fastai==1.0.61.

@samonphant
Copy link
Author

Thank you for your prompt reply. The file could be run now. However, train_lm.py requires 'prachathai_lm.pkl' as the input (line 11 of train_lm.py). Where can I get this file?

Thank you in advance.

@wannaphong
Copy link
Member

Thank you for your prompt reply. The file could be run now. However, train_lm.py requires 'prachathai_lm.pkl' as the input (line 11 of train_lm.py). Where can I get this file?

Thank you in advance.

You can get prachathai_lm.pkl from classification.ipynb in Finetune Language Model step.

@engkarat
Copy link

Hi khun Wannaphong,
I tried to run that step on my local and Colab. It was failed because I don't have enough RAM to process. BTW is it possible to share this file so that I can try running through the notebook. That would educate me a lot.

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