Downloads · 30 days
15
3% of all-time downloads
YoAbriel/KodaLite-1.3B-mlx
KodaLite-1.3B-mlx is a text generation model from YoAbriel. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
MLX version of YoAbriel/KodaLite-1.3B, optimized for Apple Silicon (M1/M2/M3/M4).
Downloads · 30 days
15
3% of all-time downloads
All-time downloads
544
Public
Parameters
1.3B
5.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.5 GB · 100%
From the Hugging Face model README
MLX version of YoAbriel/KodaLite-1.3B, optimized for Apple Silicon (M1/M2/M3/M4).
Size: ~2.5 GB | Precision: bfloat16
pip install mlx-lm
from mlx_lm import load, generate
model, tok = load("YoAbriel/KodaLite-1.3B-mlx")
prompt = tok.apply_chat_template(
[{"role": "user", "content": "What is the capital of France?"}],
tokenize=False,
add_generation_prompt=True,
)
print(generate(model, tok, prompt=prompt, max_tokens=80))
Or from the command line:
mlx_lm.generate --model YoAbriel/KodaLite-1.3B-mlx \
--prompt "<|user|>\nHello\n<|assistant|>\n" --max-tokens 80
Small model (1.27B params), undertrained (1.64B tokens). See the base model card for full details.
Apache 2.0