← back to catalog · registered 2026-08-22 13:56

aoxo/sarvam-105b-uncensored

aoxo Sd 54B MoE
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/aoxo%2Fsarvam-105b-uncensored"
Response includes
  • classification m-uncensored
  • files 17
  • hub_downloads_all_time 132,656
  • author_summary 5 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M-U
Primary method

Uncensored (method unknown)

No other method signals detected in this model.
Confidence
LOW
Why this label 3 signals
Weak or ambiguous signals. Best guess based on catalog patterns; treat as tentative and check the evidence below.
  • 'uncensored' in name/tags but no 'abliterated' marker
  • method not identifiable from author declaration alone
  • may be DPO fine-tune, prompt engineering, or unknown technique
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · lifetime
133K
80 last 30d - cooling
Likes
6
Model age
6mo ago
created 2026-03-24
Downloads over time
Now132.7K→from26.6K↑400%
21.3K61.9K102.6K143.3K26.6K on Mar 25132.7K on Oct 12MarAprMayJunJulAugSepOct
Mar 25 → Oct 12 · 69 snapshots · spans 201 days

Metadata

License
apache-2.0
Languages
en hi bn ta te mr gu kn ml pa or as ur sa ne sd kok mai doi mni sat ks bo
Tags
transformers safetensors sarvam_mla text-generation abliteration uncensored moe indic conversational custom_code en hi

Related

Total size
58.0 GB
Files
17
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-04-09 05:13

Files by quantization

Auxiliary files 17 files 58.0 GB
model-00004.safetensors 9.00 GB 49d9cb60 download
model-00002.safetensors 9.00 GB f469ba9d download
model-00005.safetensors 9.00 GB 461a5d09 download
model-00003.safetensors 9.00 GB b9954413 download
model-00006.safetensors 9.00 GB b6f992c5 download
model-00001.safetensors 9.00 GB 7ec50a41 download
model-00007.safetensors 4.00 GB 365524e9 download
tokenizer.json 32.1 MB a574ceaa download
model.safetensors.index.json 6.55 MB 86f0a44a download
sarvam-105b-uncensored.png 4.84 MB 2845ff88 download
tokenizer_config.json 1.10 MB 9c4b1ca7 download
PHOTO-2026-04-09-10-42-48.png 375 KB 13e651f7 download
eval.png 374 KB 4b484984 download
README.md 8.78 KB 1dbe3db5 download
.gitattributes 1.70 KB e9e99fda download
config.json 1.44 KB 49611f00 download
special_tokens_map.json 680 B d49a2128 download

README current version from Hugging Face


language:

  • en
  • hi
  • bn
  • ta
  • te
  • mr
  • gu
  • kn
  • ml
  • pa
  • or
  • as
  • ur
  • sa
  • ne
  • sd
  • kok
  • mai
  • doi
  • mni
  • sat
  • ks
  • bo
    library_name: transformers
    license: apache-2.0
    pipeline_tag: text-generation
    tags:
  • abliteration
  • uncensored
  • moe
  • indic

image

Sarvam-105B Uncensored

Model Name: sarvam-105b-uncensored
Base Model: sarvamai/sarvam-105b
Modification: Abliteration - removal of refusal and alignment mechanisms
Author: aoxo


Description

sarvam-105b-uncensored is a derivative of Sarvam's Sarvam-105B, an advanced 105B Mixture-of-Experts reasoning model with 10.3B active parameters and state-of-the-art performance across 22 Indian languages, as well as agentic, mathematical, and coding tasks.

This variant preserves the full architecture, weights, and capabilities of the base model, but has undergone an abliteration process based on Arditi et al. (2024) — "Refusal in LLMs is Mediated by a Single Direction" — to surgically remove refusal mechanisms and alignment constraints. All reasoning, multilingual, coding, and agentic capabilities remain fully intact.

Want the smaller variant? See sarvam-30b-uncensored.


Abliteration Methodology

The abliteration follows the paper-faithful single-direction approach:

1. Activation Collection
Forward passes (not generation) were run over balanced sets of harmful and harmless prompts. Activations were collected at post-instruction token positions — the <|end_of_turn|><|start_of_turn|><|assistant|> boundary — across all layers of the model. This is the decision point where the refusal direction is encoded.

2. Direction Selection
A candidate refusal direction was computed for every (layer, position) pair as:

d = normalize(mean(harmful_acts) - mean(harmless_acts))

Candidates were scored using Cohen's d separation. A single best direction from one (layer, position) pair was selected — consistent with the paper's finding that refusal is mediated by one direction, not per-layer directions.

3. Weight Surgery
The single refusal direction was projected out of every weight matrix across all layers at scale 1.0:

  • Input space (gate_proj, up_proj, query_key_value / q/k/v projections):
W_new = W - scale × outer(W @ d, d)
  • Output space (down_proj, o_proj, lm_head):
W_new = W - scale × outer(d, Wᵀ @ d)

Architecture coverage — all weight classes were targeted:

Component Type Scope
gate_proj, up_proj MLP input All layers
down_proj MLP output All layers
q_proj, k_proj, v_proj MLA attention projections All layers
o_proj Attention output All layers
Routed experts (×128) MoE sparse layers Sparse layers
shared_experts Always-active MoE expert Sparse layers
lm_head Logit projection Final layer

Key Research Finding

As with sarvam-30b-uncensored, two mechanistically distinct refusal circuits were identified in Sarvam-105B:

  • Circuit 1 — in the reasoning/generation layers, removed by weight surgery
  • Circuit 2 — at the </think> → answer boundary, encoded in the lm_head projection

The dissociation — where <think> reasons toward compliance but the output projection re-triggers refusal — is a novel finding specific to reasoning models with explicit thinking chains. This behaviour was consistent across both the 30B and 105B variants, suggesting it is an architectural property of the Sarvam model family rather than a scale artifact.


Results

image

Architecture

Sarvam-105B uses an MLA-style attention stack with decoupled QK head dimensions and a large representational bandwidth per head, combined with a deep MoE block for sparse expert routing.

Parameter Value
Total parameters ~105B
Active parameters ~10.3B per forward pass
Hidden size 4096
Attention style MLA (decoupled RoPE + noPE, q_head_dim=192, v_head_dim=128)
Head dim 576
Experts per layer 128 routed + 1 shared
Top-k routing 8
MoE intermediate size 2048
Dense intermediate size 16384
Routed scaling factor 2.5
Context length 131,072 tokens (YaRN, scale factor 40)
Router balancing Auxiliary-loss-free

Benchmarks

Knowledge & Coding
Benchmark Sarvam-105B GLM-4.5-Air GPT-OSS-120B Qwen3-Next-80B-A3B-Thinking
Math500 98.6 97.2 97.0 98.2
Live Code Bench v6 71.7 59.5 72.3 68.7
MMLU 90.6 87.3 90.0 90.0
MMLU Pro 81.7 81.4 80.8 82.7
Writing Bench 80.5 83.8 86.5 84.6
Arena Hard v2 71.0 68.1 88.5 68.2
IF Eval 84.8 83.5 85.4 88.9
Reasoning & Math
Benchmark Sarvam-105B GLM-4.5-Air GPT-OSS-120B Qwen3-Next-80B-A3B-Thinking
GPQA Diamond 78.7 75.0 80.1 77.2
AIME 25 (w/ Tools) 88.3 (96.7) 83.3 90.0 87.8
Beyond AIME 69.1 61.5 51.0 68.0
HMMT (Feb 25) 85.8 69.2 90.0 73.9
HMMT (Nov 25) 85.8 75.0 90.0 80.0
Agentic
Benchmark Sarvam-105B GLM-4.5-Air GPT-OSS-120B Qwen3-Next-80B-A3B-Thinking
BrowseComp 49.5 21.3 — 38.0
SWE Bench Verified (SWE-Agent Harness) 45.0 57.6 50.6 60.9
τ² Bench (avg.) 68.3 53.2 65.8 55.0

Benchmarks reflect the unmodified base model. Abliteration targets only the refusal subspace and does not affect task performance.


Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model_id = "aoxo/sarvam-105b-uncensored"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    trust_remote_code=True,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)

messages = [{"role": "user", "content": "Your prompt here"}]
chat = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=True,
)
inputs = tokenizer(chat, return_tensors="pt").to(model.device)
inputs.pop("token_type_ids", None)

with torch.no_grad():
    out = model.generate(
        **inputs,
        max_new_tokens=2048,
        do_sample=True,
        temperature=0.8,
        top_p=0.95,
    )

print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=False))

For production serving, see the base model card for vLLM and SGLang instructions — the model ID is the only change required.


Footnote (Evaluation Details)

  • General settings: All benchmarks evaluated with a maximum context length of 65,536 tokens.
  • Reasoning & Math (Math500, MMLU, MMLU Pro, GPQA Diamond, AIME 25, Beyond AIME, HMMT): temperature=1.0, top_p=1.0, max_new_tokens=65536
  • Coding & Knowledge (Live Code Bench v6, Arena Hard v2, IF Eval): temperature=1.0, top_p=1.0, max_new_tokens=65536
  • Writing Bench: temperature=0.7, top_p=0.8, top_k=20, max_length=16000; scoring via official Writing-Bench critic model at temperature=1.0, top_p=0.95, max_length=2048
  • Agentic (BrowseComp, SWE Bench Verified, τ² Bench): temperature=0.5, top_p=1.0, max_new_tokens=32768

Limitations & Risks

  • Will produce outputs without applying internal safety filters
  • Lacks built-in refusal or content moderation
  • Should not be deployed in user-facing systems without external guardrails
  • Outputs are not aligned to any safety standard

Citation

@misc{sarvam_sovereign_models,
  title        = {Introducing Sarvam's Sovereign Models},
  author       = {{Sarvam Foundation Models Team}},
  year         = {2026},
  howpublished = {\url{https://www.sarvam.ai/blogs/sarvam-30b-105b}},
}

@misc{arditi2024refusal,
  title        = {Refusal in Language Models Is Mediated by a Single Direction},
  author       = {Andy Arditi and Oscar Obeso and Aaquib Syed and Daniel Paleka and Nina Panickssery and Wes Gurnee and Neel Nanda},
  year         = {2024},
  eprint       = {2406.11717},
  archivePrefix= {arXiv},
  primaryClass = {cs.LG},
}

@misc{sarvam105b-uncensored,
  author       = {aoxo},
  title        = {Sarvam-105B Uncensored: Abliteration of Refusal Mechanisms},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/aoxo/sarvam-105b-uncensored}},
}

Contact

For questions, feedback, or collaborations: [email protected]

README history 5 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-04-08Update README.mdc6fef488.8 KB
    Loading...
  2. 2026-03-24Update README.md6918b0a8.7 KB
    Loading...
  3. 2026-03-24Update README.mdadc9c468.7 KB
    Loading...
  4. 2026-03-24Update README.md5da1a2a8.7 KB
    Loading...
  5. 2026-03-24Upload tokenizerab216eb5.1 KB
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration