OptimalScale / OptimalScale/LMFlow
[BUG] EvaluatorArguments,
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.5k
- Forks
- 822
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with lmflow/args.py around line 533 and inspect how EvaluatorArguments is referenced or defined. Reproduce the import through src/feedback_training_raft_t2t.py or feedback_training_raft_t2t.py under Python 3.10. Done means the script imports without the reported NameError; the issue does not specify a test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100