Instructions to use mlx-community/nanoLLaVA-1.5-3bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/nanoLLaVA-1.5-3bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/nanoLLaVA-1.5-3bit --local-dir nanoLLaVA-1.5-3bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download tokenizer_config.json from mlx-community/nanoLLaVA-1.5-3bit: direct link, hf CLI and curl.
- Browser
- Download file 1.35 kB
-
https://huggingface.co/mlx-community/nanoLLaVA-1.5-3bit/resolve/5effde44a05aa2e3a42d20c6fdddceafe606819b/tokenizer_config.json
- Command line
-
hf download hf://mlx-community/nanoLLaVA-1.5-3bit@5effde44a05aa2e3a42d20c6fdddceafe606819b/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/mlx-community/nanoLLaVA-1.5-3bit/resolve/5effde44a05aa2e3a42d20c6fdddceafe606819b/tokenizer_config.json
1.35 kB
| { | |
| "add_prefix_space": false, | |
| "added_tokens_decoder": { | |
| "151643": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "151644": { | |
| "content": "<|im_start|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "151645": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "additional_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>" | |
| ], | |
| "bos_token": "<|im_end|>", | |
| "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nAnswer the questions.<|im_end|>' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|im_end|>", | |
| "errors": "replace", | |
| "extra_special_tokens": {}, | |
| "model_max_length": 4096, | |
| "pad_token": "<|endoftext|>", | |
| "padding_side": "right", | |
| "split_special_tokens": false, | |
| "tokenizer_class": "Qwen2Tokenizer", | |
| "unk_token": null | |
| } | |