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 special_tokens_map.json from llava-hf/LLaVA-NeXT-Video-7B-DPO-hf: direct link, hf CLI and curl.
- Browser
- Download file 552 Bytes
-
https://huggingface.co/llava-hf/LLaVA-NeXT-Video-7B-DPO-hf/resolve/7f2391e8fac7db372dbb83e6aa77ff30a4e07445/special_tokens_map.json
- Command line
-
hf download hf://llava-hf/LLaVA-NeXT-Video-7B-DPO-hf@7f2391e8fac7db372dbb83e6aa77ff30a4e07445/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/llava-hf/LLaVA-NeXT-Video-7B-DPO-hf/resolve/7f2391e8fac7db372dbb83e6aa77ff30a4e07445/special_tokens_map.json
552 Bytes
| { | |
| "bos_token": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |