ramithuh commited on
Commit
32109a2
1 Parent(s): bc21d11

Fill details for `dataset` section

Browse files
Files changed (1) hide show
  1. README.md +70 -1
README.md CHANGED
@@ -215,6 +215,75 @@ The `Aya Evaluation Suite` includes the following subsets:
215
 
216
  1. **aya-human-annotated**: 250 original human-written prompts in 7 languages each.
217
  2. **dolly-machine-translated**: 200 human-selected prompts from [databricks-dolly-15k](https://www.databricks.com/blog/2023/04/12/dolly-first-open-commercially-viable-instruction-tuned-llm)
218
- , automatically translated with the [NLLB model](https://ai.meta.com/research/no-language-left-behind/) from English into 101 languages.
219
  3. **dolly-human-edited**: 200 dolly-machine-translated prompts post-edited by fluent speakers for 6 languages.
220
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
 
216
  1. **aya-human-annotated**: 250 original human-written prompts in 7 languages each.
217
  2. **dolly-machine-translated**: 200 human-selected prompts from [databricks-dolly-15k](https://www.databricks.com/blog/2023/04/12/dolly-first-open-commercially-viable-instruction-tuned-llm)
218
+ , automatically translated with the [NLLB model](https://ai.meta.com/research/no-language-left-behind/) from English into 101 languages (114 dialects in total).
219
  3. **dolly-human-edited**: 200 dolly-machine-translated prompts post-edited by fluent speakers for 6 languages.
220
 
221
+
222
+ ## Load with Datasets
223
+ To load this dataset consisting of both prompt-completions and demographics data with `datasets`, you'll just need to install Datasets as `pip install datasets --upgrade` and then use the following code:
224
+
225
+ ```python
226
+ from datasets import load_dataset
227
+
228
+ aya_eval = load_dataset("CohereForAI/aya_evaluation_suite", "dataset")
229
+ ```
230
+
231
+ ## Data Fields
232
+
233
+ - `id`: Unique id of the data point.
234
+ - `inputs`: Prompt or input to the language model.
235
+ - `targets`: Completion or output of the language model. (Not applicable for `dolly-human-edited`)
236
+ - `language`: The language of the `prompt` and `completion.`
237
+ - `script`: The writing system of the language.
238
+
239
+ ## Data Instances
240
+
241
+ An example of the `Aya Evaluation Suite` looks as follows:
242
+
243
+ ```json
244
+ {
245
+ "id": 42,
246
+ "prompt": "What day is known as Star Wars Day?",
247
+ "completion": "May 4th (May the 4th be with you!)",
248
+ "language": "eng",
249
+ "script": "Latn",
250
+ }
251
+ ```
252
+
253
+ ## Statistics
254
+
255
+ ### Languages
256
+
257
+ <details>
258
+ <summary> <b>aya-human-annotated</b> </summary>
259
+
260
+ | ISO Code | Language | Resourcedness |
261
+ |----------|----------|---------------|
262
+ | `tel` | Telugu | Low |
263
+ | `yor` | Yorùbá | Low |
264
+ | `arb` | Arabic | High |
265
+ | `tur` | Turkish | High |
266
+ | `por` | Portuguese | High |
267
+ | `zho` | Chinese (Simplified) | High |
268
+ | `eng` | English | High |
269
+
270
+ </details>
271
+
272
+
273
+ <details>
274
+ <summary> <b>dolly-machine-translated</b> </summary>
275
+ </details>
276
+
277
+ <details>
278
+ <summary> <b>dolly-human-edited</b> </summary>
279
+
280
+ | ISO Code | Language | Resourcedness |
281
+ |----------|----------|-----------|
282
+ | `arb` | Arabic | High |
283
+ | `fra` | French | High |
284
+ | `hin` | Hindi | High |
285
+ | `rus` | Russian | High |
286
+ | `spa` | Spanish | High |
287
+ | `srp` | Serbian | High |
288
+
289
+ </details>