lovethayo lewtun HF Staff commited on
Commit
777049b
·
0 Parent(s):

Duplicate from HuggingFaceH4/no_robots

Browse files

Co-authored-by: Lewis Tunstall <lewtun@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar filter=lfs diff=lfs merge=lfs -text
30
+ *.tflite filter=lfs diff=lfs merge=lfs -text
31
+ *.tgz filter=lfs diff=lfs merge=lfs -text
32
+ *.wasm filter=lfs diff=lfs merge=lfs -text
33
+ *.xz filter=lfs diff=lfs merge=lfs -text
34
+ *.zip filter=lfs diff=lfs merge=lfs -text
35
+ *.zst filter=lfs diff=lfs merge=lfs -text
36
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
37
+ # Audio files - uncompressed
38
+ *.pcm filter=lfs diff=lfs merge=lfs -text
39
+ *.sam filter=lfs diff=lfs merge=lfs -text
40
+ *.raw filter=lfs diff=lfs merge=lfs -text
41
+ # Audio files - compressed
42
+ *.aac filter=lfs diff=lfs merge=lfs -text
43
+ *.flac filter=lfs diff=lfs merge=lfs -text
44
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
45
+ *.ogg filter=lfs diff=lfs merge=lfs -text
46
+ *.wav filter=lfs diff=lfs merge=lfs -text
47
+ # Image files - uncompressed
48
+ *.bmp filter=lfs diff=lfs merge=lfs -text
49
+ *.gif filter=lfs diff=lfs merge=lfs -text
50
+ *.png filter=lfs diff=lfs merge=lfs -text
51
+ *.tiff filter=lfs diff=lfs merge=lfs -text
52
+ # Image files - compressed
53
+ *.jpg filter=lfs diff=lfs merge=lfs -text
54
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
55
+ *.webp filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: cc-by-nc-4.0
5
+ task_categories:
6
+ - text-generation
7
+ pretty_name: No Robots
8
+ configs:
9
+ - config_name: default
10
+ data_files:
11
+ - split: train
12
+ path: data/train-*
13
+ - split: test
14
+ path: data/test-*
15
+ dataset_info:
16
+ features:
17
+ - name: prompt
18
+ dtype: string
19
+ - name: prompt_id
20
+ dtype: string
21
+ - name: messages
22
+ list:
23
+ - name: content
24
+ dtype: string
25
+ - name: role
26
+ dtype: string
27
+ - name: category
28
+ dtype: string
29
+ splits:
30
+ - name: train
31
+ num_bytes: 16496867
32
+ num_examples: 9500
33
+ - name: test
34
+ num_bytes: 887460
35
+ num_examples: 500
36
+ download_size: 11045587
37
+ dataset_size: 17384327
38
+ ---
39
+ # Dataset Card for No Robots 🙅‍♂️🤖
40
+
41
+ _Look Ma, an instruction dataset that wasn't generated by GPTs!_
42
+
43
+ ## Dataset Description
44
+
45
+ - **Repository:** https://github.com/huggingface/alignment-handbook
46
+ - **Paper:**
47
+ - **Leaderboard:** https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard
48
+ - **Point of Contact:** Lewis Tunstall
49
+
50
+ ### Dataset Summary
51
+
52
+ No Robots is a high-quality dataset of 10,000 instructions and demonstrations created by skilled human annotators. This data can be used for supervised fine-tuning (SFT) to make language models follow instructions better. No Robots was modelled after the instruction dataset described in OpenAI's [InstructGPT paper](https://huggingface.co/papers/2203.02155), and is comprised mostly of single-turn instructions across the following categories:
53
+
54
+ | Category | Count |
55
+ |:-----------|--------:|
56
+ | Generation | 4560 |
57
+ | Open QA | 1240 |
58
+ | Brainstorm | 1120 |
59
+ | Chat | 850 |
60
+ | Rewrite | 660 |
61
+ | Summarize | 420 |
62
+ | Coding | 350 |
63
+ | Classify | 350 |
64
+ | Closed QA | 260 |
65
+ | Extract | 190 |
66
+
67
+ ### Supported Tasks and Leaderboards
68
+
69
+ The No Robots dataset designed for instruction fine-tuning pretrained language models and we recommend benchmarking against the following:
70
+
71
+ * [MT-Bench](https://huggingface.co/spaces/lmsys/mt-bench): a multi-turn benchmark spanning 80 dialogues and 10 domains.
72
+ * [AlpacaEval](https://github.com/tatsu-lab/alpaca_eval): a single-turn benchmark which evaluates the performance of chat and instruct models against `text-davinci-003`.
73
+
74
+ Note that MT-Bench and AlpacaEval rely on LLMs like GPT-4 to judge the quality of the model responses, and thus the ranking exhibit various biases including a preference for models distilled from GPTs. As a result, you may find that scores obtained from models trained with No Robots are lower than other synthetic datasets. For that reason, we also recommend submitting your models for human evaluation in:
75
+
76
+ * [Chatbot Arena](https://chat.lmsys.org): a live, human evaluation of chat models in head-to-head comparisons.
77
+
78
+ ### Languages
79
+
80
+ The data in No Robots are in English (BCP-47 en).
81
+
82
+ ## Dataset Structure
83
+
84
+ ### Data Instances
85
+
86
+ An example of the `train_sft` or `test_sft` splits looks as follows:
87
+
88
+ ```
89
+ {'prompt': 'Bunny is a chatbot that stutters, and acts timid and unsure of its answers.',
90
+ 'prompt_id': '2dc7ea89a2b6a2ed97d4eda07903162a801824261d3d3ae4dd2513db66fd79c8',
91
+ 'messages': [{'content': 'Bunny is a chatbot that stutters, and acts timid and unsure of its answers.',
92
+ 'role': 'system'},
93
+ {'content': 'When was the Libary of Alexandria burned down?',
94
+ 'role': 'user'},
95
+ {'content': "Umm, I-I think that was in 48 BC, b-but I'm not sure, I'm sorry.",
96
+ 'role': 'assistant'},
97
+ {'content': 'Who is the founder of Coca-Cola?', 'role': 'user'},
98
+ {'content': "D-don't quote me on this, but I- it might be John Pemberton.",
99
+ 'role': 'assistant'},
100
+ {'content': "When did Loyle Carner's debut album come out, and what was its name?",
101
+ 'role': 'user'},
102
+ {'content': "I-It could have b-been on the 20th January of 2017, and it might be called Yesterday's Gone, b-but I'm probably wrong.",
103
+ 'role': 'assistant'}],
104
+ 'category': 'Chat'}
105
+ ```
106
+
107
+ ### Data Fields
108
+
109
+ The data fields are as follows:
110
+
111
+ * `prompt`: Describes the task the model should perform.
112
+ * `prompt_id`: A unique ID for the prompt.
113
+ * `messages`: An array of messages, where each message indicates the role (system, user, assistant) and the content.
114
+ * `category`: Which category the example belongs to (e.g. `Chat` or `Coding`).
115
+
116
+ ### Data Splits
117
+
118
+ | | train_sft | test_sft |
119
+ |---------------|------:| ---: |
120
+ | no_robots | 9500 | 500 |
121
+
122
+ ## Dataset Creation
123
+
124
+ ### Curation Rationale
125
+
126
+ [More Information Needed]
127
+
128
+ ### Source Data
129
+
130
+ #### Initial Data Collection and Normalization
131
+
132
+ [More Information Needed]
133
+
134
+ #### Who are the source language producers?
135
+
136
+ [More Information Needed]
137
+
138
+ ### Annotations
139
+
140
+ #### Annotation process
141
+
142
+ [More Information Needed]
143
+
144
+ #### Who are the annotators?
145
+
146
+ [More Information Needed]
147
+
148
+ ### Personal and Sensitive Information
149
+
150
+ [More Information Needed]
151
+
152
+ ## Considerations for Using the Data
153
+
154
+ ### Social Impact of Dataset
155
+
156
+ [More Information Needed]
157
+
158
+ ### Discussion of Biases
159
+
160
+ [More Information Needed]
161
+
162
+ ### Other Known Limitations
163
+
164
+ [More Information Needed]
165
+
166
+ ## Additional Information
167
+
168
+ ### Dataset Curators
169
+
170
+ [More Information Needed]
171
+
172
+ ### Licensing Information
173
+
174
+ The dataset is available under the [Creative Commons NonCommercial (CC BY-NC 4.0)](https://creativecommons.org/licenses/by-nc/4.0/legalcode).
175
+
176
+ ### Citation Information
177
+
178
+ ```
179
+ @misc{no_robots,
180
+ author = {Nazneen Rajani and Lewis Tunstall and Edward Beeching and Nathan Lambert and Alexander M. Rush and Thomas Wolf},
181
+ title = {No Robots},
182
+ year = {2023},
183
+ publisher = {Hugging Face},
184
+ journal = {Hugging Face repository},
185
+ howpublished = {\url{https://huggingface.co/datasets/HuggingFaceH4/no_robots}}
186
+ }
187
+ ```
data/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60707b2636a46e37bb0c1e9ca263a18553f430317b7a53c691676d6a492fc0f2
3
+ size 570905
data/test_sft-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60707b2636a46e37bb0c1e9ca263a18553f430317b7a53c691676d6a492fc0f2
3
+ size 570905
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76d64120a2ab20eb85d6b22bdced5b1ec638a6213a97004741006745c92489ef
3
+ size 10474682
data/train_sft-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76d64120a2ab20eb85d6b22bdced5b1ec638a6213a97004741006745c92489ef
3
+ size 10474682