update new dataset hf id in the examples
Browse files
README.md
CHANGED
|
@@ -149,7 +149,7 @@ Each row in the Parquet files contains the following columns:
|
|
| 149 |
## Repository Structure
|
| 150 |
|
| 151 |
```
|
| 152 |
-
|
| 153 |
train-00000-of-XXXXX.parquet # Sharded parquet with embedded audio/video
|
| 154 |
train-00001-of-XXXXX.parquet
|
| 155 |
...
|
|
@@ -167,11 +167,11 @@ All data — including audio, video, and pre-extracted features — is fully emb
|
|
| 167 |
from datasets import load_dataset
|
| 168 |
|
| 169 |
# Stream without downloading everything
|
| 170 |
-
ds = load_dataset("
|
| 171 |
sample = next(iter(ds))
|
| 172 |
|
| 173 |
# Load a subset
|
| 174 |
-
ds_100 = load_dataset("
|
| 175 |
|
| 176 |
# Filter by task or modality
|
| 177 |
emotion_ds = ds_100.filter(lambda x: x["task"] == "emotion_cls")
|
|
@@ -201,11 +201,11 @@ if sample["videos"]:
|
|
| 201 |
|
| 202 |
```bash
|
| 203 |
# Download full dataset
|
| 204 |
-
huggingface-cli download
|
| 205 |
--repo-type dataset --local-dir /path/to/data
|
| 206 |
|
| 207 |
# Or download specific splits only
|
| 208 |
-
huggingface-cli download
|
| 209 |
--repo-type dataset --local-dir /path/to/data \
|
| 210 |
--include "train-*.parquet"
|
| 211 |
```
|
|
|
|
| 149 |
## Repository Structure
|
| 150 |
|
| 151 |
```
|
| 152 |
+
HumanBehaviorAtlas/human_behavior_atlas/
|
| 153 |
train-00000-of-XXXXX.parquet # Sharded parquet with embedded audio/video
|
| 154 |
train-00001-of-XXXXX.parquet
|
| 155 |
...
|
|
|
|
| 167 |
from datasets import load_dataset
|
| 168 |
|
| 169 |
# Stream without downloading everything
|
| 170 |
+
ds = load_dataset("HumanBehaviorAtlas/human_behavior_atlas", split="train", streaming=True)
|
| 171 |
sample = next(iter(ds))
|
| 172 |
|
| 173 |
# Load a subset
|
| 174 |
+
ds_100 = load_dataset("HumanBehaviorAtlas/human_behavior_atlas", split="train[:100]")
|
| 175 |
|
| 176 |
# Filter by task or modality
|
| 177 |
emotion_ds = ds_100.filter(lambda x: x["task"] == "emotion_cls")
|
|
|
|
| 201 |
|
| 202 |
```bash
|
| 203 |
# Download full dataset
|
| 204 |
+
huggingface-cli download HumanBehaviorAtlas/human_behavior_atlas \
|
| 205 |
--repo-type dataset --local-dir /path/to/data
|
| 206 |
|
| 207 |
# Or download specific splits only
|
| 208 |
+
huggingface-cli download HumanBehaviorAtlas/human_behavior_atlas \
|
| 209 |
--repo-type dataset --local-dir /path/to/data \
|
| 210 |
--include "train-*.parquet"
|
| 211 |
```
|