Qwen3 4B LaTeX Correction v3 GGUF Q4_K_M
This repository contains the GGUF Q4_K_M quantized build of the Qwen3 4B LaTeX correction SFT release.
The model restores noisy, colloquial, or pseudocode-like math descriptions into canonical LaTeX formulas. It is trained to return formula-only output in a strict display dialect: fractions use the standard LaTeX frac command with two braced arguments, matrices use the bmatrix environment, and superscripts/subscripts are braced, for example x_{i} and x^{2}.
Files
- qwen3-4b-latex-correction-v3-q4_k_m.gguf: llama.cpp-compatible Q4_K_M quantization.
Recommended Use
Use this repository for llama.cpp, Ollama, LM Studio, and other GGUF local-inference runtimes.
The canonical full BF16 merged checkpoint is published separately:
Evaluation
Clean evaluation split: 292 examples.
| model | exact accuracy | semantic accuracy | parse coverage |
|---|
| Base Qwen3-4B-Instruct-2507 | 2.40% | 13.36% | 36.99% |
| Qwen3-4B LaTeX Correction LoRA v3 | 83.22% | 98.97% | 100.00% |
semantic_accuracy is computed by the repository's local LaTeX AST matcher and is the primary metric.
Source