ForeSeek-Data / README.md
nielsr's picture
nielsr HF Staff
Add link to paper and agent tag
2f66aa4 verified
|
Raw History Blame
2.64 kB
---
language:
- en
size_categories:
- 10K<n<100K
task_categories:
- video-text-to-text
tags:
- agent
pretty_name: ForeSeek-Data
---
# ForeSeek-Data
Training data for [ForeSeek](https://github.com/harry0021/ForeSeek), a video agent that searches a long video by predicting what unseen intervals should contain, then checking those predictions.
Paper: [ForeSeek: Foresight-Driven Reasoning for Long-Form Video Understanding](https://huggingface.co/papers/2611.26024).
Weights: [Harry0021/ForeSeek](https://huggingface.co/Harry0021/ForeSeek) (`foreseek-8b`).
Code: [github.com/harry0021/ForeSeek](https://github.com/harry0021/ForeSeek).
Questions come from CG-Bench, LongVideoBench, VideoHolmes, and the academic and YouTube subsets of LLaVA-Video. Training questions were de-duplicated against the evaluation sets.
Image and video fields are relative names such as `frames/cgbench/...` and `videos/cgbench/...`. The media files themselves are not in this repository.
## Files
| File | Rows | What it is |
|---|---:|---|
| `sft/sft_merged_all_v3.jsonl` | 32,101 | SFT trajectories. 8,165 unique questions, split into a Phase-1 turn and later search rounds. |
| `rl/train_select.parquet` | 4,663 | RL prompts kept after pass@8 filtering. |
## SFT
Each line is one ShareGPT conversation (`conversations`, plus `images`, `qid`, `video_uid`, and `stage`).
`stage` is `phase1` or `unified_round_1` … `unified_round_5`. Counting unique `qid` gives 8,165 questions. The source mix of those questions is CG-Bench 35.9%, LongVideoBench 28.2%, LLaVA-Video Academic 17.0%, LLaVA-Video YouTube 15.9%, and VideoHolmes 3.0%.
The teacher writes a Phase-1 expectation from sparse frames, then an oracle trajectory that can see the answer. Failed predictions keep the recovery pattern: wrong region, `not_found`, redirect, confirm.
## RL
`rl/train_select.parquet` is the set used for GSPO. It is filtered from 10,021 pre-RL questions. The SFT policy is sampled 8 times at temperature 0.7, and a question is kept only when it is answered correctly in 1–6 of those 8 trials (4,663 questions, 46.5%).
Columns are `data_source`, `prompt`, `reward_model`, and `extra_info` (`qid`, `video_uid`, `question`, `ground_truth`, `clue_intervals`, `video_path`). The source mix is CG-Bench 48.1%, LLaVA-Video YouTube 23.1%, LLaVA-Video Academic 17.0%, VideoHolmes 6.7%, and LongVideoBench 5.1%.
## Load
```python
from datasets import load_dataset
sft = load_dataset("Harry0021/ForeSeek-Data", data_files="sft/sft_merged_all_v3.jsonl", split="train")
rl = load_dataset("Harry0021/ForeSeek-Data", data_files="rl/train_select.parquet", split="train")
```