datasets
Validate and troubleshoot InternVideo dataset layouts, annotation schemas, and data-readiness across generations.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- datasets
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Validate and troubleshoot InternVideo dataset layouts, annotation schemas, and data-readiness across generations.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/data-formats.md7.5 KB
- 参考文档references/troubleshooting.md4.2 KB
- 脚本scripts/validate_internvideo_annotations.py28.8 KB
03 SKILL.md 正文
InternVideo datasets operating skill
Use this sub-skill when the task is about InternVid, instruction data, InternVideo2/3/Next dataset preparation, annotation JSON/JSONL/list schemas, path readiness, benchmark data caveats, or safe preflight validation before training/evaluation.
Read order
references/data-formats.mdto identify the expected format for the target generation and workflow.- Run
scripts/validate_internvideo_annotations.py --helpand then validate the user's annotation file(s) with the closest format mode. references/troubleshooting.mdwhen a loader reports missing files, empty datasets, placeholder/token-count assertions, shared-memory/cache failures, or benchmark-data gaps.
Safe validation workflow
- Identify workflow: InternVid search metadata, InternVideo2 single-modality list, InternVideo2 multi-modality JSON, InternVideo3 SFT meta/JSONL, InternVideo-Next pretraining list, or benchmark/evaluation data.
- Validate syntax and schema first with the bundled script. Use
--check-pathsonly when the user wants local path existence checks and has provided the relevant--media-root. - Report counts, errors, warnings, and any assumptions. Do not download datasets or touch object storage without approval.
- Hand off validated data facts to the requesting sub-skill (
video-mllm,next-pretraining,single-modality, ormulti-modality).
Bundled validator examples
python scripts/validate_internvideo_annotations.py \
--format internvideo3-meta <annotation-meta.json> --follow-meta --max-records 100
python scripts/validate_internvideo_annotations.py \
--format internvideo2-json <annotations.json> --expect-media-type video --media-root <media-root> --check-paths
python scripts/validate_internvideo_annotations.py \
--format pretrain-list <pretraining-list.txt> --media-root <media-root> --check-paths
Resolve scripts/validate_internvideo_annotations.py relative to this datasets sub-skill directory when copying the generated skill into another environment. The script itself has no dependency on the original repository checkout.
Guardrails
- Treat public dataset names as identifiers, not proof that data are present locally.
- YouTube-derived datasets can have dead/missing videos; validation should distinguish annotation syntax from media availability.
- Do not assume JSON and JSONL are interchangeable: InternVideo2 loaders commonly use JSON arrays, while InternVideo3 SFT uses JSONL.
- Do not classify full benchmark acquisition, checkpoint download, or video decoding of large corpora as required static verification.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).