ZebangCheng commited on
Commit
f3a866b
·
1 Parent(s): 73c898a
Files changed (1) hide show
  1. README.md +13 -21
README.md CHANGED
@@ -1,19 +1,8 @@
1
  ---
2
  license: apache-2.0
3
- viewer:
4
- fields:
5
- - name: video_id
6
- type: Value
7
- - name: label
8
- type: ClassLabel
9
- - name: description
10
- type: Value
11
- - name: video_path
12
- type: Image
13
  ---
14
 
15
-
16
-
17
  # ZebangCheng/test_hf_data
18
 
19
  ## Dataset Summary
@@ -23,17 +12,18 @@ A collection of short video clips annotated with emotions, stored efficiently us
23
 
24
  | Field | Type | Description |
25
  |------|------|-------------|
26
- | video | image | Path to the video file (MP4 format) |
27
- | label | string | Emotion label, e.g., happy, sad |
28
  | description | string | Short text describing the video content |
 
29
 
30
  ## Example
31
 
32
- | video | label | description |
33
- |------|------|-------------|
34
- | video/00019.mp4 | neutral | It's me. |
35
- | video/00020.mp4 | surprise | I remember it! |
36
- | video/00021.mp4 | anger | I want go home. |
37
 
38
  ## How to Use
39
 
@@ -41,5 +31,7 @@ A collection of short video clips annotated with emotions, stored efficiently us
41
  from datasets import load_dataset
42
 
43
  dataset = load_dataset("ZebangCheng/test_hf_data")
44
- print(dataset[0]['video']) # First field example
45
- print(dataset[0]['label']) # Second field example
 
 
 
1
  ---
2
  license: apache-2.0
3
+ viewer: true
 
 
 
 
 
 
 
 
 
4
  ---
5
 
 
 
6
  # ZebangCheng/test_hf_data
7
 
8
  ## Dataset Summary
 
12
 
13
  | Field | Type | Description |
14
  |------|------|-------------|
15
+ | video_path | video | Path to the video file (MP4 format) |
16
+ | label | string | Emotion label, e.g., happy, sad, angry, fear, surprise, neutral |
17
  | description | string | Short text describing the video content |
18
+ | video_id | string | Unique video identifier (e.g., 00019.mp4) |
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
 
 
31
  from datasets import load_dataset
32
 
33
  dataset = load_dataset("ZebangCheng/test_hf_data")
34
+ print(dataset[0]['video_path']) # Video file path
35
+ print(dataset[0]['label']) # Emotion label
36
+ print(dataset[0]['description']) # Video description
37
+ print(dataset[0]['video_id']) # Video ID