Downloads · 30 days
0
SatyamSinghal/tinyllama-mlx-lora-alpaca-100-r16
tinyllama-mlx-lora-alpaca-100-r16 is a machine learning model from SatyamSinghal. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repo contains a LoRA adapter trained with Apple MLX (mlx-lm) on Mac M-series.
Downloads · 30 days
0
Access
Public
Updated Apr 12, 2026
Repo size
36.7 MB
Likes
0
Public
Click a slice to open those files.
.safetensors55.1 MB · 100%
From the Hugging Face model README
This repo contains a LoRA adapter trained with Apple MLX (mlx-lm) on Mac M-series.
prompt, completionfrom mlx_lm import load, generate
# Option A: use local adapter folder (fastest)
model, tokenizer = load(
"TinyLlama/TinyLlama-1.1B-Chat-v1.0",
adapter_path="out/tinyllama_lora_r16"
)
# Option B: download from Hugging Face then pass the local path via snapshot_download
python -m mlx_lm lora --model TinyLlama/TinyLlama-1.1B-Chat-v1.0 --train --data /path/to/data_dir_with_train_jsonl --batch-size 8 --iters 200 --learning-rate 2e-4 --adapter-path out/tinyllama_lora_r16
--iters (e.g., 1000–2000) and/or raise LoRA rank via config (e.g., r=32).