mlx-community/gemma-2b-coder

This model was converted to MLX format from MAISAAI/gemma-2b-coder. Refer to the original model card for more details on the model.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/gemma-2b-coder")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Downloads last month
7
Safetensors
Model size
834M params
Tensor type
FP16
·
U32
·
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The HF Inference API does not support text-generation models for mlx library.

Dataset used to train mlx-community/gemma-2b-coder