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

Transformers library version #1

Open
rezash1 opened this issue Jun 8, 2020 · 8 comments
Open

Transformers library version #1

rezash1 opened this issue Jun 8, 2020 · 8 comments

Comments

@rezash1
Copy link

rezash1 commented Jun 8, 2020

Hi,
Can you please add a requirements.txt file for easier reproducibility?
Thanks

@AndriyMulyar
Copy link
Collaborator

AndriyMulyar commented Jun 8, 2020 via email

@rezash1
Copy link
Author

rezash1 commented Jun 8, 2020

Thanks!
But it doesn't contain transformers and torch versions.

@AndriyMulyar
Copy link
Collaborator

AndriyMulyar commented Jun 8, 2020 via email

@rezash1
Copy link
Author

rezash1 commented Jun 8, 2020

I get the following error when I run predict_ner.py:
TypeError: init() got an unexpected keyword argument 'add_special_tokens'

These are the versions I'm using:
torch==1.5.0
transformers==2.11.0

@AndriyMulyar
Copy link
Collaborator

AndriyMulyar commented Jun 8, 2020 via email

@AndriyMulyar
Copy link
Collaborator

AndriyMulyar commented Jun 11, 2020

Updated setup.py to reflect - where is ci/cd when you need it. Please let me know if there are any other ways that friction to reproducibility can be reduced.

@rezash1
Copy link
Author

rezash1 commented Jun 19, 2020

Thanks! I think there is still a mismatch between my version of 'tokenizers' and this implementation. so I removed 'add_special_tokens=False' and 'encoding.original_str' in 'predict_ner.py' which gave me an error.

@AndriyMulyar
Copy link
Collaborator

AndriyMulyar commented Jun 19, 2020 via email

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