VLP-MABSA
VLP-MABSA copied to clipboard
How to fix this problem?
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?
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.
you need to change the parameter "pretrained_model_name" as the path of your download bart model.