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 generation_config.json from ZhuYuhan/TimeLens2-9B: direct link, hf CLI and curl.
- Browser
- Download file 164 Bytes
-
https://huggingface.co/ZhuYuhan/TimeLens2-9B/resolve/main/generation_config.json
- Command line
-
hf download hf://ZhuYuhan/TimeLens2-9B/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/ZhuYuhan/TimeLens2-9B/resolve/main/generation_config.json
164 Bytes
| { | |
| "_from_model_config": true, | |
| "eos_token_id": [ | |
| 248046, | |
| 248044 | |
| ], | |
| "pad_token_id": 248044, | |
| "transformers_version": "5.14.1", | |
| "use_cache": true | |
| } | |