zouharvi commited on
Commit
280ce65
1 Parent(s): 05f1396

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -24,10 +24,10 @@ size_categories:
24
  This is the dataset for two papers: **Quality and Quantity of Machine Translation References for Automated Metrics [[paper](https://arxiv.org/abs/2401.01283)]** - effect of reference quality and quantity on automatic metric performance, and **Evaluating Optimal Reference Translations [[paper]](https://arxiv.org/abs/2311.16787)** - creation of the data and human aspects of annotation and translation.
25
  Please see the [original repository](https://github.com/ufal/optimal-reference-translations) for more information or [contact the authors](mailto:vilem.zouhar@gmail.com) with any questions.
26
 
27
- You need to stream the dataset for it to work because `ort_human` and `ort_wmt` splits have different columns:
28
  ```
29
- data_human = list(load_dataset("zouharvi/optimal-reference-translations", 'ort_human', streaming=True)["train"])
30
- data_wmt = list(load_dataset("zouharvi/optimal-reference-translations", 'ort_wmt', streaming=True)["train"])
31
  ```
32
 
33
  # Quality and Quantity of Machine Translation References for Automated Metrics [[paper](https://arxiv.org/abs/2401.01283)]
@@ -75,7 +75,7 @@ Note: If you you also want to use the WMT2020 system submissions, please contact
75
 
76
  ```python3
77
  from datasets import load_dataset
78
- data = list(load_dataset("zouharvi/optimal-reference-translations", 'ort_human', streaming=True)["train"])
79
 
80
  # 220 annotated documents
81
  len(data)
 
24
  This is the dataset for two papers: **Quality and Quantity of Machine Translation References for Automated Metrics [[paper](https://arxiv.org/abs/2401.01283)]** - effect of reference quality and quantity on automatic metric performance, and **Evaluating Optimal Reference Translations [[paper]](https://arxiv.org/abs/2311.16787)** - creation of the data and human aspects of annotation and translation.
25
  Please see the [original repository](https://github.com/ufal/optimal-reference-translations) for more information or [contact the authors](mailto:vilem.zouhar@gmail.com) with any questions.
26
 
27
+ Please make sure that you have the latest `datasets` installed:
28
  ```
29
+ data_human = load_dataset("zouharvi/optimal-reference-translations", 'ort_human')["train"]
30
+ data_wmt = load_dataset("zouharvi/optimal-reference-translations", 'ort_wmt')["train"]
31
  ```
32
 
33
  # Quality and Quantity of Machine Translation References for Automated Metrics [[paper](https://arxiv.org/abs/2401.01283)]
 
75
 
76
  ```python3
77
  from datasets import load_dataset
78
+ data = load_dataset("zouharvi/optimal-reference-translations", 'ort_human')["train"]
79
 
80
  # 220 annotated documents
81
  len(data)