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

data/run_magpie.sh error #1

Open
jordan1204 opened this issue Dec 9, 2024 · 0 comments
Open

data/run_magpie.sh error #1

jordan1204 opened this issue Dec 9, 2024 · 0 comments

Comments

@jordan1204
Copy link

Hi,I'm tryig to understand the experiments of this paper,but I encounter a problem.
It;s that when I run /data/run_magpie.sh ,I have this error:

Traceback (most recent call last):
File "translate_magpie.py", line 8, in
from transformers import MarianTokenizer, MarianMTModel
File "/home/jordanli2455/mt_idioms/transformers/src/transformers/init.py", line 43, in
from . import dependency_versions_check
File "/home/jordanli2455/mt_idioms/transformers/src/transformers/dependency_versions_check.py", line 41, in
require_version_core(deps[pkg])
File "/home/jordanli2455/mt_idioms/transformers/src/transformers/utils/versions.py", line 94, in require_version_core
return require_version(requirement, hint)
File "/home/jordanli2455/mt_idioms/transformers/src/transformers/utils/versions.py", line 85, in require_version
if want_ver is not None and not ops[op](version.parse(got_ver), version.parse(want_ver)):
File "/home/jordanli2455/anaconda3/envs/mt_idioms/lib/python3.7/site-packages/packaging/version.py", line 54, in parse
return Version(version)
File "/home/jordanli2455/anaconda3/envs/mt_idioms/lib/python3.7/site-packages/packaging/version.py", line 200, in init
raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: '0.10.1,<0.11'

Can someone help me to fix this issue?

Thanks

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

1 participant