Anonymous Authors commited on
Commit ·
d7def6c
1
Parent(s): a42f5a0
Configure dataset viewer table
Browse files- README.md +29 -1
- train.jsonl +0 -0
README.md
CHANGED
|
@@ -10,6 +10,11 @@ tags:
|
|
| 10 |
- social-simulation
|
| 11 |
- visual-social-intelligence
|
| 12 |
- multi-agent-simulation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# AgentViSS Dataset
|
|
@@ -23,6 +28,7 @@ Simulation**.
|
|
| 23 |
```text
|
| 24 |
.
|
| 25 |
+-- README.md
|
|
|
|
| 26 |
+-- data.json
|
| 27 |
+-- images/
|
| 28 |
+-- scenario_001/
|
|
@@ -33,7 +39,9 @@ Simulation**.
|
|
| 33 |
+-- ...
|
| 34 |
```
|
| 35 |
|
| 36 |
-
- `
|
|
|
|
|
|
|
| 37 |
- `images/` contains all image assets referenced by `data.json`.
|
| 38 |
- Image paths in `data.json` are package-relative. Resolve them from the
|
| 39 |
dataset repository root.
|
|
@@ -45,6 +53,10 @@ Simulation**.
|
|
| 45 |
Each record includes an anonymized scenario id, dialogue type, conflict level,
|
| 46 |
characters, role-level information, goals, emotions, and image paths.
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
Important image fields:
|
| 49 |
|
| 50 |
- `group_image_labeled`: path to the scenario-level group image.
|
|
@@ -85,6 +97,22 @@ records = json.loads((root / "data.json").read_text(encoding="utf-8"))
|
|
| 85 |
first_group_image = root / records[0]["group_image_labeled"]
|
| 86 |
```
|
| 87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
You can also clone the repository:
|
| 89 |
|
| 90 |
```bash
|
|
|
|
| 10 |
- social-simulation
|
| 11 |
- visual-social-intelligence
|
| 12 |
- multi-agent-simulation
|
| 13 |
+
configs:
|
| 14 |
+
- config_name: default
|
| 15 |
+
data_files:
|
| 16 |
+
- split: train
|
| 17 |
+
path: train.jsonl
|
| 18 |
---
|
| 19 |
|
| 20 |
# AgentViSS Dataset
|
|
|
|
| 28 |
```text
|
| 29 |
.
|
| 30 |
+-- README.md
|
| 31 |
+
+-- train.jsonl
|
| 32 |
+-- data.json
|
| 33 |
+-- images/
|
| 34 |
+-- scenario_001/
|
|
|
|
| 39 |
+-- ...
|
| 40 |
```
|
| 41 |
|
| 42 |
+
- `train.jsonl` is a viewer-friendly table with 240 AgentViSS records. It
|
| 43 |
+
exposes key fields from `data.json` and keeps image path columns at the end.
|
| 44 |
+
- `data.json` contains the canonical full records.
|
| 45 |
- `images/` contains all image assets referenced by `data.json`.
|
| 46 |
- Image paths in `data.json` are package-relative. Resolve them from the
|
| 47 |
dataset repository root.
|
|
|
|
| 53 |
Each record includes an anonymized scenario id, dialogue type, conflict level,
|
| 54 |
characters, role-level information, goals, emotions, and image paths.
|
| 55 |
|
| 56 |
+
The Hugging Face Dataset Viewer is configured to read `train.jsonl` rather than
|
| 57 |
+
the raw `images/` directory. This keeps the viewer organized around the 240
|
| 58 |
+
scenario records instead of displaying the 282 image files as separate rows.
|
| 59 |
+
|
| 60 |
Important image fields:
|
| 61 |
|
| 62 |
- `group_image_labeled`: path to the scenario-level group image.
|
|
|
|
| 97 |
first_group_image = root / records[0]["group_image_labeled"]
|
| 98 |
```
|
| 99 |
|
| 100 |
+
For the flattened viewer table:
|
| 101 |
+
|
| 102 |
+
```python
|
| 103 |
+
import json
|
| 104 |
+
from pathlib import Path
|
| 105 |
+
from huggingface_hub import snapshot_download
|
| 106 |
+
|
| 107 |
+
root = Path(snapshot_download(
|
| 108 |
+
repo_id="JunsWan/AgentViSS",
|
| 109 |
+
repo_type="dataset",
|
| 110 |
+
))
|
| 111 |
+
|
| 112 |
+
with (root / "train.jsonl").open(encoding="utf-8") as f:
|
| 113 |
+
rows = [json.loads(line) for line in f]
|
| 114 |
+
```
|
| 115 |
+
|
| 116 |
You can also clone the repository:
|
| 117 |
|
| 118 |
```bash
|
train.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|