Views
No views yet
google/gemma-4-31B-it by PoSTMEDIA AI Lab.| Specification | Details |
|---|---|
| Base Model | google/gemma-4-31B-it |
| Parameters | 31B (dense) |
| Architecture | Decoder-only Transformer (dense) |
| Training Precision | BF16 |
| Inference Precision | BF16 |
| Context Length | Inherits from Gemma-4 base |
| Fine-Tuning Method | Full-parameter SFT (Capability-Preserving recipe) |
| Parameter | Value |
|---|---|
| Fine-Tuning Method | Full-parameter SFT (all weights trainable) |
| Precision | BF16 |
| Distributed Strategy | DeepSpeed ZeRO-3 + CPU offload |
| Training Infrastructure | NVIDIA H200 × 8 |
pip install transformers accelerate1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model_name = "PoSTMEDIA/Lux-V1-Pro"
5tokenizer = AutoTokenizer.from_pretrained(model_name)
6model = AutoModelForCausalLM.from_pretrained(
7 model_name,
8 torch_dtype=torch.bfloat16,
9 device_map="auto",
10)
11
12prompt = "Explain why preserving base-model capability matters during fine-tuning."
13inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
14outputs = model.generate(**inputs, max_new_tokens=512)
15print(tokenizer.decode(outputs[0], skip_special_tokens=True))1@misc{lux_v1_pro_2026,
2 title = {Lux-V1-Pro: Capability-Preserving Full Fine-Tuning of Gemma-4-31B},
3 author = {PoSTMEDIA AI Lab},
4 year = {2026},
5 publisher = {Hugging Face}
6}