Update files from the datasets library (from 1.5.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.5.0
- covost2.py +1 -1
covost2.py
CHANGED
|
@@ -170,7 +170,7 @@ class Covost2(datasets.GeneratorBasedBuilder):
|
|
| 170 |
)
|
| 171 |
|
| 172 |
if split == "train":
|
| 173 |
-
df = df[(df["split"] == "train") | (df["split"] ==
|
| 174 |
else:
|
| 175 |
df = df[df["split"] == split]
|
| 176 |
|
|
|
|
| 170 |
)
|
| 171 |
|
| 172 |
if split == "train":
|
| 173 |
+
df = df[(df["split"] == "train") | (df["split"] == "train_covost")]
|
| 174 |
else:
|
| 175 |
df = df[df["split"] == split]
|
| 176 |
|