Instructions to use dgomes03/Mistral-7B-Instruct-v0.3-mixed-6-8-bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use dgomes03/Mistral-7B-Instruct-v0.3-mixed-6-8-bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("dgomes03/Mistral-7B-Instruct-v0.3-mixed-6-8-bit") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use dgomes03/Mistral-7B-Instruct-v0.3-mixed-6-8-bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "dgomes03/Mistral-7B-Instruct-v0.3-mixed-6-8-bit" --prompt "Once upon a time"
Mistral-7B-Instruct-v0.3 quantized with mixed precision: This is a Mistral-7B-Instruct model where the embedding layer and output (head) layer are quantized to 8-bit precision, while the rest of the model uses 6-bit quantization. This mixed-precision approach aims to balance model size and inference speed with improved precision in critical layers.
- Downloads last month
- 5
Model size
7B params
Tensor type
BF16
·
U32 ·
Hardware compatibility
Log In to add your hardware
Quantized
Model tree for dgomes03/Mistral-7B-Instruct-v0.3-mixed-6-8-bit
Base model
mistralai/Mistral-7B-v0.3 Finetuned
mistralai/Mistral-7B-Instruct-v0.3