{"slug": "lessons-from-building-a-video-captioning-de-identification-pipeline-with-qwen-3", "title": "Lessons from building a video captioning + de-identification pipeline with Qwen, Gemini, SAM 3.1, and CVAT", "summary": "A team building a video captioning and de-identification pipeline for training data found that assigning one model multiple reviewer roles does not produce independent review: with Qwen 3.5 9B handling both generation and review, a bounding box at IoU 0.36 received full marks from both roles, prompting the team to move review to a separate model. In the write-up, the team reports that in a 73.7-second end-to-end run, generation took 3.4 seconds and review 11.6 seconds, with about 80% of the time spent registering data in the annotation tool, and that a 0.8B model failed the JSON schema on every review attempt, leading the team to reject malformed responses rather than repair them. The pipeline uses Qwen 3.6 35B A3B for Korean captions, Gemini 3.5 Flash for review, SAM 3.1 for mask tracking, and two human reviewers in a CVAT-based UI, with the caveat that most figures come from small synthetic test sets.", "body_md": "We wrote up how we built a video captioning + de-identification pipeline for training data, and what broke along the way.\n\nSetup: Qwen 3.6 35B A3B generates Korean captions, Gemini 3.5 Flash reviews them, SAM 3.1 tracks masks for de-identification, and two different people review every item in a CVAT-based UI before anything is exported.\n\nA few things we learned:\n\n- Giving one model several “reviewer roles” is not independent review. With Qwen 3.5 9B doing both generation and review, a bounding box at IoU 0.36 got full marks from both roles. We moved review to a different model.\n- A 0.8B model failed the JSON schema on every review attempt. We reject malformed responses instead of repairing them, which made failures much easier to diagnose.\n- Models were not the bottleneck. In a 73.7 s end-to-end run, generation took 3.4 s and review 11.6 s. About 80% went to registering data in the annotation tool.\n- We keep timecodes out of the model output. A VLM only sees sampled frames, so the program and humans own the timing.\n\nCaveat: most numbers come from small synthetic test sets. They show the process works, not model quality or throughput.\n\nFull write-up with workflow diagrams, failure cases, and system architecture:", "url": "https://wpnews.pro/news/lessons-from-building-a-video-captioning-de-identification-pipeline-with-qwen-3", "canonical_source": "https://discuss.huggingface.co/t/lessons-from-building-a-video-captioning-de-identification-pipeline-with-qwen-gemini-sam-3-1-and-cvat/192718#post_1", "published_at": "2026-11-27 08:32:57+00:00", "updated_at": "2026-11-27 08:44:20.515559+00:00", "lang": "en", "topics": ["artificial-intelligence", "large-language-models", "computer-vision", "ai-tools"], "entities": ["Qwen", "Gemini", "SAM 3.1", "CVAT", "Qwen 3.6 35B A3B", "Gemini 3.5 Flash", "Qwen 3.5 9B"], "also_reported_by": [], "takeaway": "Use a different model for review than for generation — Qwen 3.5 9B grading its own output gave full marks to a box at IoU 0.36 — and reject malformed JSON schema responses instead of repairing them, since a 0.8B model failed every attempt.", "recommendation": {"advice": "Route review to a separate model from the one that generated the output, and reject schema-invalid responses rather than repairing them so failures stay diagnosable.", "playbook": "evals-testing", "playbook_url": "https://wpnews.pro/playbooks/evals-testing"}, "alternates": {"html": "https://wpnews.pro/news/lessons-from-building-a-video-captioning-de-identification-pipeline-with-qwen-3", "markdown": "https://wpnews.pro/news/lessons-from-building-a-video-captioning-de-identification-pipeline-with-qwen-3.md", "text": "https://wpnews.pro/news/lessons-from-building-a-video-captioning-de-identification-pipeline-with-qwen-3.txt", "jsonld": "https://wpnews.pro/news/lessons-from-building-a-video-captioning-de-identification-pipeline-with-qwen-3.jsonld"}}