Add Nexar val/test annotations (749 videos, no videos redistributed)
Browse files- README.md +123 -1
- data/test.json +0 -0
- data/test.parquet +3 -0
README.md
CHANGED
|
@@ -1,3 +1,125 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: CAViAR
|
| 3 |
+
license: other
|
| 4 |
+
license_name: research-use
|
| 5 |
+
license_link: https://github.com/nec-labs-ma/CAViAR/blob/main/LICENSE
|
| 6 |
+
task_categories:
|
| 7 |
+
- visual-question-answering
|
| 8 |
+
- multiple-choice
|
| 9 |
+
- video-text-to-text
|
| 10 |
+
language:
|
| 11 |
+
- en
|
| 12 |
+
tags:
|
| 13 |
+
- accident
|
| 14 |
+
- dashcam
|
| 15 |
+
- vlm
|
| 16 |
+
- video
|
| 17 |
+
- responsibility
|
| 18 |
+
- nexar
|
| 19 |
+
size_categories:
|
| 20 |
+
- n<1K
|
| 21 |
+
configs:
|
| 22 |
+
- config_name: default
|
| 23 |
+
data_files:
|
| 24 |
+
- split: test
|
| 25 |
+
path: data/test.parquet
|
| 26 |
+
dataset_info:
|
| 27 |
+
features:
|
| 28 |
+
- name: video_path
|
| 29 |
+
dtype: string
|
| 30 |
+
- name: qa_pairs
|
| 31 |
+
list:
|
| 32 |
+
- name: answer
|
| 33 |
+
dtype: string
|
| 34 |
+
- name: benchmark
|
| 35 |
+
dtype: string
|
| 36 |
+
- name: choices
|
| 37 |
+
sequence: string
|
| 38 |
+
- name: correct_answer
|
| 39 |
+
dtype: string
|
| 40 |
+
- name: correct_index
|
| 41 |
+
dtype: int64
|
| 42 |
+
- name: question
|
| 43 |
+
dtype: string
|
| 44 |
+
splits:
|
| 45 |
+
- name: test
|
| 46 |
+
num_examples: 749
|
| 47 |
---
|
| 48 |
+
|
| 49 |
+
# CAViAR (val / test)
|
| 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.** Obtain Nexar clips under the original Nexar license; `video_path` is a filename only (e.g. `nexar_00284.mp4`).
|
| 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 |
+
|
| 57 |
+
## Load
|
| 58 |
+
|
| 59 |
+
```python
|
| 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 the GitHub file): [`data/test.json`](data/test.json).
|
| 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 | [Nexar](https://www.nexar.com/) | Held-out evaluation | Yes (annotations only) |
|
| 74 |
+
|
| 75 |
+
## Tasks
|
| 76 |
+
|
| 77 |
+
| `benchmark` | Type |
|
| 78 |
+
|-------------|------|
|
| 79 |
+
| Dense Captioning | Open |
|
| 80 |
+
| Weather & Light | MCQ |
|
| 81 |
+
| Road Conditions | MCQ |
|
| 82 |
+
| Accident Type | MCQ |
|
| 83 |
+
| Faulter Identification | Open (apparent at-fault agent) |
|
| 84 |
+
| Victim Identification | Open (affected agent) |
|
| 85 |
+
| Violation Identification | Open |
|
| 86 |
+
| Accident Reason | Open |
|
| 87 |
+
|
| 88 |
+
MCQ items include `choices`, `correct_answer`, and `correct_index`. Open-ended items leave those empty (`correct_index` = `-1`).
|
| 89 |
+
|
| 90 |
+
## Videos
|
| 91 |
+
|
| 92 |
+
Place Nexar mp4 files so names match `video_path`:
|
| 93 |
+
|
| 94 |
+
```text
|
| 95 |
+
nexar_00001.mp4
|
| 96 |
+
...
|
| 97 |
+
nexar_00284.mp4
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
Code, eval scripts, and ontology: [CAViAR GitHub](https://github.com/nec-labs-ma/CAViAR).
|
| 101 |
+
|
| 102 |
+
Example clip (`nexar_00284`, T-bone):
|
| 103 |
+
|
| 104 |
+

|
| 105 |
+
|
| 106 |
+
Source video from Nexar (Moura et al., 2025). Short collision-window preview only; the Nexar corpus is not redistributed.
|
| 107 |
+
|
| 108 |
+
## License and ethics
|
| 109 |
+
|
| 110 |
+
Annotations are for academic research on accident understanding and rule-relevant multimodal reasoning. Raw Nexar (and CCD) videos remain under their original licenses.
|
| 111 |
+
|
| 112 |
+
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.
|
| 113 |
+
|
| 114 |
+
## Citation
|
| 115 |
+
|
| 116 |
+
```bibtex
|
| 117 |
+
@article{garg2026caviar,
|
| 118 |
+
title={CAViAR: A Causal Video Dataset for Fine-Grained Accident Reasoning in Real-World Scenarios},
|
| 119 |
+
author={Garg, Sparsh and Chen, Yi-Wen and Aich, Abhishek and others},
|
| 120 |
+
journal={arXiv preprint arXiv:2608.19380},
|
| 121 |
+
year={2026}
|
| 122 |
+
}
|
| 123 |
+
```
|
| 124 |
+
|
| 125 |
+
Please also cite **Nexar** when using the val/test videos (Moura et al., 2025).
|
data/test.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/test.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0b440473b7a99df0d72bec3c4cafceedc5dc1ae3b7476c98730838e28dbacea
|
| 3 |
+
size 145727
|