Qwen3.5-0.8B-sintaxi-catala-4k
Catalan syntax parser
2 min readupdated
A compact 0.8-billion-parameter language model trained to parse simple Catalan sentences and return structured JSON output. It was distilled from the larger Qwen/Qwen3.8-27B model using a 975-example dataset. Unlike the base version, this model doesn't need complex prompts or few-shot examples—just feed it a raw sentence and it outputs a complete school-grammar parse. It's built for Catalan linguistics researchers, edtech developers, and anyone exploring syntax in low-resource languages with AI.
Key features
- Strict structure: outputs valid JSON breaking down the subject, predicate, predicate type, and all core complements.
- Fast and lean: runs significantly faster than the teacher model thanks to its compact 0.8B footprint and zero prompt overhead.
- Full fine-tuning: trained via full fine-tuning of the base Qwen/Qwen3.5-0.8B model rather than LoRA.
- Proven accuracy: hits an 86.7% exact parse match on a 300-sentence test set.
What you can do
- Service integration: deploy locally via vLLM to automatically grade Catalan syntax homework.
- Text parsing: quickly annotate simple sentences across linguistic datasets.
- Language learning: power educational chatbots with interactive grammar breakdowns.
Example
Feed the model a sentence to parse: "L'àvia serveix la sopa als néts."
{"subjecte": {"text": "L'àvia", "nucli": "àvia", "eliptic": false},
"predicat": {"tipus": "verbal", "nucli": "serveix",
"complements": [{"funcio": "CD", "text": "la sopa"}, {"funcio": "CI", "text": "als néts"}]}
"veu": "activa", "impersonal": false}Read more
Details• Metrics (300-sentence test set): exact parse match — 86.7%, complement F1 — 92.4%, subject recognition — 98.3%.
• Performance: averages around 11 ms per sentence during batched inference on an RTX PRO 6000.
• Limitations: handles simple sentences only, can confuse rare syntactic functions (such as complement predicatiu), and occasionally distorts words during generation.










Comments