Downloads · 30 days
18
3% of all-time downloads
vininhosts/gemma3-12b-engineering
gemma3-12b-engineering is a text generation model from vininhosts. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as gemma.
A fine-tuned version of Gemma 3 12B IT specialized for aerospace engineering, thermodynamics, advanced mathematics, coding, finance, and 6 additional engineering disciplines.
Downloads · 30 days
18
3% of all-time downloads
All-time downloads
565
Public
Parameters
12.8B
14.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.2 GB · 100%
How the weights are stored.
U3212.8B · 100%
From the Hugging Face model README
A fine-tuned version of Gemma 3 12B IT specialized for aerospace engineering, thermodynamics, advanced mathematics, coding, finance, and 6 additional engineering disciplines.
| Pass | Dataset | Examples | Best Val Loss |
|---|---|---|---|
| v2 domain | MetaMathQA, Open-Platypus, OpenHermes STEM, ArXiv QA, SciQ, WikiText, WikiQA, CAMEL Physics/Math, CodeAlpaca, Finance | ~56K | 0.617 |
| CoT reasoning | nvidia/OpenMathReasoning, Open-Platypus CoT, MetaMathQA CoT, handcrafted aerospace | ~11K | 0.439 |
| Precision | Handcrafted aerospace/thermo — correct R=8314/M derivation (never R=287 for custom propellants) | ~60 | 0.620 |
| v3 comprehensive | 6 new engineering domains + NuminaMath-CoT, Magicoder, Finance-Alpaca, OpenHermes STEM, CodeFeedback | 23,850 | 0.689 |
LoRA config: rank=16, alpha=32, lora_layers=4, keys=[q_proj, v_proj], LR=2e-6
Activate step-by-step reasoning with this system prompt:
You are an expert aerospace engineer. Always reason step by step inside <think> tags before giving your final answer.
from mlx_lm import load, generate
model, tokenizer = load("vininhosts/gemma3-12b-engineering")
prompt = "A rocket nozzle has Pc=2MPa, Tc=3000K, exit Mach=3, propellant M=20g/mol, gamma=1.3. Find exit pressure."
response = generate(model, tokenizer, prompt=prompt, max_tokens=1024)
print(response)
This model correctly computes the specific gas constant from molar mass as R = 8314 / M, and never defaults to R = 287 J/(kg·K) (air) when a different propellant molar mass is given. This was enforced via a dedicated precision fine-tuning pass with 60+ handcrafted examples.
Derived from Gemma 3 — subject to Gemma Terms of Use.