File size: 1,906 Bytes
3d032cc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | ---
dataset_info:
features:
- name: text
dtype: string
- name: video
dtype: string
- name: hard_negative_texts
list: string
- name: hard_negative_videos
list: string
splits:
- name: train
num_bytes: 956287081
num_examples: 2700
download_size: 956287081
dataset_size: 956287081
configs:
- config_name: default
data_files:
- split: train
path: metadata.parquet
---
# Physics Bench Solid With Hard Negatives
Repository: `gowitheflowlab/physics-bench-solid-w-hardnegs`
Source dataset: `gowitheflowlab/physics-bench-solid-train-2700`
This repository follows the path-based layout of `gowitheflowlab/physics-bench-optics-w-hardnegs`.
- rows: 2700
- metadata columns: `text`, `video`, `hard_negative_texts`, `hard_negative_videos`
- positive text: query 1 (`__query_1`) from the source case
- hard negatives per row: 5
- video paths: repository-relative `videos/<family>/<case_id>.mp4`
- list alignment: `hard_negative_texts[i]` and `hard_negative_videos[i]` come from the same case
- candidate pool: only the other 99 cases in the positive case's family
## Reproducibility
- global seed: 42
- traversal: family alphabetical order, then case_id order
- sampling: one `random.Random(42)` stream for all 2700 rows
- selection: `random.sample(sorted(other_99_case_ids), 5)`
## Loading
```python
from pathlib import Path
import pyarrow.parquet as pq
from huggingface_hub import snapshot_download
root = Path(snapshot_download("gowitheflowlab/physics-bench-solid-w-hardnegs", repo_type="dataset"))
rows = pq.read_table(root / "metadata.parquet").to_pylist()
row = rows[0]
positive_video = root / row["video"]
negative_videos = [root / path for path in row["hard_negative_videos"]]
```
The training metadata intentionally contains only the four retrieval columns. Case IDs and query IDs are retained in `source_metadata/sampling_manifest.json` for auditing.
|