Instructions to use mlx-community/LongWriter-llama3.1-8b-6bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mlx-community/LongWriter-llama3.1-8b-6bit with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mlx-community/LongWriter-llama3.1-8b-6bit", dtype="auto") - MLX
How to use mlx-community/LongWriter-llama3.1-8b-6bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir LongWriter-llama3.1-8b-6bit mlx-community/LongWriter-llama3.1-8b-6bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
Ctrl+K