Skip to content
Ignoring revisions in .git-blame-ignore-revs.

Latest commit

 

History

History
54 lines (51 loc) · 4.17 KB

modelcard.md

File metadata and controls

54 lines (51 loc) · 4.17 KB
 
Nov 14, 2022
Nov 14, 2022
2
3
# Example metadata to be added to a model card.
# Full model card template at https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md
4
5
6
language:
- {lang_0} # Example: fr
- {lang_1} # Example: en
Jun 4, 2022
Jun 4, 2022
7
license: {license} # Example: apache-2.0 or any license from https://hf.co/docs/hub/repositories-licenses
Sep 27, 2023
Sep 27, 2023
8
license_name: {license_name} # If license = other (license not in https://hf.co/docs/hub/repositories-licenses), specify an id for it here, like `my-license-1.0`.
Dec 5, 2023
Dec 5, 2023
9
license_link: {license_link} # If license = other, specify "LICENSE" or "LICENSE.md" to link to a file of that name inside the repo, or a URL to a remote file.
Nov 26, 2023
Nov 26, 2023
10
library_name: {library_name} # Optional. Example: keras or any library from https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/src/model-libraries.ts
11
12
13
14
15
16
17
18
19
tags:
- {tag_0} # Example: audio
- {tag_1} # Example: automatic-speech-recognition
- {tag_2} # Example: speech
- {tag_3} # Example to specify a library: allennlp
datasets:
- {dataset_0} # Example: common_voice. Use dataset id from https://hf.co/datasets
metrics:
- {metric_0} # Example: wer. Use metric id from https://hf.co/metrics
Dec 19, 2023
Dec 19, 2023
20
base_model: {base_model} # Example: stabilityai/stable-diffusion-xl-base-1.0. Can also be a list (for merges)
May 10, 2022
May 10, 2022
22
# Optional. Add this if you want to encode your eval results in a structured way.
23
24
25
model-index:
- name: {model_id}
results:
May 10, 2022
May 10, 2022
26
27
28
- task:
type: {task_type} # Required. Example: automatic-speech-recognition
name: {task_name} # Optional. Example: Speech Recognition
May 10, 2022
May 10, 2022
30
31
type: {dataset_type} # Required. Example: common_voice. Use dataset id from https://hf.co/datasets
name: {dataset_name} # Required. A pretty name for the dataset. Example: Common Voice (French)
Jul 22, 2024
Jul 22, 2024
32
config: {dataset_config} # Optional. The name of the dataset subset used in `load_dataset()`. Example: fr in `load_dataset("common_voice", "fr")`. See the `datasets` docs for more info: https://huggingface.co/docs/datasets/package_reference/loading_methods#datasets.load_dataset.name
May 10, 2022
May 10, 2022
33
34
35
36
37
split: {dataset_split} # Optional. Example: test
revision: {dataset_revision} # Optional. Example: 5503434ddd753f426f4b38109466949a1217c2bb
args:
{arg_0}: {value_0} # Optional. Additional arguments to `load_dataset()`. Example for wikipedia: language: en
{arg_1}: {value_1} # Optional. Example for wikipedia: date: 20220301
May 10, 2022
May 10, 2022
39
40
41
42
43
44
- type: {metric_type} # Required. Example: wer. Use metric id from https://hf.co/metrics
value: {metric_value} # Required. Example: 20.90
name: {metric_name} # Optional. Example: Test WER
config: {metric_config} # 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
args:
{arg_0}: {value_0} # Optional. The arguments passed during `Metric.compute()`. Example for `bleu`: max_order: 4
Dec 12, 2023
Dec 12, 2023
45
verifyToken: {verify_token} # Optional. If present, this is a signature that can be used to prove that evaluation was generated by Hugging Face (vs. self-reported).
Nov 30, 2023
Nov 30, 2023
46
47
source: # Optional. The source for this result.
name: {source_name} # Optional. The name of the source. Example: Open LLM Leaderboard.
May 30, 2024
May 30, 2024
48
url: {source_url} # Required if source is provided. A link to the source. Example: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard.
May 10, 2022
May 10, 2022
51
This markdown file contains the spec for the modelcard metadata regarding evaluation parameters. When present, and only then, 'model-index', 'datasets' and 'license' contents will be verified when git pushing changes to your README.md file.
Nov 14, 2022
Nov 14, 2022
52
53
Valid license identifiers can be found in [our docs](https://huggingface.co/docs/hub/repositories-licenses).
Nov 30, 2023
Nov 30, 2023
54
For the full model card template, see: [modelcard_template.md file](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md).