Instructions to use llava-hf/LLaVA-NeXT-Video-7B-DPO-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use llava-hf/LLaVA-NeXT-Video-7B-DPO-hf with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("llava-hf/LLaVA-NeXT-Video-7B-DPO-hf") model = AutoModelForMultimodalLM.from_pretrained("llava-hf/LLaVA-NeXT-Video-7B-DPO-hf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from llava-hf/LLaVA-NeXT-Video-7B-DPO-hf: direct link, hf CLI and curl.
- Browser
- Download file 1.84 MB
-
https://huggingface.co/llava-hf/LLaVA-NeXT-Video-7B-DPO-hf/resolve/main/tokenizer.json
- Command line
-
hf download hf://llava-hf/LLaVA-NeXT-Video-7B-DPO-hf/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/llava-hf/LLaVA-NeXT-Video-7B-DPO-hf/resolve/main/tokenizer.json
1.84 MB
File too large to display, you can check the raw version instead.