Datasets:
Add correct web register labels to HF download script (#3)
Browse files- Update README.md (b4c890210e6ccb94ed5c769a786cb1205e95b418)
Co-authored-by: Peter Devine <[email protected]>
README.md
CHANGED
|
@@ -269,7 +269,7 @@ To load a monolingual portion of the **HPLT v3.0** dataset in the _Huggingface D
|
|
| 269 |
The `Datasets` package will then handle downloading of the files.
|
| 270 |
If you would like to **stream** the files instead of downloading them all at once, set `streaming=True` within the `load_dataset()` function.
|
| 271 |
|
| 272 |
-
```
|
| 273 |
from datasets import load_dataset, Features, Value, Sequence, List
|
| 274 |
import requests
|
| 275 |
|
|
@@ -327,6 +327,39 @@ features = Features(
|
|
| 327 |
"av": Value("float64"),
|
| 328 |
"ds": Value("float64"),
|
| 329 |
"ed": Value("float64"),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 330 |
},
|
| 331 |
}
|
| 332 |
)
|
|
|
|
| 269 |
The `Datasets` package will then handle downloading of the files.
|
| 270 |
If you would like to **stream** the files instead of downloading them all at once, set `streaming=True` within the `load_dataset()` function.
|
| 271 |
|
| 272 |
+
```python
|
| 273 |
from datasets import load_dataset, Features, Value, Sequence, List
|
| 274 |
import requests
|
| 275 |
|
|
|
|
| 327 |
"av": Value("float64"),
|
| 328 |
"ds": Value("float64"),
|
| 329 |
"ed": Value("float64"),
|
| 330 |
+
"cm": Value("float64"),
|
| 331 |
+
"dp": Value("float64"),
|
| 332 |
+
"dt": Value("float64"),
|
| 333 |
+
"ib": Value("float64"),
|
| 334 |
+
"oi": Value("float64"),
|
| 335 |
+
"tr": Value("float64"),
|
| 336 |
+
"ad": Value("float64"),
|
| 337 |
+
"le": Value("float64"),
|
| 338 |
+
"oo": Value("float64"),
|
| 339 |
+
"ha": Value("float64"),
|
| 340 |
+
"ma": Value("float64"),
|
| 341 |
+
"on": Value("float64"),
|
| 342 |
+
"pb": Value("float64"),
|
| 343 |
+
"ss": Value("float64"),
|
| 344 |
+
"tb": Value("float64"),
|
| 345 |
+
"oe": Value("float64"),
|
| 346 |
+
"pa": Value("float64"),
|
| 347 |
+
"df": Value("float64"),
|
| 348 |
+
"of": Value("float64"),
|
| 349 |
+
"qa": Value("float64"),
|
| 350 |
+
"rr": Value("float64"),
|
| 351 |
+
"fh": Value("float64"),
|
| 352 |
+
"ht": Value("float64"),
|
| 353 |
+
"oh": Value("float64"),
|
| 354 |
+
"ts": Value("float64"),
|
| 355 |
+
"ol": Value("float64"),
|
| 356 |
+
"po": Value("float64"),
|
| 357 |
+
"pr": Value("float64"),
|
| 358 |
+
"sl": Value("float64"),
|
| 359 |
+
"fs": Value("float64"),
|
| 360 |
+
"os": Value("float64"),
|
| 361 |
+
"ta": Value("float64"),
|
| 362 |
+
"tv": Value("float64")
|
| 363 |
},
|
| 364 |
}
|
| 365 |
)
|