Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
hynky1999 committed Jan 28, 2025
1 parent d39edfd commit 1e38b29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lighteval/metrics/dynamic_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ def multilingual_extractive_match_metric(
- "no_fallback": Only use first successfully parsed matches
- "first_match": Use the first successfully parsed match + first match irregardless the parsing success
extraction_mode: Literal["first_match", "any_match"]
- "first_match": Only tries to extract the first regex match if it fails no other matches are tried
- "any_match": Tries to extract any regex match
precision: int
Number of decimal places to use when comparing numerical values. Defaults to 6.
Expand Down

0 comments on commit 1e38b29

Please sign in to comment.