Downloads · 30 days
0
roy1729/qwen3-5-0.8b-multitask-latex-chartqa
qwen3-5-0.8b-multitask-latex-chartqa is a machine learning model from roy1729. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Qwen3.5-0.8B fine-tuned with LoRA (rank 32) on two tasks simultaneously: LaTeX OCR (image → LaTeX source) and ChartQA (image + question → short answer).
Downloads · 30 days
0
Access
Public
Updated Jul 12, 2026
Repo size
126 MB
Likes
0
Public
Click a slice to open those files.
.safetensors106 MB · 84%
From the Hugging Face model README
Qwen3.5-0.8B fine-tuned with LoRA (rank 32) on two tasks simultaneously: LaTeX OCR (image → LaTeX source) and ChartQA (image + question → short answer).
| Task | Metric | Baseline | Multi-task |
|---|---|---|---|
| LaTeX OCR | BLEU-4 | 0.8957 | 0.9533 |
| LaTeX OCR | CER | 0.1483 | 0.0543 |
| LaTeX OCR | Exact Match % | 0.0 | 54.0 |
| ChartQA | Exact Match % | 0.0 | 68.5 |
| ChartQA | Relaxed EM % | 0.0 | 66.5 |
Multi-task vs single-task cost (LaTeX EM): -0.5 pts (95% paired-bootstrap CI comfortably includes 0 — not distinguishable from no cost at n=200 eval samples)
The baseline exact-match scores above look dramatic (0.0% on both tasks) but this is largely a formatting artifact, not zero underlying capability. The un-finetuned base model answers conversationally (e.g. "Based on the chart... ✅ Answer: 63") rather than with a bare terse string, so strict exact-match fails even when the content is correct. Under a lenient/normalized match, baseline ChartQA accuracy is closer to ~78%, not 0%.
What fine-tuning appears to primarily provide is output-format discipline (terse, direct
answers) rather than new task knowledge — a LoRA adapter trained only on LaTeX OCR (never
seeing a single ChartQA example) scores ~51% exact-match on ChartQA, almost entirely by
unlocking latent chart-reading ability the base model already had. See assets/transfer_matrix.png
and assets/examples.md for supporting qualitative examples.
Evaluation used 200 held-out examples per task. Bootstrap 95% CIs on exact-match are ~13-14 points wide at this sample size, so small deltas (LoRA rank sweep, single- vs multi-task cost, seed variance) should be read as noise-level, not as confirmed effects.
unsloth/Qwen3.5-0.8BSee assets/ for loss curves, comparison plots, and qualitative best/worst prediction examples.