Downloads · 30 days
635
5% of all-time downloads
mlx-community/Codestral-22B-v0.1-4bit
Codestral-22B-v0.1-4bit is a machine learning model from mlx-community. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as other.
The Model mlx-community/Codestral-22B-v0.1-4bit was converted to MLX format from bullerwins/Codestral-22B-v0.1-hf using mlx-lm version 0.14.0.
Downloads · 30 days
635
5% of all-time downloads
All-time downloads
11.8K
Public
Parameters
22.2B
12.5 GB on disk
Likes
14
Public
Click a slice to open those files.
.safetensors12.5 GB · 100%
How the weights are stored.
U3222.2B · 100%
From the Hugging Face model README
The Model mlx-community/Codestral-22B-v0.1-4bit was converted to MLX format from bullerwins/Codestral-22B-v0.1-hf using mlx-lm version 0.14.0.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/Codestral-22B-v0.1-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)