Open-sourced Qwen3.5-9B fine-tune analyzes super-long videos by writing code inside a REPL

dosco · x · 2026-12-06

A new open-source project moves super-long-video analysis into a REPL: a frozen Qwen captions the entire video once with timestamps, the captions are loaded into the REPL as a Python variable, and a fine-tuned Qwen3.5-9B then writes Python to grep/search them, query a smaller VLM for follow-ups, and inspect raw frames when needed.

Training uses SFT on trajectories generated by a DeepSeek-V4.1-Flash teacher, followed by RL/GRPO where the only reward is getting the answer right.

The 9B weights, inference code, and a prebuilt memory for one benchmark are open-sourced; training code is coming later. dosco notes this is the same loop his ax agent is built on.

Original post →

More from coding & agent

coding & agent channel →