Instructions to use Apryle/AVTime-RL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Apryle/AVTime-RL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="Apryle/AVTime-RL")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Apryle/AVTime-RL") model = AutoModelForMultimodalLM.from_pretrained("Apryle/AVTime-RL", device_map="auto") - Notebooks
- Google Colab
- Kaggle
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-to-audio", model="Apryle/AVTime-RL")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM
processor = AutoProcessor.from_pretrained("Apryle/AVTime-RL")
model = AutoModelForMultimodalLM.from_pretrained("Apryle/AVTime-RL", device_map="auto")AVTime-RL
This revision of AVTime-RL replaces the 2026-08-11 weights (kept under the tag v1-2026-08-11). AVTime-RL is a merged bf16 checkpoint that continues the first AVTime-RL release. One set of weights covers both time-aware event captioning of complete audio-videos (AVTime-Bench / LongVALE style, percentage timestamps) and structured multi-scene audio-visual dense captioning (OmniDCBench / TimeChat-Captioner style, JSON with MM:SS timestamps). The behaviour is selected by the prompt.
Checkpoint
| Field | Value |
|---|---|
| Architecture | Qwen3OmniMoeForConditionalGeneration |
| Precision | bfloat16 |
| Serialization | 15 safetensors shards, about 66 GB |
| Adapters | none (fully merged) |
| Release date | 2026-11-15 |
AVTime-Bench
300 held-out AVTime-Bench videos, canonical target protocol of benchmark/run_avtime_bench.sh (frozen train prompt, greedy, 8,192 tokens, official Qwen media mode), official adjacent-caption merge, caption-only judge and deterministic 3x2 scorer. Scores x100.
| Model | Judge | T2E-A | T2E-V | E2T-A | E2T-V | E2E-A | E2E-V |
|---|---|---|---|---|---|---|---|
| Qwen3-Omni-30B-A3B-Instruct (zero-shot) | Qwen3.6-27B | 6.4 | 17.1 | 2.9 | 4.0 | 28.3 | 29.7 |
AVTime-RL (previous release, 2026-08-11, tag v1-2026-08-11) |
Qwen3.6-27B | 27.7 | 43.2 | 21.6 | 22.6 | 57.5 | 55.2 |
AVTime-RL (previous release, 2026-08-11, tag v1-2026-08-11) |
MiMo-V2.6-Flash | 30.1 | 42.4 | 22.0 | 24.0 | 51.3 | 50.9 |
| AVTime-RL (this model) | Qwen3.6-27B | 30.2 | 49.6 | 27.1 | 29.0 | 63.8 | 63.9 |
| AVTime-RL (this model) | MiMo-V2.6-Flash | 33.4 | 48.3 | 28.6 | 31.3 | 59.9 | 58.6 |
- The query set is a reconstruction (5,387 queries,
scripts/avt_rebuild_manifest.py): the privatebenchmark_reference_manifest.jsonlwas not available. Audio-branch applicability uses a keyword rule and every E2E reference relation is "overlap", so E2E is of limited value. Numbers are comparable across rows of this table only, not with numbers computed on the private manifest. - Paired per-query differences to the previous AVTime-RL release (mean +- s.e.), Qwen3.6 judge: T2E-A +2.5+-1.3, T2E-V +6.4+-1.2, E2T-A +5.5+-1.0, E2T-V +6.3+-1.0, E2E-A +6.3+-1.9, E2E-V +8.7+-1.8. MiMo judge: T2E-A +3.3+-1.2, T2E-V +5.9+-1.0, E2T-A +6.6+-1.0, E2T-V +7.2+-1.0, E2E-A +8.6+-2.0, E2E-V +7.7+-1.9.
- On the 985 queries that come from a sample of the official query set (50 of the 300 videos; E2T exact, T2E time points approximated), Qwen3.6 judge, T2E-A / T2E-V / E2T-A / E2T-V: previous release 29.9 / 38.4 / 20.6 / 22.2, this model 31.9 / 47.6 / 28.0 / 27.5 (paired: T2E-A +2.0+-2.8, T2E-V +9.2+-2.7, E2T-A +7.4+-2.4, E2T-V +5.3+-2.4). E2E is not reported on this subset because its reference relations could not be recovered.
- Zero-shot Qwen3-Omni-30B-A3B-Instruct: 18 of 300 videos yield no valid event line under this protocol.
OmniDCBench
All 1,122 OmniDCBench clips, one inference pass per clip. SodaM is computed with the released scorer after fixing a stale-variable bug (eval_sodam.py line 1819 gives every predicted segment the same timestamp); judges are local models, not Gemini. Scores x100.
| Model | SodaM (MiMo-V2.6-Flash) | SodaM (Gemma-4-31B) | SodaM (Qwen3.8-27B (thinking off)) | F1 | mIoU |
|---|---|---|---|---|---|
| TimeChat-Captioner-GRPO-7B (official example output) | 32.4 | 35.4 | 41.5 | 61.2 | 69.6 |
| AVTime-RL (this model) | 38.9 | 42.4 | 51.4 | 60.3 | 69.3 |
- The paper reports SodaM 35.0 for TimeChat-Captioner-GRPO-7B with a Gemini-2.5-Flash judge.
- Output validity of this model: see
eval/omnidc_output_stats.txt(invalid JSON, repeated sentences, words per clip).
Usage
The model keeps two prompt-selected behaviours. Use the exact prompts below; provide video with its audio track.
Timestamped event captions (AVTime / LongVALE style)
system: You are Qwen3-Omni-Instruct for LongVALE temporal event captioning. Given one complete video, output timestamped event captions directly. Do not think aloud. Do not output JSON, markdown, bullets, or explanations.
user: <video>
Identify and caption all salient events in the complete video. Use the exact format below, one event per line:
From XX to YY, caption
XX and YY are integer percentages from 00 to 99 of the original video duration. Use concise captions. Do not output anything except these lines.
Decoding: greedy (temperature 0), max 8,192 new tokens, fps_max_frames 128, video_max_pixels 100352, audio from the video.
Structured multi-scene captions (OmniDCBench / TimeChat-Captioner style)
system: You are Qwen3-Omni-Instruct for structured multi-scene audio-visual captioning. Output only the JSON array of timestamped scene descriptions.
user: <video>
Thoroughly describe everything in the video, capturing every detail. Include as much information from the audio as possible, and ensure that the descriptions of both audio and video are well-coordinated.
Decoding: sampling, temperature 1.0, top_p 0.9, repetition_penalty 1.03, max 12,000 new tokens, fps_max_frames 160, video_max_pixels 100352; greedy decoding is not recommended (it can loop).
The output is a JSON array; every element has timestamp (MM:SS-MM:SS), segment_detail_caption, camera_state, video_background, storyline, shooting_style, speech_content and acoustics_content.
Training
- Start: the first AVTime-RL release of 2026-08-11 (SFT + BiTSC GRPO on Qwen3-Omni-30B-A3B-Instruct).
- LoRA SFT on TimeChatCap-42K (39,956 clips, one epoch), merged.
- Self-distillation for detailed structured captions: 2,978 clips whose targets merge the annotation with two sampled model outputs and are de-duplicated by an LLM (speech from the annotation only); 186 steps, merged.
- Two rounds that mix these distillation rows with replay rows (the first release's own outputs on 1,083 AVTime training videos); 169 and 190 steps, merged.
- Joint SFT on ground truth, two rounds: (1) 4,660 AVTime training videos (up to 10 min) with their event annotations (frozen AVTime-Bench prompt,
From XX to YY, captionlines) + the 2,978 distillation rows, 238 steps; (2) 4,010 of these videos (up to 5 min) + the distillation rows, 218 steps. Merged after each round. Every stage: LoRA r64 / alpha 128 on all linear layers of the thinker LLM, lr 3e-5, global batch 32.
Limitations
- The LongVALE results reported for the 2026-08-11 release (Omni-TVG, Omni-SC, DVC) were NOT re-measured for this revision; the grounding and segment-captioning prompts were not part of the continued training, so those abilities may have changed. Use the tag
v1-2026-08-11to reproduce them. - Research checkpoint, not a safety-validated production system. Timestamps and captions can be wrong, especially for subtle audio events and very long videos.
- OmniDCBench numbers use one sampling seed; structured captions are about 1,650 words per 60 s clip.
- The checkpoint contains no benchmark or training media or annotations. Users must comply with the terms of the base model and of the datasets used.
- Downloads last month
- 4
Model tree for Apryle/AVTime-RL
Base model
Qwen/Qwen3-Omni-30B-A3B-Instruct
# Gated model: Login with a HF token with gated access permission hf auth login