You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I download the model files for the trained aspect based sentiment classification? Following along with the quick tour in the README (link), I get the following error
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license"for more information.
>>> from senta import Senta
>>> my_senta = Senta()
>>> use_cuda=False
>>> my_senta.init_model(model_class="roberta_skep_large_en", task="aspect_sentiment_classify", use_cuda=use_cuda)
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
File "/home/ryan/workspace/misc/senta/Senta/senta/train.py", line 205, in init_model
param_dict = from_file(data_params_path)
File "/home/ryan/workspace/misc/senta/Senta/senta/utils/params.py", line 47, in from_file
file_dict = json.loads(evaluate_file(filename), strict=False)
File "/home/ryan/workspace/misc/senta/Senta/senta/utils/params.py", line 42, in evaluate_file
with open(filename, "r") as evaluation_file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/ryan/workspace/misc/senta/Senta/senta/model_files/roberta_skep_large_en.absa_laptops.cls/save_inference_model/inference_step_74/infer_data_params.json'
I installed the package using the "From source" instructions here. My system is Ubuntu 20.04. Please let me know if you need any other info to help fix this.
The text was updated successfully, but these errors were encountered:
How can I download the model files for the trained aspect based sentiment classification? Following along with the quick tour in the README (link), I get the following error
I installed the package using the "From source" instructions here. My system is Ubuntu 20.04. Please let me know if you need any other info to help fix this.
The text was updated successfully, but these errors were encountered: