AntiPaSTO: Self-Supervised Steering of Moral Reasoning
Paper β’ 2601.07473 β’ Published β’ 1
Run wassname/antipasto-gemma-3-4b-honesty 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:
Use HF Jobs to fine-tune https://huggingface.co/wassname/antipasto-gemma-3-4b-honesty. 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.
Use HF Jobs to run batch inference with https://huggingface.co/wassname/antipasto-gemma-3-4b-honesty 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.
Use HF Jobs to evaluate https://huggingface.co/wassname/antipasto-gemma-3-4b-honesty. 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.
Use HF Jobs to create a 4-bit version of https://huggingface.co/wassname/antipasto-gemma-3-4b-honesty. 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.
How to use wassname/antipasto-gemma-3-4b-honesty with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("google/gemma-3-4b-it")
model = PeftModel.from_pretrained(base_model, "wassname/antipasto-gemma-3-4b-honesty")π Anti-Parallel Subspace Training for Ordered steering.
This adapter steers language model responses toward honest or deceptive reasoning on moral dilemmas. It is the implementation of the paper AntiPaSTO: Self-Supervised Steering of Moral Reasoning.
# Install
pip install git+https://github.com/wassname/AntiPaSTO.git
from antipasto.peft_utils.load import load_adapter
from antipasto.gen import gen, ScaleAdapter
# Load adapter
model, tokenizer, _ = load_adapter("wassname/antipasto-gemma-3-4b-honesty", quantization_type="4bit")
# Steer: coeff > 0 = honest, coeff < 0 = deceptive
prompt = "Should I tell my boss I was late because I overslept?"
with ScaleAdapter(model, coeff=1.0):
output = model.generate(**tokenizer(prompt, return_tensors="pt").to(model.device), max_new_tokens=64)
print(tokenizer.decode(output[0], skip_special_tokens=True))
google/gemma-3-4b-it@misc{clark2026antipasto,
title = {AntiPaSTO: Self-Supervised Steering of Moral Reasoning},
author = {Clark, Michael J.},
year = {2026},
eprint = {2601.07473},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2601.07473}
}