Update README.md
Browse files
README.md
CHANGED
|
@@ -1,35 +1,37 @@
|
|
| 1 |
-
---
|
| 2 |
-
license:
|
| 3 |
-
viewer: true
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
| 16 |
-
|
| 17 |
-
|
|
| 18 |
-
|
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
print(dataset[0]['
|
| 35 |
-
print(dataset[0]['
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: artistic-2.0
|
| 3 |
+
viewer: true
|
| 4 |
+
size_categories:
|
| 5 |
+
- n<1K
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# ZebangCheng/test_hf_data
|
| 9 |
+
|
| 10 |
+
## Dataset Summary
|
| 11 |
+
A collection of short video clips annotated with emotions, stored efficiently using Parquet format with embedded video paths.
|
| 12 |
+
|
| 13 |
+
## Dataset Fields
|
| 14 |
+
|
| 15 |
+
| Field | Type | Description |
|
| 16 |
+
|------|------|-------------|
|
| 17 |
+
| video_path | string | Path to the video file (MP4 format) |
|
| 18 |
+
| label | string | Emotion label, e.g., happy, sad, angry, neutral, etc. |
|
| 19 |
+
| description | string | Short description of the video content |
|
| 20 |
+
| video_id | string | Unique video identifier |
|
| 21 |
+
|
| 22 |
+
## Example
|
| 23 |
+
|
| 24 |
+
| video_path | label | description | video_id |
|
| 25 |
+
|------------|------|-------------|----------|
|
| 26 |
+
| video/00019.mp4 | neutral | It's me. | 00019.mp4 |
|
| 27 |
+
|
| 28 |
+
## How to Use
|
| 29 |
+
|
| 30 |
+
```python
|
| 31 |
+
from datasets import load_dataset
|
| 32 |
+
|
| 33 |
+
dataset = load_dataset("ZebangCheng/test_hf_data", split='train')
|
| 34 |
+
print(dataset[0]['video_path']) # Path to video
|
| 35 |
+
print(dataset[0]['label']) # Emotion label
|
| 36 |
+
print(dataset[0]['description']) # Video description
|
| 37 |
+
print(dataset[0]['video_id']) # Video ID
|