mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-09 19:29:18 +00:00
eleuther eval fix
This commit is contained in:
parent
ad18dc94ac
commit
fb565dfb06
3 changed files with 24 additions and 20 deletions
|
|
@ -157,12 +157,14 @@ class EleutherEvalsAdapter(Evals):
|
|||
limit=eval_task_config.n_samples,
|
||||
)
|
||||
|
||||
eval_result = EvalResult(
|
||||
metrics={},
|
||||
)
|
||||
formatted_output = lm_eval.utils.make_table(output)
|
||||
|
||||
cprint(formatted_output, "green")
|
||||
|
||||
return EvaluateResponse(
|
||||
metrics={
|
||||
"metrics_table": formatted_output,
|
||||
},
|
||||
eval_result=eval_result,
|
||||
formatted_report=formatted_output,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue