Use numeric Nexar video ids; document nexar-ai/nexar_collision_prediction as video source
Browse files- README.md +32 -15
- data/test.json +0 -0
- data/test.parquet +2 -2
README.md
CHANGED
|
@@ -50,7 +50,9 @@ dataset_info:
|
|
| 50 |
|
| 51 |
**Causal Accident Video and Incident Analysis Repository** — Nexar validation/test annotations.
|
| 52 |
|
| 53 |
-
This Hub dataset mirrors the public val/test split from [github.com/nec-labs-ma/CAViAR](https://github.com/nec-labs-ma/CAViAR): **749 videos**, **7,407 QA pairs**. **Videos are not included.**
|
|
|
|
|
|
|
| 54 |
|
| 55 |
Paper: *CAViAR: A Causal Video Dataset for Fine-Grained Accident Reasoning in Real-World Scenarios* ([arXiv:2608.19380](https://arxiv.org/abs/2608.19380)).
|
| 56 |
|
|
@@ -60,17 +62,17 @@ Paper: *CAViAR: A Causal Video Dataset for Fine-Grained Accident Reasoning in Re
|
|
| 60 |
from datasets import load_dataset
|
| 61 |
|
| 62 |
ds = load_dataset("sparshgarg57/CAViAR", split="test")
|
| 63 |
-
print(ds[0]["video_path"], len(ds[0]["qa_pairs"]))
|
| 64 |
```
|
| 65 |
|
| 66 |
-
Canonical JSON (same as
|
| 67 |
|
| 68 |
## Split
|
| 69 |
|
| 70 |
| Split | Source | Role | Released here |
|
| 71 |
|-------|--------|------|----------------|
|
| 72 |
| Train | [CCD](https://github.com/Cogito2012/CarCrashDataset) | Fine-tuning | No |
|
| 73 |
-
| Val / test | [
|
| 74 |
|
| 75 |
## Tasks
|
| 76 |
|
|
@@ -89,25 +91,28 @@ MCQ items include `choices`, `correct_answer`, and `correct_index`. Open-ended i
|
|
| 89 |
|
| 90 |
## Videos
|
| 91 |
|
| 92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
|
| 94 |
-
```
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
nexar_00284.mp4
|
| 98 |
```
|
| 99 |
|
| 100 |
-
|
| 101 |
|
| 102 |
-
Example clip (`
|
| 103 |
|
| 104 |
-
: **749 videos**, **7,407 QA pairs**. **Videos are not included.**
|
| 54 |
+
|
| 55 |
+
`video_path` is the **numeric Nexar clip id** (e.g. `00284`). Source videos: [nexar-ai/nexar_collision_prediction](https://huggingface.co/datasets/nexar-ai/nexar_collision_prediction) (`{id}.mp4` under `train/` / `test-public/` / `test-private/`).
|
| 56 |
|
| 57 |
Paper: *CAViAR: A Causal Video Dataset for Fine-Grained Accident Reasoning in Real-World Scenarios* ([arXiv:2608.19380](https://arxiv.org/abs/2608.19380)).
|
| 58 |
|
|
|
|
| 62 |
from datasets import load_dataset
|
| 63 |
|
| 64 |
ds = load_dataset("sparshgarg57/CAViAR", split="test")
|
| 65 |
+
print(ds[0]["video_path"], len(ds[0]["qa_pairs"])) # e.g. "00776", 10
|
| 66 |
```
|
| 67 |
|
| 68 |
+
Canonical JSON (same as GitHub): [`data/test.json`](data/test.json).
|
| 69 |
|
| 70 |
## Split
|
| 71 |
|
| 72 |
| Split | Source | Role | Released here |
|
| 73 |
|-------|--------|------|----------------|
|
| 74 |
| Train | [CCD](https://github.com/Cogito2012/CarCrashDataset) | Fine-tuning | No |
|
| 75 |
+
| Val / test | [nexar-ai/nexar_collision_prediction](https://huggingface.co/datasets/nexar-ai/nexar_collision_prediction) | Held-out evaluation | Yes (annotations only) |
|
| 76 |
|
| 77 |
## Tasks
|
| 78 |
|
|
|
|
| 91 |
|
| 92 |
## Videos
|
| 93 |
|
| 94 |
+
Download from [nexar-ai/nexar_collision_prediction](https://huggingface.co/datasets/nexar-ai/nexar_collision_prediction) (Nexar Open Data License). Join on id:
|
| 95 |
+
|
| 96 |
+
| CAViAR `video_path` | Nexar file |
|
| 97 |
+
|---------------------|------------|
|
| 98 |
+
| `00284` | `00284.mp4` |
|
| 99 |
|
| 100 |
+
```bash
|
| 101 |
+
huggingface-cli download nexar-ai/nexar_collision_prediction --repo-type dataset --local-dir /path/to/nexar_collision_prediction
|
| 102 |
+
export CAVIAR_VIDEO_ROOT=/path/to/nexar_collision_prediction
|
|
|
|
| 103 |
```
|
| 104 |
|
| 105 |
+
Eval scripts search `train/`, `test-public/`, and `test-private/` for `{id}.mp4`. Code: [CAViAR GitHub](https://github.com/nec-labs-ma/CAViAR).
|
| 106 |
|
| 107 |
+
Example clip (`00284`, T-bone):
|
| 108 |
|
| 109 |
+

|
| 110 |
|
| 111 |
+
Short collision-window preview only; the Nexar corpus is not redistributed here.
|
| 112 |
|
| 113 |
## License and ethics
|
| 114 |
|
| 115 |
+
Annotations are for academic research on accident understanding and rule-relevant multimodal reasoning. Raw Nexar videos remain under the [Nexar Open Data License](https://huggingface.co/datasets/nexar-ai/nexar_collision_prediction); CCD videos remain under their original license.
|
| 116 |
|
| 117 |
Labels are *apparent* responsibility cues from video evidence. They are **not** legal determinations of liability and must not be used for adjudication, insurance, enforcement, or decisions about identifiable individuals.
|
| 118 |
|
|
|
|
| 127 |
}
|
| 128 |
```
|
| 129 |
|
| 130 |
+
Please also cite **Nexar** when using the val/test videos:
|
| 131 |
+
|
| 132 |
+
```bibtex
|
| 133 |
+
@misc{nexar2025dashcamcollisionprediction,
|
| 134 |
+
title={Nexar Dashcam Collision Prediction Dataset and Challenge},
|
| 135 |
+
author={Daniel C. Moura and Shizhan Zhu and Orly Zvitia},
|
| 136 |
+
year={2025},
|
| 137 |
+
eprint={2503.03848},
|
| 138 |
+
archivePrefix={arXiv},
|
| 139 |
+
primaryClass={cs.CV},
|
| 140 |
+
url={https://arxiv.org/abs/2503.03848}
|
| 141 |
+
}
|
| 142 |
+
```
|
data/test.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/test.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:df723dec5a4d7ff28a53d2b2cf0a415f25c97deef463980dfe0a004cb12d42b2
|
| 3 |
+
size 144965
|