张弛 commited on
Commit
21ad5c9
·
1 Parent(s): 35038e0

add dataes_card

Browse files
Files changed (1) hide show
  1. dataes_card.md +124 -0
dataes_card.md ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ ​---
3
+ # Example metadata to be added to a dataset card.
4
+ # Full dataset card template at https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md
5
+ language:
6
+ - {lang_0} # Example: fr
7
+ - {lang_1} # Example: en
8
+ license: {license} # Example: apache-2.0 or any license from https://hf.co/docs/hub/repositories-licenses
9
+ 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`.
10
+ 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.
11
+ license_details: {license_details} # Legacy, textual description of a custom license.
12
+ tags:
13
+ - {tag_0} # Example: audio
14
+ - {tag_1} # Example: bio
15
+ - {tag_2} # Example: natural-language-understanding
16
+ - {tag_3} # Example: birds-classification
17
+ annotations_creators:
18
+ - {creator} # Example: crowdsourced, found, expert-generated, machine-generated
19
+ language_creators:
20
+ - {creator} # Example: crowdsourced, ...
21
+ language_details:
22
+ - {bcp47_lang_0} # Example: fr-FR
23
+ - {bcp47_lang_1} # Example: en-US
24
+ pretty_name: {pretty_name} # Example: SQuAD
25
+ size_categories:
26
+ - {number_of_elements_in_dataset} # Example: n<1K, 100K<n<1M, …
27
+ source_datasets:
28
+ - {source_dataset_0} # Example: wikipedia
29
+ - {source_dataset_1} # Example: laion/laion-2b
30
+ task_categories: # Full list at https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/src/pipelines.ts
31
+ - {task_0} # Example: question-answering
32
+ - {task_1} # Example: image-classification
33
+ task_ids:
34
+ - {subtask_0} # Example: extractive-qa
35
+ - {subtask_1} # Example: multi-class-image-classification
36
+ paperswithcode_id: {paperswithcode_id} # Dataset id on PapersWithCode (from the URL). Example for SQuAD: squad
37
+ configs: # Optional. This can be used to pass additional parameters to the dataset loader, such as `data_files`, `data_dir`, and any builder-specific parameters
38
+ - config_name: {config_name_0} # Name of the dataset subset, if applicable. Example: default
39
+ data_files:
40
+ - split: {split_name_0} # Example: train
41
+ path: {file_path_0} # Example: data.csv
42
+ - split: {split_name_1} # Example: test
43
+ path: {file_path_1} # Example: holdout.csv
44
+ - config_name: {config_name_1} # Name of the dataset subset. Example: processed
45
+ data_files:
46
+ - split: {split_name_3} # Example: train
47
+ path: {file_path_3} # Example: data_processed.csv
48
+
49
+ # Optional. This part can be used to store the feature types and size of the dataset to be used in python. This can be automatically generated using the datasets-cli.
50
+ dataset_info:
51
+ features:
52
+ - name: {feature_name_0} # Example: id
53
+ dtype: {feature_dtype_0} # Example: int32
54
+ - name: {feature_name_1} # Example: text
55
+ dtype: {feature_dtype_1} # Example: string
56
+ - name: {feature_name_2} # Example: image
57
+ dtype: {feature_dtype_2} # Example: image
58
+ # Example for SQuAD:
59
+ # - name: id
60
+ # dtype: string
61
+ # - name: title
62
+ # dtype: string
63
+ # - name: context
64
+ # dtype: string
65
+ # - name: question
66
+ # dtype: string
67
+ # - name: answers
68
+ # sequence:
69
+ # - name: text
70
+ # dtype: string
71
+ # - name: answer_start
72
+ # dtype: int32
73
+ config_name: {config_name} # Name of the dataset subset. Example for glue: sst2
74
+ splits:
75
+ - name: {split_name_0} # Example: train
76
+ num_bytes: {split_num_bytes_0} # Example for SQuAD: 79317110
77
+ num_examples: {split_num_examples_0} # Example for SQuAD: 87599
78
+ download_size: {dataset_download_size} # Example for SQuAD: 35142551
79
+ dataset_size: {dataset_size} # Example for SQuAD: 89789763
80
+
81
+ # It can also be a list of multiple subsets (also called "configurations"):
82
+ # ```yaml
83
+ # dataset_info:
84
+ # - config_name: {config0}
85
+ # features:
86
+ # ...
87
+ # - config_name: {config1}
88
+ # features:
89
+ # ...
90
+ # ```
91
+
92
+ # Optional. If you want your dataset to be protected behind a gate that users have to accept to access the dataset. More info at https://huggingface.co/docs/hub/datasets-gated
93
+ extra_gated_fields:
94
+ - {field_name_0}: {field_type_0} # Example: Name: text
95
+ - {field_name_1}: {field_type_1} # Example: Affiliation: text
96
+ - {field_name_2}: {field_type_2} # Example: Email: text
97
+ - {field_name_3}: {field_type_3} # Example for speech datasets: I agree to not attempt to determine the identity of speakers in this dataset: checkbox
98
+ extra_gated_prompt: {extra_gated_prompt} # Example for speech datasets: By clicking on “Access repository” below, you also agree to not attempt to determine the identity of speakers in the dataset.
99
+
100
+ # Optional. Add this if you want to encode a train and evaluation info in a structured way for AutoTrain or Evaluation on the Hub
101
+ train-eval-index:
102
+ - config: {config_name} # The dataset subset name to use. Example for datasets without subsets: default. Example for glue: sst2
103
+ task: {task_name} # The task category name (same as task_category). Example: question-answering
104
+ task_id: {task_type} # The AutoTrain task id. Example: extractive_question_answering
105
+ splits:
106
+ train_split: train # The split to use for training. Example: train
107
+ eval_split: validation # The split to use for evaluation. Example: test
108
+ col_mapping: # The columns mapping needed to configure the task_id.
109
+ # Example for extractive_question_answering:
110
+ # question: question
111
+ # context: context
112
+ # answers:
113
+ # text: text
114
+ # answer_start: answer_start
115
+ metrics:
116
+ - type: {metric_type} # The metric id. Example: wer. Use metric id from https://hf.co/metrics
117
+ name: {metric_name} # Tne metric name to be displayed. Example: Test WER
118
+ ​---
119
+
120
+ Valid license identifiers can be found in [our docs](https://huggingface.co/docs/hub/repositories-licenses).
121
+
122
+ For the full dataset card template, see: [datasetcard_template.md file](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md).
123
+ ---
124
+