Downloads · 30 days
13
19% of all-time downloads
Greytechai/gemma4-31b-Opus-4.6-reasoning
gemma4-31b-Opus-4.6-reasoning is a text generation model from Greytechai. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
This is a private QLoRA adapter for google/gemma-4-31B-it, fine-tuned on a cleaned subset of Crownelius/Opus-4.6-Reasoning-2100x-formatted.
Downloads · 30 days
13
19% of all-time downloads
All-time downloads
69
Public
Repo size
209 MB
Likes
0
Public
Click a slice to open those files.
.safetensors177 MB · 85%
From the Hugging Face model README
This is a private QLoRA adapter for google/gemma-4-31B-it, fine-tuned on a cleaned subset of Crownelius/Opus-4.6-Reasoning-2100x-formatted.
The goal of this run was simple: produce a Gemma 4 31B reasoning adapter trained only on Opus-style reasoning data, without mixing in unrelated instruction corpora or agent traces.
google/gemma-4-31B-itpeft)Source dataset:
Local filtering applied before training:
Final local dataset stats:
2160202519241011899 math, 126 code409621e-418LoRA target modules were adapted for Gemma 4 wrapped linear layers:
q_proj.lineark_proj.linearv_proj.linearo_proj.lineargate_proj.linearup_proj.lineardown_proj.linearFinal metrics from the completed run:
3.601836.663723s2.0The table below is included for context and comes from Google's official Gemma 4 31B Instruct model card. These are published base-model reference scores for google/gemma-4-31B-it, not adapter-specific evaluation results for this repository.
| Benchmark | Gemma 4 31B | Gemma 3 27B (no think) |
|---|---|---|
| MMLU-Pro | 85.2% | 67.6% |
| AIME 2026 no tools | 89.2% | 20.8% |
| LiveCodeBench v6 | 80.0% | 29.1% |
| Codeforces Elo | 2150 | 110 |
| GPQA Diamond | 84.3% | 42.4% |
| Tau2 (average over 3) | 76.9% | 16.2% |
| HLE no tools | 19.5% | - |
| HLE with search | 26.5% | - |
| BigBench Extra Hard | 74.4% | 19.3% |
| MMMLU | 88.4% | 70.7% |
| MMMU Pro | 76.9% | 49.7% |
| OmniDocBench 1.5 (lower is better) | 0.131 | 0.365 |
| MATH-Vision | 85.6% | 46.0% |
| MRCR v2 8 needle 128k (average) | 66.4% | 13.5% |
Source:
This repository contains a PEFT adapter, not a fully merged standalone model.
Load it with:
google/gemma-4-31B-itfrom transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig
from peft import PeftModel
import torch
base_id = "google/gemma-4-31B-it"
adapter_id = "kai-os/gemma4-opus-reasoning-adapter-v1"
bnb = BitsAndBytesConfig(
load_in_4bit=True,
bnb_4bit_quant_type="nf4",
bnb_4bit_compute_dtype=torch.bfloat16,
)
tokenizer = AutoTokenizer.from_pretrained(base_id)
base = AutoModelForCausalLM.from_pretrained(
base_id,
device_map="auto",
quantization_config=bnb,
torch_dtype=torch.bfloat16,
)
model = PeftModel.from_pretrained(base, adapter_id)
transformers, peft, and datasets