Downloads · 30 days
23
20% of all-time downloads
nbeerbower/Gemma4-Gutenberg-31B-LoRA
Gemma4-Gutenberg-31B-LoRA is a machine learning model from nbeerbower. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
The standalone LoRA adapter (r=64, text decoder only) behind nbeerbower/Gemma4-Gutenberg-31B — a Gutenberg-series ORPO finetune of google/gemma-4-31B-it for literary, novelistic prose.
Downloads · 30 days
23
20% of all-time downloads
All-time downloads
113
Public
Repo size
2 GB
Likes
2
Public
Click a slice to open those files.
.safetensors2 GB · 98%
From the Hugging Face model README
The standalone LoRA adapter (r=64, text decoder only) behind
nbeerbower/Gemma4-Gutenberg-31B
— a Gutenberg-series ORPO finetune of
google/gemma-4-31B-it for
literary, novelistic prose.
~1.96 GB. Apply to the standard base, or to any architecturally-identical Gemma-4-31B variant — it transplants cleanly onto the abliterated heretic base (the adapter dominates the prose voice regardless of base; see Gemma4-Gutenberg-31B-Heretic).
import torch
from transformers import AutoModelForCausalLM
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("google/gemma-4-31B-it", dtype=torch.bfloat16)
model = PeftModel.from_pretrained(base, "nbeerbower/Gemma4-Gutenberg-31B-LoRA")
# or .merge_and_unload() for a standalone full model
ORPO (β=0.1) on schneewolflabs/Athanorlite-DPO
(14,816 pairs; the Gutenberg "Encore" mix + more). LR 5e-5 cosine, eff batch 32,
max_len 2048, 1 epoch on 1× NVIDIA GB10, via
Merlina. reward_accuracy 0.18 → 0.91.
Full details on the merged model card.
Apache-2.0 (matching the Gemma 4 base).