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

AttributeError: module 'alpaca_eval.metrics' has no attribute 'get_length_controlled_winrate' #415

Open
sunjie279 opened this issue Oct 30, 2024 · 0 comments

Comments

@sunjie279
Copy link

I installed alpaca_eval==0.6.2 to ensure consistency with my previous results. However, I encountered an issue. And alpaca_eval==0.6.2 performs well on another Linux platform.

Traceback (most recent call last):
File "/home/xxx/anaconda3/bin/alpaca_eval", line 8, in
sys.exit(main())
^^^^^^
File "/home/xxx/anaconda3/lib/python3.11/site-packages/alpaca_eval/main.py", line 610, in main
fire.Fire(evaluate)
File "/home/xxx/anaconda3/lib/python3.11/site-packages/fire/core.py", line 143, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxx/anaconda3/lib/python3.11/site-packages/fire/core.py", line 477, in _Fire
component, remaining_args = _CallAndUpdateTrace(
^^^^^^^^^^^^^^^^^^^^
File "/home/xxx/anaconda3/lib/python3.11/site-packages/fire/core.py", line 693, in CallAndUpdateTrace
component = fn(*varargs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxx/anaconda3/lib/python3.11/site-packages/alpaca_eval/main.py", line 175, in evaluate
fn_metric
= getattr(metrics, fn_metric)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'alpaca_eval.metrics' has no attribute 'get_length_controlled_winrate'

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