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

getting error in train.py #6

Open
ankitkr3 opened this issue Dec 8, 2020 · 4 comments
Open

getting error in train.py #6

ankitkr3 opened this issue Dec 8, 2020 · 4 comments

Comments

@ankitkr3
Copy link

ankitkr3 commented Dec 8, 2020

Hi @ramsrigouthamg

I am getting an error at the following line

tokenizer = T5Tokenizer.from_pretrained('t5-base')

error says : ImportError:
T5Tokenizer requires the SentencePiece library but it was not found in your environment. Checkout the instructions on the
installation page of its repo: https://github.com/google/sentencepiece#installation and follow the ones
that match your environment.

@aatithya-hitkar
Copy link

this worked for me
pip install transformers==2.9.0

@ankitkr3
Copy link
Author

hi @aatithya-hitkar @ramsrigouthamg

I am getting segmentation fault as error while training on ec2 p2.xlarge instance. please help

@aatithya-hitkar
Copy link

i haven't faced this issue
but it may be because memory is not getting read
if you are working on multi gpu try single gpu

@ankitkr3
Copy link
Author

@aatithya-hitkar @ramsrigouthamg
GPU issue it was thanks, but now it is getting trained continuously, it is currently showing epoch no. 14 while the param passed epoch is 2 only, can you help here?

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

2 participants