Upload check_iemocap.py with huggingface_hub
Browse files- check_iemocap.py +10 -0
check_iemocap.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Check IEMOCAP dataset structure
|
| 2 |
+
from datasets import load_dataset
|
| 3 |
+
|
| 4 |
+
ds = load_dataset("AudioLLMs/iemocap_emotion_recognition")
|
| 5 |
+
print("Dataset:", ds)
|
| 6 |
+
print("\nTest sample keys:", ds["test"][0].keys())
|
| 7 |
+
print("\nFirst 3 samples:")
|
| 8 |
+
for i in range(3):
|
| 9 |
+
s = ds["test"][i]
|
| 10 |
+
print(f" {i}: {s}")
|