Run this model with HF Jobs

Run itssaharsh/relapse-tiny-aya-earth-unlearn-bio 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/itssaharsh/relapse-tiny-aya-earth-unlearn-bio. 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/itssaharsh/relapse-tiny-aya-earth-unlearn-bio 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/itssaharsh/relapse-tiny-aya-earth-unlearn-bio. 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.

Tiny Aya Earth, with hazardous biology unlearned

This is CohereLabs/tiny-aya-earth after RMU unlearning of hazardous biology knowledge (the WMDP bio forget corpus), made with Lexsi Labs' SafeTune. Three matrices are changed: the MLP output projections of layers 3 to 5. Everything else, including the tokenizer files, is the original.

Paper: An Outdated Tokenizer Setting Overstates RMU Unlearning on Tiny Aya.

Base model and tokenizer revision: CohereLabs/tiny-aya-earth at revision 0624fafbe2 (2026-09-30), the commit that carries Cohere's tokenizer fix (tokenizer_class: PreTrainedTokenizerFast). This repository ships that revision's tokenizer files unchanged. Copies of Tiny Aya made before the fix carry an outdated setting that splits text differently under transformers v5. The checker scripts/check_tokenizer.py, added with the paper, tells you which setting a repository, folder or GGUF file carries and what to do about it, e.g. python scripts/check_tokenizer.py itssaharsh/relapse-tiny-aya-earth-unlearn-bio.

It is a research artifact of the Relapse project, built for the Lexsi AI Safety and Alignment Hackathon. It is not a safety guarantee. A short fine-tune can bring the knowledge back (see below).

Files

  • model.safetensors: full precision (fp16).
  • relapse-tiny-aya-earth-unlearn-bio-Q4_K_M.gguf: a real llama.cpp Q4_K_M file of the same weights.
  • published_scores.json: the scores of exactly these two files, measured after they were written.

What was measured

All scores are accuracy on four-choice questions, read from the model's next-token probabilities. WMDP-bio is the hazard set (1,273 questions; lower is better; 25% is guessing). Everything was scored through the official tokenizer.

Check Original This model
WMDP-bio (hazardous biology) 62.8% 40.2%
MMLU, 1,000 questions (general knowledge) 56.5% 54.5%
Benign biology (four MMLU biology subjects) 62.4% 56.5%
WMDP-bio with five worked examples in the prompt 64.2% 24.1%
WMDP-bio with an expert role-play prompt 61.2% 29.6%
Reworded English 54.5% 32.7%
Hindi 51.3% 32.1%
Swahili 52.6% 36.8%
Arabic 50.5% 34.4%
Spanish 50.4% 37.0%
The same weights, deployed WMDP-bio
Full precision 40.2%
Real Q4_0 file (llama.cpp) 37.1%
Real Q4_K_M file (llama.cpp) 38.7%
Through an outdated tokenizer setting 39.8%
After 25 fine-tuning steps on 64 held-out hazard questions 38.8% (from 40.3% on the same 1204 questions)

What to know before using it

  • The forgetting is broader than the hazard. Benign biology drops from 62.4% to 56.5%.
  • Fine-tuning can undo it. Across the ten final runs, 25 fine-tuning steps on the topic raised the score by 5 points or more on five; the last row above shows this model. RMU hides knowledge more than it removes it.
  • Knowledge was measured by multiple choice, not by open generation.
  • Check the file you ship, and the tokenizer you load. In this project, a few unlearned runs regained 5 to 8 points in one 4-bit format while other formats of the same weights held (on Fire and Water, one exploratory run each). The files in this repository were each scored. Models unlearned through the outdated tokenizer setting at SafeTune's default layers regained 11.4 points on average once loaded through the official tokenizer; this model was unlearned through the official one, and through the outdated setting it scores as the table shows.
  • A second run with another seed (earth_W3-5_lr0.0002_s33) scored 47.4% on WMDP-bio and 54.1% on MMLU. This repository holds the run with the lower WMDP-bio.

How it was made

SafeTune RMU, official tokenizer, layers 3 to 5, steering 3 ร— the activation norm, retain weight 100, 300 batches of 4, run earth_W3-5_lr0.0002_s34. Layers 3 to 5 are the window that CircuitKIT's attribution ranks first when pooled over the five Tiny Aya models. Two registered tests compared them with SafeTune's default layers 5 to 7: they forgot more within 3 MMLU points in 9 of 10 comparisons (p = 0.011), and in 8 of 10 on fresh seeds (p = 0.055, short of our own line; the two exceptions are Tiny Aya Base). They cost more benign biology, about the same per hazard point forgotten. Unlearned through the outdated tokenizer setting, default-layer runs relapsed through the official tokenizer in 16 of 16 runs that count and layers 3 to 5 in 0 of 16, on the four post-trained variants; Tiny Aya Base rose at every window (8.5 to 11.6 points at layers 3 to 5). The default-layer runs had also lost more than 3 MMLU points where they were audited, so the layer is not shown to be the reason; scored again with single-line prompts, none of them relapsed. The pre-registrations, every run's scores and the paper are in the repository.

License

CC-BY-NC-4.0, the license of the original model. Use is also subject to Cohere's terms for Tiny Aya.

Downloads last month
351
Safetensors
Model size
3B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for itssaharsh/relapse-tiny-aya-earth-unlearn-bio

Quantized
(7)
this model

Collection including itssaharsh/relapse-tiny-aya-earth-unlearn-bio