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

[BUG] EvaluatorArguments, #885

Open
Harshit-tech9 opened this issue Jul 23, 2024 · 1 comment
Open

[BUG] EvaluatorArguments, #885

Harshit-tech9 opened this issue Jul 23, 2024 · 1 comment

Comments

@Harshit-tech9
Copy link

Description:

I encountered an issue while running the script feedback_training_raft_t2t.py. The script fails with the following traceback:

Traceback (most recent call last):
File "/hdd/harshit-space/Feedbacknmt/train_scripts/../src/feedback_training_raft_t2t.py", line 15, in
from lmflow.args import (
File "/home/eztech/.pyenv/versions/feedbackmt/lib/python3.10/site-packages/lmflow/args.py", line 533, in
"evaluator": EvaluatorArguments,
NameError: name 'EvaluatorArguments' is not defined

Details:

The error occurs in the file lmflow/args.py at line 533, where EvaluatorArguments is referenced.
It seems that EvaluatorArguments is not defined or imported in lmflow/args.py, causing a NameError.

Expected Behavior:

The script should run without errors related to undefined names.

Environment:

Python version: 3.10
lmflow version: (Include the version of lmflow you're using)
Operating System: (Include your OS and version)
Additional Information:

Please let me know if there are any additional details required. I would appreciate any guidance or fixes for this issue.

@research4pan
Copy link
Contributor

Thanks for your suggestions! For RAFT scripts, the LMFlow version needs to be very low, such as v0.0.4. You may try downgrading LMFlow to see if the problem is resolved. We are currently working on integrating supports for higher-version supports for RAFT, and will get back to you once it is available. Thanks for your understanding 🙏

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