Three examples in a prompt were enough for Qwen3-4B-Instruct-2507 to match a 30-example adapter on caption style after cleanup. Each method missed one of 12 new captions. The prompted model preserved every checked name and number. The adapter dropped a studio and file name and repeated two numbers in one caption.
We ran both methods with the same 4-bit model on our 16 GB M6 Mac mini on December 3, 2026. MLX trained and saved the adapter on the mini, and the saved adapter generated a caption there. MLX LM fine-tuning guide · Exact Qwen model files
How the captions scored
| Out of 12 captions | 3 examples in prompt | 30-example adapter |
|---|---|---|
| Raw captions with a style error | 1 | 12 |
| Captions with a style error after cleanup | 1 | 1 |
| Captions with missing or changed names | 0 | 1 |
| Captions with missing, extra or changed numbers | 0 | 1 |
| Exact matches after cleanup | 10 | 9 |

The adapter started all 12 replies with an empty <think> block. The prompt did that zero times. The pinned Qwen chat template inserted an empty block in the training answers. The adapter reproduced it. We rescored both sets after stripping that block when it appeared at the start and trimming excess whitespace. The prompt’s remaining style error was shortening 8-second to 8-sec. The fictional style only shortens the plural word seconds.
The caption that lost its file name
One input read “Lark Audio renamed the file Night Shift C” and asked the editor to keep the cut from 31 to 34 seconds. Here are both answers after the same cleanup.
Three examples in the prompt
CUT: Lark Audio renamed the file Night Shift C
↳ Keep the cut from 31 to 34 sec
Thirty examples in the adapter
CUT: 31 to 34 sec
↳ Keep the cut from 31 to 34 sec
The adapter reused the time range in the first line and lost the file rename. The result counts as one caption with a name error and one with a number error because 31 and 34 each appeared twice. The extra sec also counted as the adapter’s one style miss after cleanup.
How long setup took
With the examples ready and the model installed, the prompt took 0.79 seconds from model load to first answer. The adapter took 20.24 seconds to prepare the data, train and load two adapters and get a first answer from each. That includes an 8.61-second smoke check and a 10.81-second full training run.
The one-time environment setup and model download added 5 minutes 36 seconds to either path, bringing the measured totals to about 5:37 for the prompt and 5:56 for the adapter. The shared install included MLX’s training dependencies. The totals cover machine work and exclude writing the examples and rubric.
What we tested
We made up a two-line house style for an editing team. The examples showed a CUT: label and an arrow on the second line, plus rules for opening filler, final punctuation and short forms such as fps. Both methods got the same short instruction. The three prompt examples also appeared in the adapter’s 30 training pairs. The adapter got zero examples at inference. We used two separate captions for validation and kept the 12 scored captions out of both setups.
We used MLX 0.32.5 and MLX LM 0.32.2. We trained the 4-bit model with QLoRA for 90 steps, using rank 8 across eight layers with a batch size of one. Each condition generated one answer per caption using greedy decoding with a 96-token output limit. The scorer checks format and word substitutions, scans for expected names, compares numeric values and their counts, and checks for an exact match against a reference. All training and generation ran locally with no paid API calls. MLX LM training options
- Tested
- Qwen3-4B-Instruct-2507 with three prompt examples or a QLoRA adapter trained on 30 pairs. Both rewrote the same 12 unseen editing captions, for 24 scored outputs.
- Machine
- Kingy’s Apple M6 Mac mini with 16 GB unified memory.
- Runner
- MLX 0.32.5 and MLX LM 0.32.2. The mini trained, saved and reloaded a smoke-test adapter before the full run.
- Files
- MLX Community 4-bit Qwen3-4B-Instruct-2507, pinned revision 50d427756c6b1b2fe0c0a10f67fbda1fc8e82c1b.
- Settings
- QLoRA, 90 steps, rank 8, eight adapted layers, batch size 1. Both methods used greedy decoding and a 96-token output limit.
- Grading
- Checked caption rules, names, numeric values and counts, and exact matches. Rescored both sets after trimming excess whitespace and stripping a leading empty think block where present.
- Cost
- No paid API calls. Training and generation ran on the Mac mini.
- Dates
- run 2026-12-03 · checked 2026-12-03
Limits
This was one model, one adapter setting and 12 short, fictional captions. Several examples shared phrasing and rules. The raw score includes the literal empty block this setup emitted, and the cleaned score shows how much that changed the comparison. Real edits would also need a check for changes in meaning and details beyond names and numbers. More Kingy tests on local hardware
