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

TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType #37

Open
akashgupta97 opened this issue Apr 20, 2022 · 2 comments

Comments

@akashgupta97
Copy link

Hi,

I am trying to train the biomed_roberta_base model on the chemprot dataset using the provided scripts.train python command and encounter the below issues.

Screenshot from 2022-04-20 00-16-11

The above dataset and models have been downloaded as stated in the README of the master branch. Also since the mentioned environment wasn't working for me I am using the below conda environment

Screenshot from 2022-04-20 00-20-29

Please let me know how to solve the above issue. It seems like the tokenizer asks for a vocab file but I am not sure how to provide one.

@Shajiu
Copy link

Shajiu commented Sep 13, 2022

您解决了此类问题了么?现在我遇到这个问题了。不知怎么处理了?

@nihirv
Copy link

nihirv commented Nov 6, 2022

Solution is to upgrade to pytorch-transformers==1.2.0

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