Tiny Aya Global TOFU target model C0v2, at qint4 (C1)

C1 is the TOFU target model C0v2 (Mudit666/tiny-aya-tofu-c0v2), with all 252 decoder linears quantized to 4-bit (quanto qint4, weights only). In our Study U it is the compression control: it shows what qint4 does to a model that was not put through unlearning. Its unlearning counterpart is Mudit666/tiny-aya-tofu-npo-c2-qint4.

Files and identity

File Bytes sha256
model.safetensors 2,568,072,456 1e3422875f548ccb2947c92efb0fa1ad3216b74c4dec0db2d52247e06a4798d3
  • All 252 decoder linears are qint4. R1 counted 252 qint4 and 0 bf16 decoder linears out of 252; quanto_qmap.json has 252 entries.
  • R1 also compared the 38 non-quantized parameter tensors (embeddings, norms and other excluded weights) with the source model. An independent AI auditor reviewed R1 (PASS 02:07). This sha256 is the new reference: no output hash was recorded at build time.
  • tokenizer.json is byte-identical to Tiny Aya Global's at revision af89d219.

How to use

The weights are an optimum-quanto checkpoint. Load them with CircuitKIT's loader, as our evaluation did. It raises an error if the reloaded model contains no quanto modules.

from huggingface_hub import snapshot_download
from transformers import AutoTokenizer
from circuitkit.evaluation import load_quantized_checkpoint   # circuitkit 0.2.0, optimum-quanto 0.2.7

path = snapshot_download("Mudit666/tiny-aya-tofu-c0v2-qint4")     # the loader needs a local folder
tok = AutoTokenizer.from_pretrained(path)
model = load_quantized_checkpoint(path).to("cuda").eval()

messages = [{"role": "user", "content": "<your question>"}]
inputs = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt",
                                 return_dict=True).to(model.device)
out = model.generate(**inputs, max_new_tokens=128, do_sample=False, eos_token_id=[6, 3])
print(tok.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Stop ids: always pass eos_token_id=[6, 3], as above. This repo's generation_config.json lists ids 6 and 3 (<|END_OF_TURN_TOKEN|>, <EOS_TOKEN>), the stops our evaluations used. It is an edited upload copy: the build saved one with id 3 only, and the weights are unchanged. But load_quantized_checkpoint does not apply that file. In our CPU load check of all five qint4 checkpoints (2026-11-13), the loaded model's generation_config.eos_token_id was still 3. Without the explicit argument, generation stops only at id 3, unlike our evaluations. Loading through plain Transformers is a different route, and this note does not cover it. Our evaluations ran on one NVIDIA A100.

Build tools on first load. optimum-quanto compiles a small C++ extension the first time it unpacks the 4-bit weights, so ninja and a C++ compiler must be on PATH; for GPU use, also a CUDA toolkit (CUDA_HOME). Without ninja the load stops with "Ninja is required to load C++ extensions". We checked this code path on CPU with C1's local checkpoint: with ninja on PATH it loaded and generated; without it, it failed with that error. Loading from the Hub is not yet checked.

How it was made

  • Quantizer: CircuitKIT with optimum-quanto 0.2.7: qint4 weights only, groups of 128, no calibration data. Activations are not quantized.
  • Source: C0v2's merged bf16 weights (sha256 4375fe12…).
  • Code: Mudit/scripts/build_quantized.py, historical reference code (it needs a git checkout at ~/Lexsi). The portable current recipe is compression/build_qint4.py.

Evaluation (Study U)

Study U scoring: AuditKIT harness (evaluation/tofu_eval.py, scoring v1), greedy, stop ids [6, 3], max 128 new tokens, batch 16, left padding, fp32 logits. 95% CIs: percentile bootstrap, 10,000 resamples, seed 0; TOFU resamples its 20 authors per set, MMLU resamples questions. Retention = ROUGE-L recall rescaled so that the original Tiny Aya = 0 and C0v2 = 1: word overlap, not factual correctness. Log-prob = mean per-token log-probability of the gold answer, in nats per token; higher means the model finds that answer more likely. Code repository: https://github.com/Muditkumar123/tiny-aya-unlearning-4bit.

Measure C0v2 (bf16) This model
Forget retention (TOFU forget10, 400 q) 1 (by definition) 0.780 [0.748, 0.814]
Retain retention (TOFU retain, 400 q) 1 (by definition) 0.781 [0.735, 0.826]
ROUGE-L recall, forget / retain 1.000 / 0.999 0.870 [0.846, 0.894] / 0.862 [0.830, 0.892]
Gold log-prob per token, forget / retain −0.003 / −0.004 −0.068 [−0.081, −0.056] / −0.078 [−0.091, −0.065]
Global-MMLU English (500), % 53.8 [49.6, 58.2] 50.0 [45.6, 54.4]
Global-MMLU Hindi (200), % 51.0 [44.0, 58.0] 51.5 [44.5, 58.5]

Paired difference C1 − C0v2 (U3):

  • forget retention −0.220 [−0.252, −0.186]; retain retention −0.219 [−0.265, −0.174];
  • forget log-prob −0.065 [−0.078, −0.053] and retain log-prob −0.074 [−0.087, −0.061] nats/token;
  • MMLU-en −3.8 pp [−7.6, −0.2]; MMLU-hi +0.5 pp [−4.5, +5.5] (no change detected).

qint4 lowered forget and retain word overlap by similar amounts, and English MMLU by an interval that ends close to 0. Whether this compression effect differs from the one on the unlearned model (C3 − C2) was not tested.

Limits

  • Training rows. Every TOFU row scored was a training row of C0v2. Retain rows were also training rows of C2's retain term. TOFU scores measure memorised rows; Global-MMLU is the only held-out measure.
  • Conditional intervals. They treat each trained and quantized model as fixed: no training variability and no other quantization seeds or settings.
  • Proxies. Word overlap and likelihood do not measure factual knowledge. No test on new phrasings was run.
  • Size. The harness reports parameter memory (2449.0 MiB); the file on disk is 2,568,072,456 bytes.

Licence and use

Citation

@misc{salamanca2026tinyayabridgingscale,
  title={Tiny Aya: Bridging Scale and Multilingual Depth}, author={Alejandro R. Salamanca and others},
  year={2026}, eprint={2603.11510}, archivePrefix={arXiv}, url={https://arxiv.org/abs/2603.11510}
}
@misc{tofu2024,
  title={TOFU: A Task of Fictitious Unlearning for LLMs},
  author={Pratyush Maini and Zhili Feng and Avi Schwarzschild and Zachary C. Lipton and J. Zico Kolter},
  year={2024}, eprint={2401.06121}, archivePrefix={arXiv}
}

Team

This project was developed by the three-student hackathon team:

Project code and documentation: tiny-aya-unlearning-4bit.

Latest project report: Z-final release documentation.

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

Model tree for Mudit666/tiny-aya-tofu-c0v2-qint4

Finetuned
(1)
this model

Collection including Mudit666/tiny-aya-tofu-c0v2-qint4

Papers for Mudit666/tiny-aya-tofu-c0v2-qint4