Downloads · 30 days
11
23% of all-time downloads
Aurumdev95/gemma4-31b-cessna-dpo-fp8
gemma4-31b-cessna-dpo-fp8 is a text generation model from Aurumdev95. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
A Gemma 4 (31B) assistant for the Cessna 172S, aligned with DPO to answer in a clean, professional, pilot-friendly style. It is the preference-tuned successor to the supervised model Aurumdev95/gemma4-31b-cessna, whos…
Downloads · 30 days
11
23% of all-time downloads
All-time downloads
48
Public
Parameters
31.3B
33.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors33.3 GB · 100%
How the weights are stored.
F8_E4M329.3B · 94%
From the Hugging Face model README
A Gemma 4 (31B) assistant for the Cessna 172S, aligned with DPO to answer
in a clean, professional, pilot-friendly style. It is the preference-tuned successor
to the supervised model Aurumdev95/gemma4-31b-cessna,
whose knowledge was distilled from the Cessna 172S Pilot's Operating Handbook (POH).
⚠️ Study aid only. This model is for flight-training and familiarization. It is not an authoritative reference and must not be used for real-world flight operations, planning, or decision-making. Always consult the official POH and current approved documentation.
The supervised model already answered POH questions accurately. DPO was applied to fix presentation: correct technical spelling, adopt consistent terminology, and format answers as well-structured Markdown (short bold labels, ordered steps, bullet lists) so they render cleanly and read the way a briefing would.
sigmoid) with an rpo_alpha = 1.0 SFT anchor to prevent
chosen-logprob collapse; 3 epochs, beta = 0.1, LoRA r = 16.Held-out preference accuracy rose each epoch — the model learned to prefer the professional, well-formatted answers:
| Epoch | Reward accuracy | Reward margin |
|---|---|---|
| 1 | 75.0% | 0.16 |
| 2 | 81.3% | 0.38 |
| 3 | 87.5% | 0.41 |
Crucially, factual accuracy did not regress. On the same 46-question held-out POH validation set (served in NVFP4 via vLLM, greedy decoding):
| Metric | SFT | DPO |
|---|---|---|
| token-F1 (mean) | 0.478 | 0.488 |
| ROUGE-L (mean) | 0.374 | 0.385 |
| answers with F1 ≥ 0.3 | 42/46 | 41/46 |
The lexical-overlap scores are essentially unchanged (the DPO answers are longer and more structured, which these terse-reference metrics do not reward), while the style is markedly more professional — the intended outcome.
| Repo | Format | Use |
|---|---|---|
Aurumdev95/gemma4-31b-cessna-dpo | LoRA adapter (this repo) | merge onto the SFT model |
Aurumdev95/gemma4-31b-cessna-dpo-nvfp4 | NVFP4 (Blackwell) | vLLM on RTX 50 / GB10 |
Aurumdev95/gemma4-31b-cessna-dpo-fp8 | FP8 (W8A8) | vLLM, broad GPU support |
Use a flight-assistant system prompt, e.g.:
You are a knowledgeable flight assistant for the Cessna 172S. Answer questions about the aircraft's systems, limitations, and procedures accurately and concisely, based on the Pilot's Operating Handbook.
Unsloth + TRL 0.24 + Transformers 5.5 on an NVIDIA DGX Spark (GB10). See the training pipeline for full configuration.