|
Download README.md from shahedm2001/dataset_sft: direct link, hf CLI and curl.
- Browser
- Download file 2.38 kB
-
https://huggingface.co/datasets/shahedm2001/dataset_sft/resolve/main/README.md
- Command line
-
hf download hf://datasets/shahedm2001/dataset_sft/README.md
-
curl -L -o README.md https://huggingface.co/datasets/shahedm2001/dataset_sft/resolve/main/README.md
2.38 kB
Cataract Surgery VLM Dataset — SFT Split (Mirrored)
This folder is a mirrored SFT-only view of ../dataset/ (active dataset). Created via tools/build_separated_datasets.py (copy-only, original dataset/ untouched). Videos are hardlinked (fallback copy) into both SFT and GRPO datasets to avoid 2× storage.
Structure (SFT-only, videos mirrored)
dataset_sft/
├── Train/ Validation/ Test/
│ ├── {YT_ID}/ # YouTube corpus (108 Train / 13 Val / 15 Test folders)
│ │ ├── clip_01.mp4
│ │ ├── clip_01.jsonl # metadata (14 keys) — mirrored in both
│ │ ├── clip_01_sft.jsonl # SFT: 4 lines (1 description + 3 MCQ, old prompt)
│ │ └── full_video.mp4 + full_video_sft.jsonl # full-video narration (SFT only)
│ ├── PH_*/ # Phase corpus (105 Train / 22 Val / 23 Test folders)
│ │ ├── clip_02.mp4
│ │ ├── clip_02.jsonl # 32 keys inc. phase_id — mirrored
│ │ └── clip_02_sft.jsonl # 1 line teacher/critic description
│ └── ...
├── grpo_procedure_split_map.json
└── README.md
Not included: *_grpo.jsonl (see ../dataset_grpo/), archived/, grpo_archived/ (still only in ../dataset/).
Counts (active, no archived)
| Split | Folders | Clip MP4 | Full Video | Clip SFT files | Full SFT | Videos total |
|---|---|---|---|---|---|---|
| Train | 213 | 2,066 | 108 | 2,066 | 108 | 2,174 |
| Val | 35 | 265 | 13 | 265 | 13 | 278 |
| Test | 38 | 293 | 15 | 293 | 15 | 308 |
| Total | 286 | 2,624 | 136 | 2,624 | 136 | 2,760 |
- SFT
clip_*_sft.jsonlper clip: 1× description (Describe what is happening...) + 3× MCQ with old promptProvide your reasoning first, then state your answer.→ assistantreference_reasoning + " Therefore the answer is X) ...". - GRPO files intentionally absent here.
Pipeline
Future runs with config.yaml: directories.dataset_sft produce this layout; dataset_formatter SFT still uses old prompt (GRPO uses new JSON). Merge step tools/merge_dataset.py with --out-sft/--out-grpo mirrors videos to both.
Restore
dataset/ remains canonical. To rebuild: python -m video_pipeline.tools.build_separated_datasets (or via pipeline cli.py step merge).