jasonyux commited on
Commit
f4eb7c6
·
verified ·
1 Parent(s): 9760d1b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +157 -0
README.md CHANGED
@@ -67,3 +67,160 @@ configs:
67
  - split: test
68
  path: data/test-*
69
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  - split: test
68
  path: data/test-*
69
  ---
70
+
71
+ # Dataset Card for Dataset Name
72
+
73
+ <!-- Provide a quick summary of the dataset. -->
74
+
75
+ Reformatted from `stanfordnlp/SHP` dataset. To make it consistent with other preference dsets, we:
76
+
77
+ 1. convert upvotes to scores in a [1, 10] scale. This is achieved by 1) convert the better response's upvotes to score of [5.0, 10.0] by:
78
+ ```python
79
+ def shp_map_score(score, threshold=78):
80
+ # 78 is chosen because about the best 10% data has score > 78
81
+ if score > threshold:
82
+ return 10.0
83
+ # linearly map the rest
84
+ return 5.0 + (score / 78) * 5.0
85
+ ```
86
+ to respect the `score_ratio` in the original dataset, we use it to model score difference between the chosen and the rejected score. Therefore, the rejected score is calculated by:
87
+ ```
88
+ remaped_chosen_score = # from above
89
+ ratio_diff = data_row['score_ratio'] - 1.0
90
+ rejected_score = max(remaped_chosen_score - ratio_diff, 0.0)
91
+ ```
92
+ 2. all other information is kept intact: since the original data is already paired, we simply reformat to use the better response as `chosen`, and the other as `rejected`.
93
+
94
+ convert all scores to a [1, 10] scale by np.mean([helpfulness+1, correctness+1, coherence+1, complexity+1, 4-verbosity])*2.0
95
+ the original dset considers 4 responses per prompt. We construct preference pairs by 1) take the best scoring response as chosen, and 2) randomly sample responses with score lower than best response as rejected. We skip prompts/data rows where all responses have the same score.
96
+ ## Dataset Details
97
+
98
+ ### Dataset Description
99
+
100
+ <!-- Provide a longer summary of what this dataset is. -->
101
+
102
+
103
+
104
+ - **Curated by:** [More Information Needed]
105
+ - **Funded by [optional]:** [More Information Needed]
106
+ - **Shared by [optional]:** [More Information Needed]
107
+ - **Language(s) (NLP):** [More Information Needed]
108
+ - **License:** [More Information Needed]
109
+
110
+ ### Dataset Sources [optional]
111
+
112
+ <!-- Provide the basic links for the dataset. -->
113
+
114
+ - **Repository:** [More Information Needed]
115
+ - **Paper [optional]:** [More Information Needed]
116
+ - **Demo [optional]:** [More Information Needed]
117
+
118
+ ## Uses
119
+
120
+ <!-- Address questions around how the dataset is intended to be used. -->
121
+
122
+ ### Direct Use
123
+
124
+ <!-- This section describes suitable use cases for the dataset. -->
125
+
126
+ [More Information Needed]
127
+
128
+ ### Out-of-Scope Use
129
+
130
+ <!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ## Dataset Structure
135
+
136
+ <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
137
+
138
+ [More Information Needed]
139
+
140
+ ## Dataset Creation
141
+
142
+ ### Curation Rationale
143
+
144
+ <!-- Motivation for the creation of this dataset. -->
145
+
146
+ [More Information Needed]
147
+
148
+ ### Source Data
149
+
150
+ <!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
151
+
152
+ #### Data Collection and Processing
153
+
154
+ <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
155
+
156
+ [More Information Needed]
157
+
158
+ #### Who are the source data producers?
159
+
160
+ <!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
161
+
162
+ [More Information Needed]
163
+
164
+ ### Annotations [optional]
165
+
166
+ <!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
167
+
168
+ #### Annotation process
169
+
170
+ <!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
171
+
172
+ [More Information Needed]
173
+
174
+ #### Who are the annotators?
175
+
176
+ <!-- This section describes the people or systems who created the annotations. -->
177
+
178
+ [More Information Needed]
179
+
180
+ #### Personal and Sensitive Information
181
+
182
+ <!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
183
+
184
+ [More Information Needed]
185
+
186
+ ## Bias, Risks, and Limitations
187
+
188
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
189
+
190
+ [More Information Needed]
191
+
192
+ ### Recommendations
193
+
194
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
195
+
196
+ Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
197
+
198
+ ## Citation [optional]
199
+
200
+ <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
201
+
202
+ **BibTeX:**
203
+
204
+ [More Information Needed]
205
+
206
+ **APA:**
207
+
208
+ [More Information Needed]
209
+
210
+ ## Glossary [optional]
211
+
212
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
213
+
214
+ [More Information Needed]
215
+
216
+ ## More Information [optional]
217
+
218
+ [More Information Needed]
219
+
220
+ ## Dataset Card Authors [optional]
221
+
222
+ [More Information Needed]
223
+
224
+ ## Dataset Card Contact
225
+
226
+ [More Information Needed]