Files
KodaLite-1.3B-mlx/README.md
ModelHub XC e05e537b54 初始化项目,由ModelHub XC社区提供模型
Model: YoAbriel/KodaLite-1.3B-mlx
Source: Original Platform
2026-05-29 23:17:30 +08:00

1.2 KiB

language, license, library_name, pipeline_tag, tags, base_model
language license library_name pipeline_tag tags base_model
en apache-2.0 mlx text-generation
text-generation
mlx
apple-silicon
YoAbriel/KodaLite-1.3B

KodaLite-1.3B — MLX (fp16)

MLX version of YoAbriel/KodaLite-1.3B, optimized for Apple Silicon (M1/M2/M3/M4).

Size: ~2.5 GB | Precision: bfloat16

Usage

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

Other quantizations

Limitations

Small model (1.27B params), undertrained (1.64B tokens). See the base model card for full details.

License

Apache 2.0