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

How to fix this problem? #15

Open
Jackson8787 opened this issue Jan 7, 2023 · 2 comments
Open

How to fix this problem? #15

Jackson8787 opened this issue Jan 7, 2023 · 2 comments

Comments

@Jackson8787
Copy link

I got the error message below when running sh 15_pretrain_full.sh.

OSError: Model name './E2E-MABSA' was not found in tokenizers model name list (facebook/bart-base, facebook/bart-large, facebook/bart-large-mnli, facebook/bart-large-cnn, facebook/bart-large-xsum, yjernite/bart_eli5). We assumed './E2E-MABSA' was a path, a model identifier, or url to a directory containing vocabulary files named ['vocab.json', 'merges.txt'] but couldn't find such vocabulary files at this path or url.

How can I fix it?
スクリーンショット 2023-01-08 000312

@lyhuohuo
Copy link
Collaborator

This error seems the model can't find the initial bart model path, you can download the bart model files from hugging face and modify the path.

@lyhuohuo
Copy link
Collaborator

image
you need to change the parameter "pretrained_model_name" as the path of your download bart model.

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