Commit
·
c3c1552
1
Parent(s):
b11b596
final again
Browse files- README.md +6 -8
- final_dataset.parquet +2 -2
README.md
CHANGED
|
@@ -12,26 +12,24 @@ A collection of short video clips annotated with emotions, stored efficiently us
|
|
| 12 |
|
| 13 |
| Field | Type | Description |
|
| 14 |
|------|------|-------------|
|
| 15 |
-
| video_path |
|
| 16 |
-
| label | string | Emotion label, e.g., happy, sad, angry,
|
| 17 |
-
| description | string | Short
|
| 18 |
-
| video_id | string | Unique video identifier
|
| 19 |
|
| 20 |
## Example
|
| 21 |
|
| 22 |
| video_path | label | description | video_id |
|
| 23 |
|------------|------|-------------|----------|
|
| 24 |
| video/00019.mp4 | neutral | It's me. | 00019.mp4 |
|
| 25 |
-
| video/00020.mp4 | surprise | I remember it! | 00020.mp4 |
|
| 26 |
-
| video/00021.mp4 | anger | I want to go home. | 00021.mp4 |
|
| 27 |
|
| 28 |
## How to Use
|
| 29 |
|
| 30 |
```python
|
| 31 |
from datasets import load_dataset
|
| 32 |
|
| 33 |
-
dataset = load_dataset("ZebangCheng/test_hf_data")
|
| 34 |
-
print(dataset[0]['video_path']) #
|
| 35 |
print(dataset[0]['label']) # Emotion label
|
| 36 |
print(dataset[0]['description']) # Video description
|
| 37 |
print(dataset[0]['video_id']) # Video ID
|
|
|
|
| 12 |
|
| 13 |
| Field | Type | Description |
|
| 14 |
|------|------|-------------|
|
| 15 |
+
| video_path | string | Path to the video file (MP4 format) |
|
| 16 |
+
| label | string | Emotion label, e.g., happy, sad, angry, neutral, etc. |
|
| 17 |
+
| description | string | Short description of the video content |
|
| 18 |
+
| video_id | string | Unique video identifier |
|
| 19 |
|
| 20 |
## Example
|
| 21 |
|
| 22 |
| video_path | label | description | video_id |
|
| 23 |
|------------|------|-------------|----------|
|
| 24 |
| video/00019.mp4 | neutral | It's me. | 00019.mp4 |
|
|
|
|
|
|
|
| 25 |
|
| 26 |
## How to Use
|
| 27 |
|
| 28 |
```python
|
| 29 |
from datasets import load_dataset
|
| 30 |
|
| 31 |
+
dataset = load_dataset("ZebangCheng/test_hf_data", split='train')
|
| 32 |
+
print(dataset[0]['video_path']) # Path to video
|
| 33 |
print(dataset[0]['label']) # Emotion label
|
| 34 |
print(dataset[0]['description']) # Video description
|
| 35 |
print(dataset[0]['video_id']) # Video ID
|
final_dataset.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e90a662a1824ca8d9f4d2ce16e52184af16c620a9aa96d6718f8b44cdf01a677
|
| 3 |
+
size 2910
|