Instructions to use mlx-community/dbrx-instruct-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/dbrx-instruct-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/dbrx-instruct-4bit --local-dir dbrx-instruct-4bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
add chat_template
Browse filesI am guessing, it needs chat_template in order to handle chat properly
45 unmodified lines46474849505145 unmodified linesnull]},"bos_token": "<|endoftext|>","clean_up_tokenization_spaces": true,"encoding_name": null,45 unmodified lines4647484950515245 unmodified linesnull]},"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}","bos_token": "<|endoftext|>","clean_up_tokenization_spaces": true,"encoding_name": null,
tokenizer_config.json+1