mlx-community/granite-8b-code-base-8bit

The Model mlx-community/granite-8b-code-base-8bit was converted to MLX format from ibm-granite/granite-8b-code-base using mlx-lm version 0.12.0.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/granite-8b-code-base-8bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Downloads last month
11
Safetensors
Model size
1.26B params
Tensor type
FP16
·
U32
·
Inference Examples
Inference API (serverless) has been turned off for this model.

Datasets used to train mlx-community/granite-8b-code-base-8bit

Evaluation results