Skip to content

Commit

Permalink
Fix pydantic gradio compatibility error
Browse files Browse the repository at this point in the history
  • Loading branch information
miragecoa committed Sep 10, 2024
1 parent 9b6020a commit 3c28d4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ transformers==4.35.2
tokenizers>=0.15.0
git+https://github.com/EleutherAI/lm-evaluation-harness.git@b281b0921b636bc36ad05c0b0b0763bd6dd43463#egg=lm-eval
accelerate==0.24.1
pydantic==2.9.1
fastapi==0.112.4
sentencepiece
2 changes: 1 addition & 1 deletion src/leaderboard/read_evals.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def to_dict(self):
category_averages["average_FO"].append(score)
elif task.value.category == "Decision-Making (DM)":
if task.value.benchmark == "FinTrade" and score != "missing":
category_averages["average_DM"].append((score + 3)/6)
category_averages["average_DM"].append((score + 300)/6)
else:
category_averages["average_DM"].append(score)
elif task.value.category == "Spanish":
Expand Down

0 comments on commit 3c28d4f

Please sign in to comment.