Skip to content

granite-20b-code-instruct-4bit

mlx-community/granite-20b-code-instruct-4bit
Text generation · transformers
4-bit Open on Hugging Face
Parameters
20B
Weights (est.)
≈ 11.3 GB
Mac memory (est.)
16 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-20b-code-instruct-4bit --prompt "Hello"

Details

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

Other MLX builds of ibm-granite/granite-20b-code-base-8k

Build Quantisation Weights Mac memory Downloads
granite-20b-code-instruct-4bit (this one) 4-bit ≈ 11.3 GB 16 GB+ 57
granite-20b-code-instruct-8bit 8-bit ≈ 21.3 GB 32 GB+ 40