Datasets:
update dataset_info, placement of ds file and test loader script
Browse files- dataset_info.json +51 -0
- libris2s/libris2s.py → libris2s.py +0 -0
- test_hf_ds_loader.py +6 -3
dataset_info.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"description": "LibriS2S: A German-English Speech-to-Speech Translation Corpus",
|
| 3 |
+
"citation": "@inproceedings{jeuris-niehues-2022-libris2s,\n title = \"{L}ibri{S}2{S}: A {G}erman-{E}nglish Speech-to-Speech Translation Corpus\",\n author = \"Jeuris, Pedro and Niehues, Jan\",\n booktitle = \"Proceedings of the Thirteenth Language Resources and Evaluation Conference\",\n year = \"2022\",\n url = \"https://aclanthology.org/2022.lrec-1.98\",\n pages = \"928--935\"\n}",
|
| 4 |
+
"homepage": "https://huggingface.co/datasets/PedroDKE/LibriS2S",
|
| 5 |
+
"license": "cc-by-nc-sa-4.0",
|
| 6 |
+
"features": {
|
| 7 |
+
"book_id": {
|
| 8 |
+
"dtype": "int64",
|
| 9 |
+
"_type": "Value"
|
| 10 |
+
},
|
| 11 |
+
"DE_audio": {
|
| 12 |
+
"_type": "Audio"
|
| 13 |
+
},
|
| 14 |
+
"EN_audio": {
|
| 15 |
+
"_type": "Audio"
|
| 16 |
+
},
|
| 17 |
+
"score": {
|
| 18 |
+
"dtype": "float32",
|
| 19 |
+
"_type": "Value"
|
| 20 |
+
},
|
| 21 |
+
"DE_transcript": {
|
| 22 |
+
"dtype": "string",
|
| 23 |
+
"_type": "Value"
|
| 24 |
+
},
|
| 25 |
+
"EN_transcript": {
|
| 26 |
+
"dtype": "string",
|
| 27 |
+
"_type": "Value"
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"builder_name": "libris2s",
|
| 31 |
+
"dataset_name": "libris2s",
|
| 32 |
+
"config_name": "default",
|
| 33 |
+
"version": {
|
| 34 |
+
"version_str": "1.0.0",
|
| 35 |
+
"major": 1,
|
| 36 |
+
"minor": 0,
|
| 37 |
+
"patch": 0
|
| 38 |
+
},
|
| 39 |
+
"splits": {
|
| 40 |
+
"train": {
|
| 41 |
+
"name": "train",
|
| 42 |
+
"num_bytes": 10171501,
|
| 43 |
+
"num_examples": 25604,
|
| 44 |
+
"dataset_name": "libris2s"
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"download_checksums": {},
|
| 48 |
+
"download_size": 0,
|
| 49 |
+
"dataset_size": 10171501,
|
| 50 |
+
"size_in_bytes": 10171501
|
| 51 |
+
}
|
libris2s/libris2s.py → libris2s.py
RENAMED
|
File without changes
|
test_hf_ds_loader.py
CHANGED
|
@@ -1,8 +1,11 @@
|
|
| 1 |
-
from datasets import load_dataset
|
| 2 |
|
| 3 |
dataset = load_dataset(
|
| 4 |
"PedroDKE/LibriS2S",
|
| 5 |
trust_remote_code=True,
|
|
|
|
| 6 |
)
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
| 1 |
+
from datasets import load_dataset
|
| 2 |
|
| 3 |
dataset = load_dataset(
|
| 4 |
"PedroDKE/LibriS2S",
|
| 5 |
trust_remote_code=True,
|
| 6 |
+
streaming=True
|
| 7 |
)
|
| 8 |
+
|
| 9 |
+
for row in dataset["train"]:
|
| 10 |
+
print(row["DE_audio"])
|
| 11 |
+
break
|