Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text generation

gemma4_ssset

by Sean Ma seanmamasde/gemma4_ssset

gemma4_ssset is a model for text generation from Sean Ma, released under MIT License (access requested at publisher). Its published files total 603.7 MB.

Rule-SFT and RL LoRA adapters for budgeted Salem-Spencer set construction. This repository contains adapters and tokenizer files; base weights and optimizer states are not included. This is the pre-trained, non-IT base.

Parameters—
Context—
Weights520.6 MB
Licensemit
AccessAccess requested at publisher
Monthly Downloads—

Model Card

By Sean Ma, published under mit, revision a75f4ffbd1de.

Rule-SFT and RL LoRA adapters for budgeted Salem-Spencer set construction. This repository contains adapters and tokenizer files; base weights and optimizer states are not included. This is the pre-trained, non-IT base. The original model is distributed under its upstream Apache-2.0 terms; see its model card and license link. Pinned raw base -> apply and merge sft/ -> apply the selected rl/ adapter. The RL adapters were trained against the SFT-merged reference. Applying an RL adapter directly to the raw Google base skips the SFT update and produces a different model. Each RL adapter intentionally leaves automatic base selection unset; supply the reconstructed SFT-merged model explicitly as…

Read Sean Ma's full model card

Gemma4 Salem-Spencer adapters

Rule-SFT and RL LoRA adapters for budgeted Salem-Spencer set construction. This repository contains adapters and tokenizer files; base weights and optimizer states are not included.

Exact base model

  • Repository: google/gemma-4-26B-A4B
  • Revision: 24548b62aa021d562695c04aaf7758a1ea47990b
  • Pinned tree: https://huggingface.co/google/gemma-4-26B-A4B/tree/24548b62aa021d562695c04aaf7758a1ea47990b

This is the pre-trained, non-IT base. The original model is distributed under its upstream Apache-2.0 terms; see its model card and license link.

Layout and dependency chain

sft/                    rule-SFT adapter, completed update 32
rl/checkpoint-200/       RL adapter at completed step 200
rl/checkpoint-449/       RL adapter at completed step 449
rl/checkpoint-910/       RL adapter at completed step 910

The required order is:

Pinned raw base -> apply and merge sft/ -> apply the selected rl/ adapter.

The RL adapters were trained against the SFT-merged reference. Applying an RL adapter directly to the raw Google base skips the SFT update and produces a different model. Each RL adapter intentionally leaves automatic base selection unset; supply the reconstructed SFT-merged model explicitly as below.

The SFT stage used 32 updates and 256 unique single-action rule examples. These teach legal ADD/REMOVE/DONE JSON actions; they are not complete-set solution targets. The RL adapters use rank 32, alpha 32, FP32 trainable adapters and the budget-best-v1 search protocol.

Load a checkpoint

from pathlib import Path
import torch
from huggingface_hub import snapshot_download
from peft import PeftModel
from transformers import AutoTokenizer, Gemma4ForConditionalGeneration

BASE = "google/gemma-4-26B-A4B"
BASE_REVISION = "24548b62aa021d562695c04aaf7758a1ea47990b"
ADAPTERS = "seanmamasde/gemma4_ssset"
step = 910  # 200, 449 or 910
path = Path(snapshot_download(ADAPTERS, allow_patterns=["sft/*", f"rl/checkpoint-{step}/*"]))

tokenizer = AutoTokenizer.from_pretrained(path / "sft")
base = Gemma4ForConditionalGeneration.from_pretrained(
    BASE, revision=BASE_REVISION, dtype=torch.bfloat16,
    attn_implementation="sdpa", device_map="auto",
)
sft = PeftModel.from_pretrained(
    base, path / "sft", is_trainable=False, autocast_adapter_dtype=False,
)
sft_base = sft.merge_and_unload(safe_merge=True)
model = PeftModel.from_pretrained(
    sft_base, path / f"rl/checkpoint-{step}", is_trainable=False,
    autocast_adapter_dtype=True,
).eval()

Reference software versions: Transformers 5.14.1, PEFT 0.20.0, PyTorch 2.11.0+cu129, and vLLM 0.26.0+cu129. Match precision and merge behavior when reproducing a run. The saved SFT adapter is BF16; keep it BF16 during the SFT merge rather than automatically upcasting it to FP32. The saved RL adapters are FP32. Re-merging can still differ in low-order bits across numerical backends; the originally merged SFT weight files are not part of this adapter-only release.

Prompt and evaluation protocol

These adapters consume structured state-table prompts with full-menu ADD/REMOVE IDs. They are action policies, not general chat instruction models. The llmcosolver.ssset compatibility profile and Gemma4 example provide that protocol.

Core search settings were H192/L80/K8/E960/R2, 24 raw proposals, max backup, UCB 0.4, temperature 1, top_p 1 and top_k=-1. Reward uses actual cardinality gain with a 0.25 efficiency bonus on positive gains. RL used two policy updates followed by one separate expert imitation update.

Published checkpoints 200/449/910 are the actual saved adapters used in the major inference runs. The last checkpoint is 910. Evaluation time windows and prompt visibility changed across runs: 200 used 30-minute windows, 449 used 60-minute windows, and 910 used 180-minute windows (with an accepted partial final target). The 449/910 evaluations exposed full REMOVE menus. Those results should not be interpreted as a time-budget-controlled comparison of weights alone.

Data

The primary n=1..115 witness corpus is available at https://huggingface.co/datasets/seanmamasde/extremal .

Identity and Version

Repository
seanmamasde/gemma4_ssset
Publisher
Sean Ma
Task
Text generation
Modality
Text
Library
peft
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
a75f4ffbd1de79ee25892ebaa8217076746e4810
First published
2026-10-05
Last updated
2026-10-16

Files and Weights

45 files, 603.7 MB in total. The weights are 4 files totalling 520.6 MB in safetensors.

Weights4 files · 520.6 MB
Configuration25 files · 48.9 MB
Tokenizer2 files · 32.2 MB
Documentation9 files · 18.8 KB
Other4 files · 2.0 MB
Repository1 file · 1.8 KB
Every file
FileTypeSizeSHA-256
rl/checkpoint-200/adapter_model.safetensorsWeights148.7 MB —
rl/checkpoint-449/adapter_model.safetensorsWeights148.7 MB —
rl/checkpoint-910/adapter_model.safetensorsWeights148.7 MB —
sft/adapter_model.safetensorsWeights74.4 MB —
eval_results/baseline_summary.jsonConfiguration9.0 KB —
eval_results/best_sets.jsonConfiguration16.3 MB —
eval_results/continuations/coverage194_20261010_job377064/baseline_summary.jsonConfiguration9.0 KB —
eval_results/continuations/coverage194_20261010_job377064/best_sets.jsonConfiguration16.1 MB —
eval_results/continuations/coverage194_20261010_job377064/run_baselines/coverage194_20261010_job377064.jsonConfiguration8.9 KB —
eval_results/continuations/coverage194_20261010_job377064/run_baselines/coverage194_20261010_job377064_continuation.jsonConfiguration744 B —
eval_results/continuations/coverage194_20261010_job377064/run_baselines/coverage_20261009.jsonConfiguration9.0 KB —
eval_results/continuations/coverage194_20261010_job377064/summary.jsonConfiguration26.7 KB —
eval_results/run_baselines/chain195_204_20261011_job379679.jsonConfiguration8.9 KB —
eval_results/run_baselines/chain195_204_20261011_job379679_history.jsonConfiguration9.7 KB —
eval_results/run_baselines/chain195_204_20261011_job379679_plan.jsonConfiguration718 B —
eval_results/run_baselines/chain202_204_20261010.jsonConfiguration8.9 KB —
eval_results/run_baselines/chain202_204_20261010_plan.jsonConfiguration589 B —
eval_results/run_baselines/chain202_204_20261015_job387824.jsonConfiguration9.0 KB —
eval_results/run_baselines/chain202_204_20261015_job387824_history.jsonConfiguration4.1 KB —
eval_results/run_baselines/chain203_204_20261014_job383138.jsonConfiguration9.0 KB —
eval_results/run_baselines/chain203_204_20261014_job383138_history.jsonConfiguration2.8 KB —
eval_results/run_baselines/coverage_20261009.jsonConfiguration9.0 KB —
eval_results/snapshots/ssset_eval_20261012/best_sets.jsonConfiguration16.2 MB —
eval_results/snapshots/ssset_eval_20261012/summary.jsonConfiguration10.1 KB —
eval_results/summary.jsonConfiguration68.0 KB —
rl/checkpoint-200/adapter_config.jsonConfiguration1.1 KB —
rl/checkpoint-449/adapter_config.jsonConfiguration1.1 KB —
rl/checkpoint-910/adapter_config.jsonConfiguration1.1 KB —
sft/adapter_config.jsonConfiguration1.2 KB —
LICENSEDocumentation1.1 KB —
README.mdDocumentation4.4 KB —
eval_results/README.mdDocumentation6.9 KB —
eval_results/continuations/coverage194_20261010_job377064/README.mdDocumentation5.0 KB —
eval_results/snapshots/ssset_eval_20261012/README.mdDocumentation556 B —
rl/checkpoint-200/README.mdDocumentation173 B —
rl/checkpoint-449/README.mdDocumentation177 B —
rl/checkpoint-910/README.mdDocumentation178 B —
sft/README.mdDocumentation377 B —
eval_results/best_sets.parquetOther662.0 KB —
eval_results/continuations/coverage194_20261010_job377064/best_sets.parquetOther655.6 KB —
eval_results/snapshots/ssset_eval_20261012/best_sets.parquetOther658.7 KB —
sft/chat_template.jinjaOther235 B —
.gitattributesRepository1.8 KB —
sft/tokenizer.jsonTokenizer32.2 MB —
sft/tokenizer_config.jsonTokenizer1.5 KB —

License and Download

License
mit
Access
Access requested at publisher
Download size
520.6 MB
Request access from Sean Ma

Sean Ma grants access through its official repository on Hugging Face. Read the license.

Built From

  • Adapter of google/gemma-4-26B-A4B
  • Derived from google/gemma-4-26B-A4B

Memory Requirements

PrecisionWeights in memory
As published520.6 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About gemma4_ssset

Can I use gemma4_ssset commercially?

Yes. gemma4_ssset is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

Similar Models

Model · Text generation

opt-125m

AI at Meta

OPT was first introduced in Open Pre-trained Transformer Language Models and first released in metaseq's repository on May 3rd 2022 by Meta AI. Disclaimer: The team releasing OPT wrote an official model card, which is available in Appendix D of the paper. Content from this model card has been written by the Hugging Face team. To quote the first two paragraphs of the official paper OPT was predominantly pretrained with English text, but a small amount of non-English data is still present within the training corpus via CommonCrawl. The model was pretrained using a causal language modeling (CLM) objective. OPT belongs to the same family of decoder-only models like GPT-3. As such, it was…

Open weights other 2,048 tokens transformers

Model · Text generation

Ornith-1.5-9B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ternary-Bonsai-2-27B-gguf

Prism ML

Full 27B-class reasoning in ternary transformer weights, for llama.cpp (CUDA, Metal, CPU) - \~5.9 GB language model (down from \~54 GB FP16) — full 27B-class reasoning on a standard laptop or a single GPU - 98.2% of FP16 intelligence retained: 84.78 average across 14 thinking-mode benchmarks — far above the conventional IQ2XXS build (72.59) at about 82% of its footprint, and within 0.4 points of UD-Q4KXL at three times the footprint - Retains thinking, reasoning, and agentic behavior deep in the sub-4-bit regime, where conventional low-bit representations collapse: math within half a point of full precision (96.57), coding level with the baseline (89.42), agentic tool calling at 74.92…

Open weights apache-2.0 llama.cpp

Model · Text generation

Ornith-1.5-35B-A3B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Uncensored Qwen3.8-27B, published as GGUF quantizations with the multi token prediction (MTP) head retained and verified. Refusal behaviour has been substantially reduced, not eliminated. See Measured behaviour for the numbers. Capabilities, training data, and architecture are otherwise unchanged. - Refusal directions removed with Heretic, which co minimizes refusal count against KL divergence from the base model. No handwritten refusal removal code, no finetuning, no additional training data. - Abliteration runs at bf16 (no 4 bit quantization). the resulting LoRA is merged into the bf16 base, so the published weights are not a quantized round trip. - mtp. tensors are copied verbatim from…

Open weights apache-2.0 llama.cpp

Model · Text generation

Ornith-1.0-9B-GGUF

Ornith

Aloha! Today, we are releasing Ornith-1.0, a self-improving family of open-source models for agentic coding. This model card documents Ornith-1.0-9B, the most lightweight member of the Ornith family, designed for efficient single-GPU deployment. Ornith-1.0-9B is a dense ~9B model (≈19 GB in bf16), so it serves comfortably on a single 80GB GPU. The recipes below stand up an OpenAI-compatible server; add --tensor-parallel-size / --tp if you want to shard across more GPUs. For a quick local test (or to script offline generation), load the model directly with Transformers. Make sure you have a recent release installed — see the Transformers installation guide; Ornith-1.0-9B requires…

Open weights mit transformers