cd /news/artificial-intelligence/lessons-from-building-a-video-captio… · home › topics › artificial-intelligence › article
[ARTICLE · art-177162] src=discuss.huggingface.co ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

Lessons from building a video captioning + de-identification pipeline with Qwen, Gemini, SAM 3.1, and CVAT

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.

recommendation

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.

more in playbook: Evals and testing for LLM apps
read1 min views2 publishedNov 27, 2026

We wrote up how we built a video captioning + de-identification pipeline for training data, and what broke along the way.

Setup: 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.

A few things we learned:

  • 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.
  • 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.
  • 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.
  • We keep timecodes out of the model output. A VLM only sees sampled frames, so the program and humans own the timing.

Caveat: most numbers come from small synthetic test sets. They show the process works, not model quality or throughput.

Full write-up with workflow diagrams, failure cases, and system architecture:

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @qwen 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/lessons-from-buildin…] indexed:0 read:1min 2026-11-27 · —