minusthousand commited on
Commit
b6fd9d5
1 Parent(s): 6c82645

Create modelcard.md

Browse files
Files changed (1) hide show
  1. modelcard.md +43 -0
modelcard.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ # Example metadata to be added to a model card.
3
+ # Full model card template at https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md
4
+ language:
5
+ - {lang_0} # Example: fr
6
+ - {lang_1} # Example: en
7
+ license: {license} # Example: apache-2.0 or any license from https://hf.co/docs/hub/repositories-licenses
8
+ library_name: {library_name} # Optional. Example: keras or any library from https://github.com/huggingface/hub-docs/blob/main/js/src/lib/interfaces/Libraries.ts
9
+ tags:
10
+ - {tag_0} # Example: audio
11
+ - {tag_1} # Example: automatic-speech-recognition
12
+ - {tag_2} # Example: speech
13
+ - {tag_3} # Example to specify a library: allennlp
14
+ datasets:
15
+ - {dataset_0} # Example: common_voice. Use dataset id from https://hf.co/datasets
16
+ metrics:
17
+ - {metric_0} # Example: wer. Use metric id from https://hf.co/metrics
18
+
19
+ # Optional. Add this if you want to encode your eval results in a structured way.
20
+ model-index:
21
+ - name: {model_id}
22
+ results:
23
+ - task:
24
+ type: {task_type} # Required. Example: automatic-speech-recognition
25
+ name: {task_name} # Optional. Example: Speech Recognition
26
+ dataset:
27
+ type: {dataset_type} # Required. Example: common_voice. Use dataset id from https://hf.co/datasets
28
+ name: {dataset_name} # Required. A pretty name for the dataset. Example: Common Voice (French)
29
+ config: {dataset_config} # Optional. The name of the dataset configuration 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
30
+ split: {dataset_split} # Optional. Example: test
31
+ revision: {dataset_revision} # Optional. Example: 5503434ddd753f426f4b38109466949a1217c2bb
32
+ args:
33
+ {arg_0}: {value_0} # Optional. Additional arguments to `load_dataset()`. Example for wikipedia: language: en
34
+ {arg_1}: {value_1} # Optional. Example for wikipedia: date: 20220301
35
+ metrics:
36
+ - type: {metric_type} # Required. Example: wer. Use metric id from https://hf.co/metrics
37
+ value: {metric_value} # Required. Example: 20.90
38
+ name: {metric_name} # Optional. Example: Test WER
39
+ 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
40
+ args:
41
+ {arg_0}: {value_0} # Optional. The arguments passed during `Metric.compute()`. Example for `bleu`: max_order: 4
42
+ verified: true # Optional. If true, indicates that evaluation was generated by Hugging Face (vs. self-reported).
43
+ ---