granite-20b-code-instruct-8bit
mlx-community/granite-20b-code-instruct-8bit
Text generation · transformers
8-bit Open on Hugging Face
Parameters
20B
Weights (est.)
≈ 21.3 GB
Mac memory (est.)
32 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-8bit --prompt "Hello"
Details
- Base model
- ibm-granite/granite-20b-code-base-8k (finetune)
- Vendor
- IBM · Granite
- Task
- Text generation
- Quantisation
- 8-bit
- Licence
- apache-2.0
- Downloads
- 40 in the last 30 days · 527 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 | 4-bit | ≈ 11.3 GB | 16 GB+ | 57 |
| granite-20b-code-instruct-8bit (this one) | 8-bit | ≈ 21.3 GB | 32 GB+ | 40 |