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

Error when running #Evaluate: #1

Closed
lethanh26061998 opened this issue Oct 23, 2020 · 3 comments
Closed

Error when running #Evaluate: #1

lethanh26061998 opened this issue Oct 23, 2020 · 3 comments

Comments

@lethanh26061998
Copy link

"Code_colab":
#Evaluate
BERT_MODEL = 'fake-news.tar.gz', a = b, where did this come from???
So, I got this error:
ERROR:pytorch_pretrained_bert.modeling:Model name 'cache/fake-news.tar.gz' was not found in model name list (bert-base-uncased, bert-large-uncased, bert-base-cased, bert-large-cased, bert-base-multilingual-uncased, bert-base-multilingual-cased, bert-base-chinese). We assumed 'cache/fake-news.tar.gz' was a path or url but couldn't find any file associated to this path or url.
I look forward to your explanation, thanks a lot!

@ac4mm
Copy link
Owner

ac4mm commented Nov 1, 2020

Hi,
sorry for the long waiting, but i just added fake-news.tar.gz file that i forgot to commit due to the long size file.
thanks for the interest and i hope everything must be self-declared or for any doubt i'm available.

@ac4mm ac4mm closed this as completed Nov 1, 2020
@ac4mm ac4mm reopened this Nov 1, 2020
@ac4mm ac4mm closed this as completed Nov 3, 2020
@lethanh26061998
Copy link
Author

lethanh26061998 commented Nov 4, 2020 via email

@ac4mm
Copy link
Owner

ac4mm commented Nov 5, 2020

Hi, this file was created by two different dataset: AG_news and Fake_news (just look for them in Google), merged them and applied different operation for obtain what i wanted to achieve.
This image below shows what i just said:

dataset

these files pytorch_model.bin and config.json were obtained in detect_FN_with_BERT colab file, after processing were zipped in .tar and after .tar.gz format and used in step further on.

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