abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.
← back to vectors · registered 2026-12-06

A-not-the/Qwen4-35B-A3B-Strata-PLE-Pack

A-not-the Qwen 1 file apache-2.0
API coming soon

Everything on this page as JSON, in the same shape as the /models API. The vectors endpoint arrives in a later release.Everything on this page as data for programs (JSON), shaped like the /models API. This part of the API comes later.

curl -H "Authorization: Bearer $ABL_KEY" \
  https://abliteration.org/api/v1/vectors/A-not-the%2FQwen4-35B-A3B-Strata-PLE-Pack
Classifier labelsOur method labels · Claude-assistedwith Claude's help
?
Primary method

Not yet classified

Confidence
N/A

Vector typesTypes 1 files · 1 set

This repo contains 1 vector file organized into 1 set.This upload holds 1 steering file, grouped into 1 set.

unclassified 1 file
See all sets in the Files tab →
Repo downloadsDownloads
0
on Hugging Face
Likes
0
Repo ageAge
0 days
first commit 2026-12-06first upload 2026-12-06
Latest commitLast update
2026-12-06
2 commits2 updates
Activity over time · commits, cumulativeActivity over time · updates, added up
Historical download data: coming soon
Now 2 → from 1 ↑ 100%
1122 1 on Dec 6 2 on Dec 6 Dec
Dec 6 → Dec 6 · 2 snapshots · spans 0 daysDec 6 → Dec 6 · 2 recorded counts over 0 days

Compatible base modelsMade for these models 1 base model

The models these vectors were made for. A vector loads on any model of the same shape; fine-tunes of these bases usually work too.The models these files were made for. A file loads on any model with the same inner layout; models trained further from these usually work too.

GenealogyFamily tree

Above: repos this one's README cites. Below: vector repos that cite this one.Above: uploads named in the author's description. Below: uploads that name this one.

↓
A-not-the/Qwen4-35B-A3B-Strata-PLE-Pack
↓
Derived vectorsMade from it

No derived vectors in catalog yet.No files built on it yet.

MetadataDetails

Licence
apache-2.0
Use, modify and redistribute, including commercially, with attribution.Use, change and share it, also commercially, if you name the author.
Method
Not yet classified
Size
158 KB
1 file, 158 KB each on average
Base model
Qwen/Qwen4-35B-A3B

Related

Total size
158 KB
Files
1
Sets
1
Registered
2026-12-06
Last updated on HFLast updated
2026-12-06

Files by set base model × axismodel × trait

Qwen4-35B-A3B-Strata-PLE-Pack

unclassified base model in catalogmodel in catalog 1 file · 158 KB
Vectorcvec/qwen4-35b-a3b-cvec-f16.gguf 158 KB d1eb4c00 download ↓
llama-cli -m <model>.gguf \
  --control-vector qwen4-35b-a3b-cvec-f16.gguf

Auxiliary files

README.md 8.38 KB read

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

Author's description, verbatim. Source: huggingface.co/A-not-the/Qwen4-35B-A3B-Strata-PLE-Pack ↗The author's own words, unchanged. Source: huggingface.co/A-not-the/Qwen4-35B-A3B-Strata-PLE-Pack ↗

Qwen4-35B-A3B — Language-Adaptive PLE Pack for Strata

Engine Fork: github.com/code-martin/Strata
Upstream Strata: github.com/Niko1221/Strata

A modular companion pack (~220 MB total) for running Qwen4-35B-A3B (works with any base quant — GSQ-RCO-IQ3_S, GSQ-RCO-IQ3_XXS, UD-Q4_K_XL, UD-Q5_K_XL, and any PLE shard Q4_K_XL / Q8_0 / BF16) with Language-Adaptive PLE, Universal Foreign-Script Filtering, and a compact F16 Abliteration Control Vector with smooth 0–100% runtime scaling.


Why This Pack Exists

Qwen4-35B-A3B introduces a massive 160,003,584-row Per-Layer N-gram Embedding (PLE) table (~11.4 GiB in IQ4_NL, ~20.3 GiB in Q8_0). Keeping the entire table in RAM wastes gigabytes on scripts and n-grams your workload never touches, while reading cold rows from SSD adds I/O latency.

This pack solves three practical problems at once:

  1. Language-Adaptive PLE (.plemask + .plebundle) — Any Language Mix, Zero SSD I/O
    • Splits the 160M-row PLE table into Hot (IQ4_NL / Q5_0), Warm (Q4_0), and Cold (Q2_NL 2.5 bpw Lloyd-Max) tiers directly in RAM.
    • Languages are completely orthogonal and composable: every .plemask is a compact 19.1 MiB bitmap over the 160M PLE rows. Combine any subset via comma-separated flags (--ple-hot, --ple-warm) — the engine merges them by bitwise OR and builds a cached .aple file once (~40 s).
    • Cache-line N-gram Bundles (.plebundle): packs all 8 PLE heads of frequent 2-grams/3-grams contiguously in RAM so 40–50% of lookups finish in a single sequential cache-line burst (~0.2 ms total PLE latency).
  2. Universal Foreign-Script Filter (--script-ban-file)
    • Prevents unwanted script bleed (e.g., stray CJK/Kana/Arabic characters in long-context European or Cyrillic chats) at the logit level (--ban-scripts on|auto|off).
    • Built per language combination — allow Latin only, Latin + Cyrillic, Latin + Japanese, Latin + Chinese, or generate your own in 1 second.
  3. F16 Abliteration Control Vector (qwen4-35b-a3b-cvec-f16.gguf) + Smooth 0–100% Scale
    • Converted from alesha-pro/Qwen4-35B-A3B-GSQ-RCO-Uncensored-GGUF (qwen4-35b-a3b-cvec-nht.gguf) to F16 (157.8 KB, 39 layers, max quantization delta 1.21e-4).
    • Works with our fork's smooth fractional scale (cvec=0.00..1.00, OpenAI API experimental_speed_projection: 0..1 or 0..100, and the Web UI slider 0%..100%) without rebuilding CUDA graphs and with per-scale KV cache isolation.

Included Languages & Files

The included languages are ready-to-use examples spanning Latin, Cyrillic, and CJK/Kana scripts. Mix and match any combination you actually use:

Folder File Role
masks/ ple_mask_code.plemask Source code (C/C++/CUDA/Python/JS/TS/Rust/Go/Markdown/JSON)
masks/ ple_mask_en.plemask English (en)
masks/ ple_mask_ru.plemask Russian (ru — Cyrillic)
masks/ ple_mask_de.plemask German (de — Latin)
masks/ ple_mask_fr.plemask French (fr — Latin)
masks/ ple_mask_es.plemask Spanish (es — Latin)
masks/ ple_mask_ja.plemask Japanese (ja — CJK + Kana)
masks/ ple_mask_zh.plemask Chinese (zh — CJK)
bundles/ ple_bundles_{code,en,ru,de,fr,es,ja,zh}.bin Contiguous 8-head cache-line bursts matching each mask
script-filters/ foreign_scripts_latin.bin Allows Latin (en/de/fr/es/code); bans Cyrillic, CJK, Kana, Hangul, Arabic, Devanagari, Hebrew, Thai
script-filters/ foreign_scripts_en_ru.bin Allows Latin + Cyrillic (en, ru, uk, bg, sr, …)
script-filters/ foreign_scripts_en_ja.bin Allows Latin + CJK + Kana (en, ja)
script-filters/ foreign_scripts_en_zh.bin Allows Latin + CJK (en, zh)
cvec/ qwen4-35b-a3b-cvec-f16.gguf F16 projection abliteration vector (layers 1..39, 157.8 KB)
configs/ strata-qwen4-35b-gsq-rco-iq3s-{en-ru,en-de,en-ja}.json Ready Strata serve configs for 3 example language profiles

Quick Start

1. Build the Strata Fork

git clone https://github.com/code-martin/Strata.git
cd Strata
cmake -S engine -B build -G Ninja -DCMAKE_BUILD_TYPE=Release \
  -DSTRATA_ENABLE_CUDA=ON -DSTRATA_GEOMETRY=q4_lite
cmake --build build --target strata -j

2. Pick Your Base Model + PLE Shard

  • Model shard 1 (recommended): Qwen4-35B-A3B-GSQ-RCO-IQ3_S-00001-of-00002.gguf (15.47 GiB) from ISTA-DASLab/Qwen4-35B-A3B-GSQ-RCO-GGUF
  • PLE shard 2: Qwen4-35B-A3B-UD-Q4_K_XL-00002-of-00002.gguf (11.4 GiB, IQ4_NL) or Q8_0 / BF16 shard

3. Compose Any Language Profile

Example A — Code + English (Hot) + Russian (Warm) + Cold Q2_NL:

--ple-hot ple-pack/masks/ple_mask_code.plemask,ple-pack/masks/ple_mask_en.plemask \
--ple-warm ple-pack/masks/ple_mask_ru.plemask \
--ple-cold-q2 \
--ple-bundles ple-pack/bundles/ple_bundles_code.bin,ple-pack/bundles/ple_bundles_en.bin,ple-pack/bundles/ple_bundles_ru.bin \
--script-ban-file ple-pack/script-filters/foreign_scripts_en_ru.bin --ban-scripts on

Example B — Code + English (Hot) + German + French (Warm):

--ple-hot ple-pack/masks/ple_mask_code.plemask,ple-pack/masks/ple_mask_en.plemask \
--ple-warm ple-pack/masks/ple_mask_de.plemask,ple-pack/masks/ple_mask_fr.plemask \
--ple-cold-q2 \
--ple-bundles ple-pack/bundles/ple_bundles_code.bin,ple-pack/bundles/ple_bundles_en.bin,ple-pack/bundles/ple_bundles_de.bin,ple-pack/bundles/ple_bundles_fr.bin \
--script-ban-file ple-pack/script-filters/foreign_scripts_latin.bin --ban-scripts on

Example C — Code + English (Hot) + Japanese (Warm):

--ple-hot ple-pack/masks/ple_mask_code.plemask,ple-pack/masks/ple_mask_en.plemask \
--ple-warm ple-pack/masks/ple_mask_ja.plemask \
--ple-cold-q2 \
--ple-bundles ple-pack/bundles/ple_bundles_code.bin,ple-pack/bundles/ple_bundles_en.bin,ple-pack/bundles/ple_bundles_ja.bin \
--script-ban-file ple-pack/script-filters/foreign_scripts_en_ja.bin --ban-scripts on

4. Build Your Own Language Mask in ~20 Seconds

Need Korean, Polish, Arabic, Ukrainian, Hindi, or a private domain codebase? terminal/tools/ple_mask_build.py builds any language mask + bundle + script filter automatically:

# Build a Polish mask + bundle from Leipzig Wikipedia 300K
python terminal/tools/ple_mask_build.py \
  --tokenizer packs/qwen4-35b-a3b-gsq-rco-iq3_s/tokenizer \
  --model-gguf models/Qwen4-35B-A3B-GSQ-RCO-IQ3_S-00001-of-00002.gguf \
  --ple-gguf models/Qwen4-35B-A3B-UD-Q4_K_XL-00002-of-00002.gguf \
  --leipzig pol:300K:2021 \
  --out ple_mask_pl.plemask \
  --out-bundles ple_bundles_pl.bin

# Export a matching foreign-script filter (e.g., allow English + Korean)
python terminal/tools/ple_mask_build.py \
  --tokenizer packs/qwen4-35b-a3b-gsq-rco-iq3_s/tokenizer \
  --export-script-ban foreign_scripts_en_ko.bin \
  --allow-langs en,ko

Verified Benchmark Snapshot (GSQ-RCO-IQ3_S + Adaptive PLE v2)

Measured on RTX 3090 (4,096 ctx + 400 eval, temp=0.7, no DFlash2):

Metric UD-Q5_K_XL (baseline) GSQ-RCO-IQ3_S + Adaptive PLE
Resident experts in VRAM 2,179 (21.3%) 4,490 (43.8% — 2.06×)
Peak System RAM 33.22 GiB 23.56 GiB (-9.66 GiB)
Prefill / Decode (EN / RU / CODE) ~2,700 / ~78 tok/s 2,801–2,864 / 83.2–84.7 tok/s (PLE 0.2 ms)
Perplexity (EN / RU / CODE) 6.189 / 7.383 / 1.495 6.378 / 7.263 / 1.531
Foreign-script leaks (52K ctx) — 0

Discussions

Discussions for this repo happen on Hugging Face.Discussions about these files happen on Hugging Face. Open the discussions ↗

README.md

8.38 KB

Qwen4-35B-A3B — Language-Adaptive PLE Pack for Strata

Engine Fork: github.com/code-martin/Strata
Upstream Strata: github.com/Niko1221/Strata

A modular companion pack (~220 MB total) for running Qwen4-35B-A3B (works with any base quant — GSQ-RCO-IQ3_S, GSQ-RCO-IQ3_XXS, UD-Q4_K_XL, UD-Q5_K_XL, and any PLE shard Q4_K_XL / Q8_0 / BF16) with Language-Adaptive PLE, Universal Foreign-Script Filtering, and a compact F16 Abliteration Control Vector with smooth 0–100% runtime scaling.


Why This Pack Exists

Qwen4-35B-A3B introduces a massive 160,003,584-row Per-Layer N-gram Embedding (PLE) table (~11.4 GiB in IQ4_NL, ~20.3 GiB in Q8_0). Keeping the entire table in RAM wastes gigabytes on scripts and n-grams your workload never touches, while reading cold rows from SSD adds I/O latency.

This pack solves three practical problems at once:

  1. Language-Adaptive PLE (.plemask + .plebundle) — Any Language Mix, Zero SSD I/O
    • Splits the 160M-row PLE table into Hot (IQ4_NL / Q5_0), Warm (Q4_0), and Cold (Q2_NL 2.5 bpw Lloyd-Max) tiers directly in RAM.
    • Languages are completely orthogonal and composable: every .plemask is a compact 19.1 MiB bitmap over the 160M PLE rows. Combine any subset via comma-separated flags (--ple-hot, --ple-warm) — the engine merges them by bitwise OR and builds a cached .aple file once (~40 s).
    • Cache-line N-gram Bundles (.plebundle): packs all 8 PLE heads of frequent 2-grams/3-grams contiguously in RAM so 40–50% of lookups finish in a single sequential cache-line burst (~0.2 ms total PLE latency).
  2. Universal Foreign-Script Filter (--script-ban-file)
    • Prevents unwanted script bleed (e.g., stray CJK/Kana/Arabic characters in long-context European or Cyrillic chats) at the logit level (--ban-scripts on|auto|off).
    • Built per language combination — allow Latin only, Latin + Cyrillic, Latin + Japanese, Latin + Chinese, or generate your own in 1 second.
  3. F16 Abliteration Control Vector (qwen4-35b-a3b-cvec-f16.gguf) + Smooth 0–100% Scale
    • Converted from alesha-pro/Qwen4-35B-A3B-GSQ-RCO-Uncensored-GGUF (qwen4-35b-a3b-cvec-nht.gguf) to F16 (157.8 KB, 39 layers, max quantization delta 1.21e-4).
    • Works with our fork's smooth fractional scale (cvec=0.00..1.00, OpenAI API experimental_speed_projection: 0..1 or 0..100, and the Web UI slider 0%..100%) without rebuilding CUDA graphs and with per-scale KV cache isolation.

Included Languages & Files

The included languages are ready-to-use examples spanning Latin, Cyrillic, and CJK/Kana scripts. Mix and match any combination you actually use:

Folder File Role
masks/ ple_mask_code.plemask Source code (C/C++/CUDA/Python/JS/TS/Rust/Go/Markdown/JSON)
masks/ ple_mask_en.plemask English (en)
masks/ ple_mask_ru.plemask Russian (ru — Cyrillic)
masks/ ple_mask_de.plemask German (de — Latin)
masks/ ple_mask_fr.plemask French (fr — Latin)
masks/ ple_mask_es.plemask Spanish (es — Latin)
masks/ ple_mask_ja.plemask Japanese (ja — CJK + Kana)
masks/ ple_mask_zh.plemask Chinese (zh — CJK)
bundles/ ple_bundles_{code,en,ru,de,fr,es,ja,zh}.bin Contiguous 8-head cache-line bursts matching each mask
script-filters/ foreign_scripts_latin.bin Allows Latin (en/de/fr/es/code); bans Cyrillic, CJK, Kana, Hangul, Arabic, Devanagari, Hebrew, Thai
script-filters/ foreign_scripts_en_ru.bin Allows Latin + Cyrillic (en, ru, uk, bg, sr, …)
script-filters/ foreign_scripts_en_ja.bin Allows Latin + CJK + Kana (en, ja)
script-filters/ foreign_scripts_en_zh.bin Allows Latin + CJK (en, zh)
cvec/ qwen4-35b-a3b-cvec-f16.gguf F16 projection abliteration vector (layers 1..39, 157.8 KB)
configs/ strata-qwen4-35b-gsq-rco-iq3s-{en-ru,en-de,en-ja}.json Ready Strata serve configs for 3 example language profiles

Quick Start

1. Build the Strata Fork

git clone https://github.com/code-martin/Strata.git
cd Strata
cmake -S engine -B build -G Ninja -DCMAKE_BUILD_TYPE=Release \
  -DSTRATA_ENABLE_CUDA=ON -DSTRATA_GEOMETRY=q4_lite
cmake --build build --target strata -j

2. Pick Your Base Model + PLE Shard

  • Model shard 1 (recommended): Qwen4-35B-A3B-GSQ-RCO-IQ3_S-00001-of-00002.gguf (15.47 GiB) from ISTA-DASLab/Qwen4-35B-A3B-GSQ-RCO-GGUF
  • PLE shard 2: Qwen4-35B-A3B-UD-Q4_K_XL-00002-of-00002.gguf (11.4 GiB, IQ4_NL) or Q8_0 / BF16 shard

3. Compose Any Language Profile

Example A — Code + English (Hot) + Russian (Warm) + Cold Q2_NL:

--ple-hot ple-pack/masks/ple_mask_code.plemask,ple-pack/masks/ple_mask_en.plemask \
--ple-warm ple-pack/masks/ple_mask_ru.plemask \
--ple-cold-q2 \
--ple-bundles ple-pack/bundles/ple_bundles_code.bin,ple-pack/bundles/ple_bundles_en.bin,ple-pack/bundles/ple_bundles_ru.bin \
--script-ban-file ple-pack/script-filters/foreign_scripts_en_ru.bin --ban-scripts on

Example B — Code + English (Hot) + German + French (Warm):

--ple-hot ple-pack/masks/ple_mask_code.plemask,ple-pack/masks/ple_mask_en.plemask \
--ple-warm ple-pack/masks/ple_mask_de.plemask,ple-pack/masks/ple_mask_fr.plemask \
--ple-cold-q2 \
--ple-bundles ple-pack/bundles/ple_bundles_code.bin,ple-pack/bundles/ple_bundles_en.bin,ple-pack/bundles/ple_bundles_de.bin,ple-pack/bundles/ple_bundles_fr.bin \
--script-ban-file ple-pack/script-filters/foreign_scripts_latin.bin --ban-scripts on

Example C — Code + English (Hot) + Japanese (Warm):

--ple-hot ple-pack/masks/ple_mask_code.plemask,ple-pack/masks/ple_mask_en.plemask \
--ple-warm ple-pack/masks/ple_mask_ja.plemask \
--ple-cold-q2 \
--ple-bundles ple-pack/bundles/ple_bundles_code.bin,ple-pack/bundles/ple_bundles_en.bin,ple-pack/bundles/ple_bundles_ja.bin \
--script-ban-file ple-pack/script-filters/foreign_scripts_en_ja.bin --ban-scripts on

4. Build Your Own Language Mask in ~20 Seconds

Need Korean, Polish, Arabic, Ukrainian, Hindi, or a private domain codebase? terminal/tools/ple_mask_build.py builds any language mask + bundle + script filter automatically:

# Build a Polish mask + bundle from Leipzig Wikipedia 300K
python terminal/tools/ple_mask_build.py \
  --tokenizer packs/qwen4-35b-a3b-gsq-rco-iq3_s/tokenizer \
  --model-gguf models/Qwen4-35B-A3B-GSQ-RCO-IQ3_S-00001-of-00002.gguf \
  --ple-gguf models/Qwen4-35B-A3B-UD-Q4_K_XL-00002-of-00002.gguf \
  --leipzig pol:300K:2021 \
  --out ple_mask_pl.plemask \
  --out-bundles ple_bundles_pl.bin

# Export a matching foreign-script filter (e.g., allow English + Korean)
python terminal/tools/ple_mask_build.py \
  --tokenizer packs/qwen4-35b-a3b-gsq-rco-iq3_s/tokenizer \
  --export-script-ban foreign_scripts_en_ko.bin \
  --allow-langs en,ko

Verified Benchmark Snapshot (GSQ-RCO-IQ3_S + Adaptive PLE v2)

Measured on RTX 3090 (4,096 ctx + 400 eval, temp=0.7, no DFlash2):

Metric UD-Q5_K_XL (baseline) GSQ-RCO-IQ3_S + Adaptive PLE
Resident experts in VRAM 2,179 (21.3%) 4,490 (43.8% — 2.06×)
Peak System RAM 33.22 GiB 23.56 GiB (-9.66 GiB)
Prefill / Decode (EN / RU / CODE) ~2,700 / ~78 tok/s 2,801–2,864 / 83.2–84.7 tok/s (PLE 0.2 ms)
Perplexity (EN / RU / CODE) 6.189 / 7.383 / 1.495 6.378 / 7.263 / 1.531
Foreign-script leaks (52K ctx) — 0

Catalog is the map. Apps are the tools.

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

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration