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
Update: fix typo on python example
Browse files113 unmodified lines114115116117118119113 unmodified lines# We need to remove the last <|im_end|> token so that the AI continues generationprompt = prompt[::-1].replace("<|im_end|>"[::-1], "", 1)[::-1]response = generate(model, tokenizer, prompt=prompt, verbose=True, temp=0.6, max_tokens=1500)```Converted and uploaded by [eek](https://huggingface.co/eek)113 unmodified lines114115116117118119120113 unmodified lines# We need to remove the last <|im_end|> token so that the AI continues generationprompt = prompt[::-1].replace("<|im_end|>"[::-1], "", 1)[::-1]response = generate(model, tokenizer, prompt=prompt, verbose=True, temp=0.6, max_tokens=1500)```Converted and uploaded by [eek](https://huggingface.co/eek)
README.md+2-1