Instructions to use longvideotool/LongVT-RFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use longvideotool/LongVT-RFT with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("longvideotool/LongVT-RFT") model = AutoModelForMultimodalLM.from_pretrained("longvideotool/LongVT-RFT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from longvideotool/LongVT-RFT: direct link, hf CLI and curl.
- Browser
- Download file 121 Bytes
-
https://huggingface.co/longvideotool/LongVT-RFT/resolve/main/generation_config.json
- Command line
-
hf download hf://longvideotool/LongVT-RFT/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/longvideotool/LongVT-RFT/resolve/main/generation_config.json
121 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 151643, | |
| "eos_token_id": 151645, | |
| "transformers_version": "4.57.1" | |
| } | |