Skip to content

Commit

Permalink
refactor: default bleu_score and meteor_Score as None
Browse files Browse the repository at this point in the history
  • Loading branch information
anujsinha3 committed Jan 31, 2024
1 parent 667e77e commit 1f8c14a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/autora/doc/classes/EvalResult.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ class EvalResult:

prediction: List[str]
prompt: str
bleu_score: Optional[float]
meteor_score: Optional[float]
bleu_score: Optional[float] = None
meteor_score: Optional[float] = None

0 comments on commit 1f8c14a

Please sign in to comment.