Closed pushkalkatara closed 2 years ago
Hi.
Did you follow the installation here? https://github.com/asappresearch/slue-toolkit#installation
Hi @sshon-asapp , yes I followed the installation instructions. I guess fairseq
is missing as a dependency. I installed fairseq-main and faced this issue.
do i need to use a specific fairseq commit rather than master branch?
fairseq is dependency of slue-toolkit and you will need slue-toolkit library installation as well.
Fairseq doesn't have this sequence level criteria, so we defined as below.
Yes, but i guess in slue-toolkit installation, fairseq is missing as a dependency.
when i follow the installation instructions, i get this error while running the baseline.
Traceback (most recent call last):
File "/root/miniconda3/envs/slue/bin/fairseq-hydra-train", line 33, in <module>
sys.exit(load_entry_point('fairseq', 'console_scripts', 'fairseq-hydra-train')())
File "/root/miniconda3/envs/slue/bin/fairseq-hydra-train", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
File "/root/miniconda3/envs/slue/lib/python3.8/importlib/metadata.py", line 503, in distribution
return Distribution.from_name(distribution_name)
File "/root/miniconda3/envs/slue/lib/python3.8/importlib/metadata.py", line 177, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: fairseq
So i installed fairseq but came up with the issue above.
seems fairseq is not properly installed. Can you try to remove fairseq and re-install?
@sshon-asapp , it was related to fairseq addon structuring. made a PR to fix it and now it works for me.
Resolved by #13
Hi,
I wanted to reproduce the sentiment analysis baseline through
Fairseq Config log:
But facing this error: