Minutes meeting notes tidy pass (Gemma 4 E2B LoRA)
A LoRA for Gemma 4 E2B that writes the final notes of a meeting when it ends, from the notes taken live and the full transcript. Output is markdown in a fixed shape:
- Summary (2–4 sentences)
- Decisions
- Action items (
- **Owner**: task) - 3–7 sections by subject
- Open questions
Length is capped at about 220 + 9 words per meeting minute (~570 words for 40 minutes). It keeps the user's own notes and fixes mistakes in the live notes against the transcript. Trained on inputs up to 15k tokens (about an hour of meeting). It runs on a Mac; it is the end-of-meeting pass in Minutes. It shares the base model with the live notes LoRA, so the app loads Gemma 4 E2B once and swaps adapters.
Files: minutes-tidy-lora.gguf (llama.cpp LoRA), adapters/ (MLX-LM).
How to run it
System prompt, input format and the checker are in the app:
summary/tidy.rs
(SYSTEM_PROMPT, build_input, check). Greedy decoding, max 1,400 tokens. The checker validates the
output (sections, lengths, owners, numbers grounded in the transcript); fall back to the live notes if it fails.
Training
- Data: all 138 AMI meetings with a transcript (CC BY 4.0). Targets written by Claude Opus following a
written guide (TIDY.md) and checked by
tidy_data.py check; AMI's human abstractive summaries were used only to spot-check them. Inputs are the live notes the live-notes model actually wrote (closed loop), plus, for training meetings, the reference live notes as a second variant. - LoRA rank 16, scale 2, all layers, MLX-LM, 3 epochs, lr 1e-4 cosine, batch 4 (1 x 4 accumulation), max length 15,000 tokens (140 of 153 training inputs) with the loss on the last 1,024 positions only (the answer). Trained on an 8-bit copy of the base on one 24 GB Mac in 4 h: the backward pass runs one decoder layer at a time, with attention and the MLP in sequence chunks, so a 15k-token step peaks at 13 GB.
Evaluation
10 held-out AMI meetings.
| checker pass | mean words | |
|---|---|---|
| Opus references | 10/10 | 487 |
| Gemma 4 E2B, no LoRA | 0/10 | 544 |
| this model | 8/10 | 447 |
Both misses were a few words over the length cap (379 for 373, 460 for 436); the base model mostly fails on format (plain lines outside the Summary). Validation loss 3.42 -> 1.40. About 20-30 s per meeting on an M5.
Credits
AMI Meeting Corpus: Carletta et al., 2005, CC BY 4.0. Base model: Google Gemma 4 E2B.