Gemma 4 E2B — merged RFT weights (mutation corpus)

Full merged weights (LoRA baked into base) from rejection fine-tuning on the merged mutation corpus (Commons Lang + fastutil, 56 train samples).

This is a standalone model — load directly without PEFT:

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model_id = "bookxd/gemma-4-e2b-rft-mutation-merged"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.bfloat16,
    attn_implementation="sdpa",
    device_map="auto",
)

LoRA adapter (unmerged): bookxd/gemma-4-e2b-rft-mutation

Merged with the project KV-share-safe state-dict merger (205 LoRA targets, scaling=2.0).

Downloads last month
271
Safetensors
Model size
5B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for bookxd/gemma-4-e2b-rft-mutation-merged

Finetuned
(273)
this model