Downloads · 30 days
7
9% of all-time downloads
Thermostatic/rosettia-quy-v30b-9b-merged
rosettia-quy-v30b-9b-merged is a translation model from Thermostatic. Use it when you need text moved from one language to another. The card lists the license as apache-2.0.
Downloads · 30 days
7
9% of all-time downloads
All-time downloads
78
Public
Parameters
9.7B
19.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors19.3 GB · 100%
How the weights are stored.
BF169.7B · 100%
From the Hugging Face model README
YouTube entry: Rosettia video
Spanish → Chanka / Ayacucho Quechua (quy) translation model. A merged
(LoRA → full-weights) fine-tune of Qwen3.5-9B, and the strongest single
model in the Rosettia Chanka project. On the AmericasNLP 2021 spa→quy test it
sets a new state of the art for the benchmark.
word_order=0)| System | ChrF (w0) |
|---|---|
| Helsinki 2021 (published) | 39.40 |
| Sheffield 2023 NLLB-3.3B (published) | 34.01 |
| This model — greedy | 40.55 |
| This model — ChrF-MBR (dedup) decoding | 42.93 |
| Ensemble (this + NLLB-1.3B-r2), dedup-MBR | 44.97 ← project SOTA |
Note: many shared-task papers report ChrF++ (
word_order=2), which is not directly comparable to the official ChrF (word_order=0) used here.
The big jumps come from decoding, not just the model: ChrF-based Minimum-Bayes-Risk decoding (sample N candidates, pick the one maximizing mean pairwise ChrF over the deduplicated candidate pool) adds ~+2.4 ChrF with no extra training, and pooling candidates with a diverse NLLB-1.3B reaches 44.97.
A two-stage 16-bit LoRA fine-tune of unsloth/Qwen3.5-9B (Unsloth; no 4-bit
quantization; bf16; decoder-only, with minimal native Quechua pretraining), then merged
to 16-bit weights. Both stages: LoRA r=256, α=512, dropout=0 over all 7 attention/MLP
projections; adamw_8bit, weight-decay 0.01, warmup-ratio 0.05.
| Stage | Data | LR | eff. batch | max-seq | budget |
|---|---|---|---|---|---|
| Broad SFT | ~166k spa↔quy (SomosNLP + AmericasNLP) | 1e-4 | 64 (16×4) | 256 | → ckpt-2688 |
| Chanka SFT (continuation) | 1,929 curated Chanka pairs | 2e-5 | 8 | 128 | 3 epochs (ckpt-615) |
save_pretrained_merged (merged_16bit, no α-rescaling) of the Chanka
adapter (ckpt-615) → this model.from transformers import AutoTokenizer
from vllm import LLM, SamplingParams
tok = AutoTokenizer.from_pretrained("Thermostatic/rosettia-quy-v30b-9b-merged")
llm = LLM(model="Thermostatic/rosettia-quy-v30b-9b-merged", dtype="bfloat16")
SYSTEM = "You are a careful Spanish→Quechua (Chanka/Ayacuchana variety) translator."
INSTR = "Traduce el siguiente texto del español al quechua chanka. Responde solo con la traducción."
src = "Mis abuelos eran una pareja muy cariñosa."
msgs = [{"role":"system","content":SYSTEM},
{"role":"user","content":f"{INSTR}\n\nEspañol: {src}"}]
prompt = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True, enable_thinking=False)
out = llm.generate([prompt], SamplingParams(temperature=0.0, max_tokens=128,
stop=["<|im_end|>","<|endoftext|>"]))
print(out[0].outputs[0].text.strip())
For best quality, use ChrF-MBR decoding (sample 32–64 candidates at T≈0.5, pick the consensus by mean pairwise sentence-ChrF over the deduplicated pool).
Research-grade MT for a low-resource, agglutinative language. Outputs should be reviewed by speakers before any consequential use. Quality varies with domain and sentence length; named entities and Spanish loanwords are the most error-prone.
A two-person SomosNLP hackathon project:
The project was a close collaboration; both contributions were essential to the result.