Skip to content

Commit

Permalink
Update src/huggingface_hub/repocard_data.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin authored Sep 2, 2022
1 parent 07c97e5 commit 6d4129e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/huggingface_hub/repocard_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ class EvalResult:
Example: 5503434ddd753f426f4b38109466949a1217c2bb
dataset_args (`Dict[str, Any]`, *optional*):
The arguments passed during `Metric.compute()`. Example for `bleu`: `{"max_order": 4}`
metric_name: (`str`, *optional*):
metric_name (`str`, *optional*):
A pretty name for the metric. Example: "Test WER".
metric_config: (`str`, *optional*):
metric_config (`str`, *optional*):
The name of the metric configuration used in `load_metric()`.
Example: bleurt-large-512 in `load_metric("bleurt", "bleurt-large-512")`.
See the `datasets` docs for more info: https://huggingface.co/docs/datasets/v2.1.0/en/loading#load-configurations
metric_args: (`Dict[str, Any]`, *optional*):
metric_args (`Dict[str, Any]`, *optional*):
The arguments passed during `Metric.compute()`. Example for `bleu`: max_order: 4
verified: (`bool`, *optional*):
verified (`bool`, *optional*):
If true, indicates that evaluation was generated by Hugging Face (vs. self-reported).
"""

Expand Down

0 comments on commit 6d4129e

Please sign in to comment.