Downloads · 30 days
99
1% of all-time downloads
ybelkada/Mixtral-8x7B-Instruct-v0.1-bnb-4bit
Mixtral-8x7B-Instruct-v0.1-bnb-4bit is a text generation model from ybelkada. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This repository contains the bitsandbytes 4-bit quantized version of mistralai/Mixtral-8x7B-Instruct-v0.1. To use it, make sure to have the latest version of bitsandbytes and transformers installed from source:
Downloads · 30 days
99
1% of all-time downloads
All-time downloads
9K
Public
Parameters
47.4B
26.6 GB on disk
Likes
59
Public
Click a slice to open those files.
.safetensors26.6 GB · 100%
How the weights are stored.
U846.4B · 98%
From the Hugging Face model README
bitsandbytes 4-bitThis repository contains the bitsandbytes 4-bit quantized version of mistralai/Mixtral-8x7B-Instruct-v0.1. To use it, make sure to have the latest version of bitsandbytes and transformers installed from source:
Loading this model as such: will directly load the quantized model in 4-bit precision.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "ybelkada/Mixtral-8x7B-Instruct-v0.1-bnb-4bit"
model = AutoModelForCausalLM.from_pretrained(model_id)
Note you need a CUDA-compatible GPU device to run low-bit precision models with bitsandbytes