Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -43,15 +43,20 @@ dataset = load_dataset(hf_dataset)["train"]
|
|
| 43 |
|
| 44 |
# Access a sample
|
| 45 |
print(dataset[0])
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
```
|
| 56 |
|
| 57 |
### Loading Speaker Embeddings (x-vectors)
|
|
|
|
| 43 |
|
| 44 |
# Access a sample
|
| 45 |
print(dataset[0])
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
Output:
|
| 49 |
+
```python
|
| 50 |
+
{
|
| 51 |
+
'speaker_id': 14,
|
| 52 |
+
'gender': 'F',
|
| 53 |
+
'name': 'Kristin LeMoine',
|
| 54 |
+
'subset': 'train-clean-360',
|
| 55 |
+
'age': -1,
|
| 56 |
+
'audio': {'path': '...', 'array': array([...]), 'sampling_rate': 24000},
|
| 57 |
+
'total_duration_s': 30.0,
|
| 58 |
+
'used_utterances': '[{"path": "...", "duration_s": 9.02}, ...]'
|
| 59 |
+
}
|
| 60 |
```
|
| 61 |
|
| 62 |
### Loading Speaker Embeddings (x-vectors)
|