-
Notifications
You must be signed in to change notification settings - Fork 152
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
Multilingual and English examples not working anymore #41
Comments
Hi,
Thank you for your report. I will upload new checkpoints in days.
Cheers!
…---Original---
From: "Ingo ***@***.***>
Date: Sun, Jul 11, 2021 06:16 AM
To: ***@***.***>;
Cc: ***@***.***>;
Subject: [yangheng95/PyABSA] Multilingual and English examples not working anymore (#41)
Hi,
Thank you for the great repository.
For me especially the English models are interesting. Unfortunately your examples examples/aspect_term_extraction/extract_aspects.py and extract_aspects_multilingual.py do not work for me.
Expected behavior
The sample scripts extract_aspects.py and extract_aspects_multilingual.py can be executed.
Actual behavior
The get_checkpoint function doesn't find any model for English.
[...] model_path = APCTrainedModelManager.get_checkpoint(checkpoint_name='English') [...] ## Checkpoint:English is not found.
The reason is that there is no English language model in the checkpoints.json, that is being downloaded.
{ "0.8.8.0+":{ "APC":{ "chinese":{ "id": "https://drive.google.com/file/d/12UPwGEOWcBToEmpiKAyeKTmXZ-38LDuo/view?usp=sharing", "description": "", "comment": "" } }, "ATEPC":{ "chinese":{ "id": "https://drive.google.com/file/d/1LDCoYEhZLWt0pKsKflC3pOXUV3JMDT64/view?usp=sharing", "description": "", "comment": "" } } }
I tried using download_pretrained_model to download an old model, but this one doesn't seem to be compatible anymore:
download_pretrained_model(task ='APC', language = 'english', archive_path = '1AE2DC72vigxdAlYKjiV4_IfWsPUH7aX_')
It would be great if you could provide an English model for the new version of your package or explain how to run the examples.
Thank you 🙏
Ingo
Ingo
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I just upload an English ATEPC checkpoint, you can try it. |
And we call for sharing of the trained checkpoints due to the limitied computational resources. If somebody can help us, please see here. |
Hi, |
That is great! I will email you. |
Hi,
Thank you for the great repository.
For me especially the English models are interesting. Unfortunately your examples examples/aspect_term_extraction/extract_aspects.py and extract_aspects_multilingual.py do not work for me.
Expected behavior
The sample scripts extract_aspects.py and extract_aspects_multilingual.py can be executed.
Actual behavior
The
get_checkpoint
function doesn't find any model for English.The reason is that there is no English language model in the checkpoints.json, that is being downloaded.
I tried using
download_pretrained_model
to download an old model, but this one doesn't seem to be compatible anymore:It would be great if you could provide an English model for the new version of your package or explain how to run the examples.
Thank you 🙏
Ingo
The text was updated successfully, but these errors were encountered: