Run this model with HF Jobs

Run bookxd/gemma-4-e2b-rft-mutation-merged on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/bookxd/gemma-4-e2b-rft-mutation-merged. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/bookxd/gemma-4-e2b-rft-mutation-merged on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/bookxd/gemma-4-e2b-rft-mutation-merged. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/bookxd/gemma-4-e2b-rft-mutation-merged. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

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
13
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
(546)
this model