Instructions to use d-shlenskii/VideoLLava-demo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use d-shlenskii/VideoLLava-demo with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("d-shlenskii/VideoLLava-demo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from d-shlenskii/VideoLLava-demo: direct link, hf CLI and curl.
- Browser
- Download file 498 Bytes
-
https://huggingface.co/d-shlenskii/VideoLLava-demo/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://d-shlenskii/VideoLLava-demo/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/d-shlenskii/VideoLLava-demo/resolve/main/special_tokens_map.json
498 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>", | |
| "<img>", | |
| "</img>", | |
| "<IMG_CONTEXT>", | |
| "<quad>", | |
| "</quad>", | |
| "<ref>", | |
| "</ref>", | |
| "<box>", | |
| "</box>" | |
| ], | |
| "eos_token": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |