Video-Text-to-Text
Transformers
Safetensors
qwen3_5
image-text-to-text
video
temporal-grounding
timelens2
Instructions to use ZhuYuhan/TimeLens2-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZhuYuhan/TimeLens2-9B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("ZhuYuhan/TimeLens2-9B") model = AutoModelForMultimodalLM.from_pretrained("ZhuYuhan/TimeLens2-9B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from ZhuYuhan/TimeLens2-9B: direct link, hf CLI and curl.
- Browser
- Download file 1.14 kB
-
https://huggingface.co/ZhuYuhan/TimeLens2-9B/resolve/main/README.md
- Command line
-
hf download hf://ZhuYuhan/TimeLens2-9B/README.md
-
curl -L -o README.md https://huggingface.co/ZhuYuhan/TimeLens2-9B/resolve/main/README.md
1.14 kB
| library_name: transformers | |
| license: apache-2.0 | |
| base_model: Qwen/Qwen3.5-9B | |
| base_model_relation: finetune | |
| pipeline_tag: video-text-to-text | |
| tags: | |
| - video | |
| - temporal-grounding | |
| - timelens2 | |
| - arxiv:2607.17423 | |
| # TimeLens2-9B | |
| TimeLens2-9B is a video temporal grounding model based on [Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B). Given a video and a text query, it predicts the relevant time intervals in seconds. | |
| [Paper](https://arxiv.org/abs/2607.17423) · [Code & Usage](https://github.com/MCG-NJU/TimeLens2) · [Collection](https://huggingface.co/collections/MCG-NJU/timelens2) | |
| ## Benchmark Results | |
| | Benchmark | mIoU (%) | | |
| |---|---:| | |
| | Charades-STA | 60.56 | | |
| | ActivityNet Captions | 61.97 | | |
| | QVHighlights | 70.28 | | |
| | VUE-TR | 54.04 | | |
| | VUE-TR-v2 | 52.19 | | |
| | MomentSeeker | 30.23 | | |
| | Ego4D-NLQ-v2 | 22.69 | | |
| | **Average** | **50.28** | | |
| The two VUE benchmarks use the available-video subsets. The average is the unweighted mean over the seven benchmarks. | |
| For inference and evaluation, follow the official [TimeLens2 repository](https://github.com/MCG-NJU/TimeLens2) and use `ZhuYuhan/TimeLens2-9B` as the model path. | |