Views
No views yet
1pip install mlx-lm
2mlx_lm.generate \
3 --model Brandi-Kinard/plainspeak-smollm2-1.7b \
4 --prompt "### Original:
5YOUR TEXT HERE
6
7### Plain English:" \
8 --max-tokens 200Original: "Wherefore art thou Romeo? Deny thy father and refuse thy name."PlainSpeak: "Why are you Romeo? Don't deny your father and refuse your name."
Original: "The invisible hand of the market, whereby individuals pursuing their own self-interest are led, as if by an invisible hand, to promote ends which were no part of their original intention."PlainSpeak: "When people try to make money for themselves, they often end up helping society without meaning to."
Original: "The LORD is my shepherd; I shall not want."PlainSpeak: "The LORD leads me. I don't need anything else."
| Property | Value |
|---|---|
| Base model | SmolLM2-1.7B-Instruct |
| Fine-tuning method | LoRA (8 layers) |
| Training iterations | 500 |
| Training examples | 1,200 |
| Validation examples | 150 |
| Data source | Project Gutenberg + AI-generated synthetic pairs |
| Hardware | Apple M1, 16GB unified memory |
| Peak training memory | 10.09 GB |
| Final val loss | 1.771 |
| Inference memory | ~3.6 GB |
| Build time | 1 evening |
1. Stream 1,500 prose passages from Project Gutenberg
2. Generate plain English versions using a frontier model as teacher
3. Format as (original → plain) training pairs
4. Fine-tune SmolLM2-1.7B with LoRA on Apple MLX
5. Fuse adapter into final weights1from mlx_lm import load, generate
2
3model, tokenizer = load("Brandi-Kinard/plainspeak-smollm2-1.7b")
4
5prompt = """### Original:
6It is a truth universally acknowledged, that a single man in possession of a good fortune, must be in want of a wife.
7
8### Plain English:"""
9
10response = generate(model, tokenizer, prompt=prompt, max_tokens=200)
11print(response)