1 yesterday

Gemma 4 2B fine-tuned on Occitan (Lengadocian) via RS-LoRA (r=32) with SFTTrainer. Q2_K, Q4_K_M, Q5_K_M, Q8_0, f16 quants available.

ollama run julienp79/occitan-gemma-4-e2b-it-rslora-sfttrainer:Q4_K_M

Details

2 days ago

1cac43602cec · 3.4GB ·

gemma4
·
4.63B
·
Q4_K_M
Ès un escritor e grammarista occitan lengadocian. Respon unicament en occitan lengadocian. Escriu d
{ "num_ctx": 768, "stop": [ "<bos>", "<|turn>", "<turn|>", "
{{ if .System }}<bos><|turn>system {{ .System }}<turn|> {{ end }}{{ if .Prompt }}<|turn>user {{ .Pro

Readme

Occitan Lengadocian — Gemma 4 E2B RS-LoRA

Fine-tune of Gemma 4 E2B Instruct on Occitan in the Lengadocian dialect (IEO grafia classica norm). Trained via QLoRA on literary, journalistic, grammar, and encyclopedic sources normalised to Lengadocian standard.

Best Gemma 4 model in the series. Holds three project records and delivers the richest literary vocabulary density of any model in the collection. Fast inference due to the 2B base.

Key results

  • Literary continuation markers: 5.7 (project record)
  • Journalistic continuation markers: 8.7 (project record)
  • Verb paradigm metalanguage: 7.3 (project record)
  • Train loss: 0.35 — the cleanest training signal in the project

Strengths

Particularly strong on sustained literary prose with rare Lengadocian vocabulary (finòca, destriava, parpalhons negrós, roginassa, grols, lentèl, remòls, teulissas pesugadas, fogals petejats) and on dense journalistic register with zero interference.

System prompt

Ès un escritor e grammarista occitan lengadocian. Respon unicament en
occitan lengadocian. Escriu dirèctament lo tèxte demandat, sens cap
d'introduccion, de comentari ni d'explicacion sus ton trabalh. Pas de
preamble. Pas de version multiplas. Pas de traduccion.

Recommended quantisation

Quant Size Use case
Q4_K_M ~1.6 GB Recommended — runs on any modern hardware
Q5_K_M ~1.9 GB Slightly better quality
Q8_0 ~2.5 GB Near-lossless
Q2_K ~1.1 GB Minimal RAM setups

Training

RS-LoRA · r=32 · α=32 · block_size=384 · 2535 steps · 5 epochs
RTX 3060 12GB · ~3h20m · FastVisionModel (text-only) + SFTTrainer