Downloads · 30 days
11
8% of all-time downloads
cobrakenji/granite-7b-base-4bit
granite-7b-base-4bit is a machine learning model from cobrakenji. 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 apache-2.0.
The Model cobrakenji/granite-7b-base-4bit was converted to MLX format from ibm-granite/granite-7b-base using mlx-lm version 0.13.0.
Downloads · 30 days
11
8% of all-time downloads
All-time downloads
145
Public
Parameters
6.7B
3.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.8 GB · 100%
How the weights are stored.
U326.7B · 100%
From the Hugging Face model README
The Model cobrakenji/granite-7b-base-4bit was converted to MLX format from ibm-granite/granite-7b-base using mlx-lm version 0.13.0.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("cobrakenji/granite-7b-base-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)