english-reader grammar 1.5B (GGUF, Q4_K_M)
An on-device model for the english-reader app. It analyzes the grammar of a single English sentence and explains it in Chinese.
Model details
| Base model | Qwen/Qwen2.5-1.5B-Instruct (Apache-2.0) |
| Fine-tuning | LoRA, rank 16, merged into the base weights |
| Format | GGUF (llama.cpp), quantized to Q4_K_M |
| File | r4k-q4_k_m.gguf |
| Size | 986,048,128 bytes (≈ 940 MiB) |
| SHA256 | ab30150a90c13b8f3365d9c0a6ca635424b9dd221e3c32868935648075c3a575 |
| Context | 32,768 tokens (inherited from the base model) |
Intended use
English sentence grammar analysis with Chinese explanations, inside the english-reader app. The app runs it on the device through llama.cpp and falls back to cloud analysis when the model is unavailable.
Out-of-scope use
The model is tuned for sentence analysis only. Do not use it as a general chat assistant, or for translation, factual Q&A, code, or any high-stakes decision.
Training data
About 4,000 synthetic samples (3,929 for training) of English sentences paired with structured grammar analyses in Chinese. The 71 evaluation sentences were removed from the training set to avoid overlap.
Evaluation
- Strict rule-based check on 71 held-out sentences: 93% pass rate (previous 1k-sample version: 84.5%).
- Manual review of 10 sentences: 6 fully correct, 3 partly correct, 1 wrong.
- Speed: about 27.6 tokens/s generation on 4 desktop CPU threads. Phone speed has not been measured yet.
Known limitations
- It sometimes gets the analysis wrong, for example the sentence components or clause structure. Treat its output as a learning aid, not ground truth.
- It handles analysis only and does poorly on other tasks.
- The evaluation set is small (71 sentences, 10 reviewed by hand).
- 4-bit quantization may reduce quality slightly compared with full precision.
Usage (llama.cpp)
llama-cli -m r4k-q4_k_m.gguf -p "<sentence>"
License
Apache-2.0, the same license as the base model Qwen2.5-1.5B-Instruct. See the base model license.