Skip to content

granite-3b-code-instruct-4bit

mlx-community/granite-3b-code-instruct-4bit
Text generation · transformers
4-bit Open on Hugging Face
Parameters
3.5B
Weights (est.)
≈ 2.0 GB
Mac memory (est.)
8 GB+

Size is estimated from the parameter count and quantisation. Memory allows a fifth extra for context plus 2 GB for the system; long contexts need more.

Run it

With mlx-lm on an Apple silicon Mac:

pip install mlx-lmmlx_lm.generate --model mlx-community/granite-3b-code-instruct-4bit --prompt "Hello"

Details

Base model
ibm-granite/granite-3b-code-base-2k (finetune)
Vendor
IBM · Granite
Task
Text generation
Quantisation
4-bit
Licence
apache-2.0
Downloads
84 in the last 30 days · 944 all time · 0 likes
Published
2024-05-06 · updated 2024-05-06 (2y ago)
Tags
llama, code, model-index

Other MLX builds of ibm-granite/granite-3b-code-base-2k

Build Quantisation Weights Mac memory Downloads
granite-3b-code-instruct-4bit (this one) 4-bit ≈ 2.0 GB 8 GB+ 84
granite-3b-code-instruct-8bit 8-bit ≈ 3.7 GB 8 GB+ 50