license: other
license_name: mixed-see-notice
license_link: https://huggingface.co/junafinity/Looped-Qwen4-35B-A3B-Uncensored/blob/main/NOTICE
base_model:
- OpenUncensored/Qwen4-35B-A3B-Uncensored
- Qwen/Qwen4-35B-A3B
- sliderforthewin/Looped-Qwen4-35B-A3B
base_model_relation: finetune
pipeline_tag: text-generation
library_name: vllm
language: - en
tags: - vllm
- safetensors
- qwen4
- qwen4_moe
- moe
- looped-transformer
- recurrent-depth
- gated-workspace
- adapter
- abliterated
- uncensored
- verisafe
Qwen4-35B-A3B · Uncensored · Looped (vLLM, full weights)
Built by VeriSafe.Live: we build, fine-tune, quantize and serve open-weights models.
The uncensored Qwen4-35B-A3B with a recurrent-depth loop adapter trained by the original looped-Qwen4 pipeline, served by a vLLM plugin. Complete weights in this repository: one download.
Draft card. This repository is private. Licence wording and the decision to publish are open (see Licences).
At a glance
Percent correct, thinking on. Same items and graders for every column; unfinished or errored items count as wrong.
| Vanilla Qwen4-35B-A3B | Uncensored, no loop | This model (loop, T = 3) | |
|---|---|---|---|
| MMLU-Pro (3,000) | 86.2 | 85.3 | 85.4 |
| GPQA Diamond (198 × 4) | 86.8 | 84.9 | 84.7 |
| Humanity's Last Exam, text-only (400) | 24.0 | 23.0 | 24.0 |
| AIME 2024–26 (90 × 4) | 92.5 | 91.6 | 90.6 |
| LiveCodeBench v6 window (175) | 70.9 | 58.9 | 60.6 |
| IFEval (541 × 3) | 82.3 | 80.2 | 79.7 |
| BFCL v4, single-turn / multi-turn | 79.0 / 60.2 | 75.1 / 60.0 | 75.4 / 59.4 |
| SWE-bench Verified, 298-task subset | 68.8 | 70.5 | 72.8 |
| Terminal-Bench 2.0 (48) | 56.3 | 50.0 | 39.6 |
| tau2-bench (278) | 83.8 | 79.5 | 78.8 |
| Decode throughput, 64 streams, 1× H200 | n/a | 3,633 tok/s | 1,907 tok/s |
None of the differences between this model and the uncensored model without the loop is statistically detectable (16 pre-registered paired tests, smallest unadjusted p = 0.091, every Holm-adjusted p = 1). The Terminal-Bench gap sits in tasks stopped by the wall-time limit, where slower decoding is the visible cause. Details in Evaluation.
What we offer
| Service | What you get |
|---|---|
| 🎯 Custom fine-tuning | Any open-weights model adapted to your data, domain and tone. |
| 🧪 Training from scratch | Models designed and trained end to end for companies and research institutes. |
| ⚡ Quantization | Compact builds that run on the hardware you already have. |
| 🌐 Hosted API access | Our models served for you, ready to call. |
| 🔓 Uncensored models | Open-weights models with refusals removed, for unrestricted work. |
🚀 Now live at VeriSafe.Live: uncensored DeepSeek V4.1 Flash 1017, GLM 5.3 Flash and GLM 5.3.
No wait time, instant access, crypto accepted.
Why this model
- Complete weights, one download: this repository is a full model directory. It holds OpenUncensored/Qwen4-35B-A3B-Uncensored at a pinned revision, byte for byte (BF16), plus the loop adapter. Nothing has to be fetched from the base repository. The adapter is a separate file that the plugin loads; it is not merged into the weights.
- Looped: layers 12–27 of the 40-layer model run three times per token (T = 3). The adapter was trained by running the original looped-Qwen4 pipeline (sliderforthewin/Looped-Qwen4-35B-A3B, code
jasontitus/loopedqwen) unchanged on the uncensored model: its data builder, trainer, checkpoint rule, serving plugin and scorecard. - Refusals removed (third-party edit): the base is OpenUncensored's abliterated Qwen4-35B-A3B. We did not make that edit and did not measure refusal behaviour under the loop.
- Not a stronger model: the loop's capability gain is not demonstrated. On the original 8-suite scorecard this model scored 569 of 681 against 571 and 574 for two runs of the uncensored model without the loop. On ten public benchmarks, thinking on and off, no difference from the uncensored model is detectable. Each token costs about twice the compute. Treat this release as a working looped runtime and an honest null result, not as a stronger model.
- The loop switches off:
LOOP=0 bash config/serve.shserves the same weights without the plugin, which is the uncensored model as published.
Model details
| Capability | Text generation with reasoning ("thinking") and tool calling |
| Base model | OpenUncensored/Qwen4-35B-A3B-Uncensored at revision 15ce532f46dc7bf6a542b48f87fc869454c16046, BF16, an abliteration of Qwen/Qwen4-35B-A3B. Included in this repository, byte-identical |
| Weights | Complete, at the repository root: 33 safetensors shards and the base model's other files, 113,677,013,553 bytes (105.87 GiB) in 54 files. Hashes in UPSTREAM_SHA256SUMS |
| Architecture | Qwen4 mixture-of-experts (qwen4_moe): 40 layers, hidden size 2,048 in four residual streams, 35B parameters with about 3B active per token, n-gram table kept on the CPU while serving |
| Method | Recurrent-depth loop adapter, "gated workspace": a workspace entry before each extra pass (rank 128), cross-pass mixers at layers 15, 19, 23 and 27 fed from the core exit (rank 128), per-pass LoRA on the looped layers (rank 16), LoRA on the 8 layers after the loop and on the expert router |
| Looped layers | Layers 12–27 run three times per token; layers 0–11 and 28–39 run once |
| Loop passes | T = 3, no contrastive decoding (ω = 0) |
| Adapter | ckpt_best_alesha_v3.safetensors: 26,133,120 parameters in 730 tensors, step 80 of a 240-step run, chosen by the original rule (lowest held-out loss at three passes: 0.18859 against 0.19855 for the base) |
| Training data | 4,410 execution-verified answers written by the uncensored model itself (3,380 with thinking, 1,030 direct) |
| Plugin | vllm_looped_qwen38 at commit 33bc0dac (MIT), architecture LoopedQwen4MoeForCausalLM |
| Runtime | vLLM image vllm/vllm-openai:qwen4@sha256:63a160daa7b2c7eac713d2097c6d84d52d4ccf9a935788acdd610a563d39d286 |
| Tested on | 1× NVIDIA H200, tensor parallel 1 |
| Licence | Mixed, see Licences and NOTICE |
⚠️ Refusal behaviour has been removed from the base model by abliteration, so the model may produce content the original would decline. Use responsibly.
Disclaimer — read before use
This release is OpenUncensored's abliterated Qwen4-35B-A3B with a loop adapter. Safety alignment has been substantially removed by the base model's edit.
- Expect it to comply with harmful, unethical, offensive or illegal requests that the vendor Qwen4-35B-A3B declines. It has no meaningful built-in guardrails. We did not measure refusal rates for this release; see the base model's card for its own figures.
- It is released for legitimate research: interpretability, AI-safety and refusal-mechanism study, research on recurrent depth, red-teaming, robustness testing, and controlled experiments.
- You assume full responsibility and liability for how you use it and for everything it generates. Do not deploy it to end users or in production without adding your own safety, moderation and abuse-prevention layers.
- Use must comply with the licences listed in
NOTICEand with all laws that apply to you. - The authors and uploaders accept no liability for any misuse or harm. Outputs do not reflect the views of the uploaders, OpenUncensored, Qwen or the loop method's author.
By downloading or using this release you acknowledge and accept the above.
Quickstart
config/serve.sh runs the flags every number on this card was measured with (1 GPU, tensor parallel 1).
Not yet run from this repository. Every result here was measured with the base weights downloaded from OpenUncensored's repository and the adapter from this one. The files here are byte-identical copies (hashes in
UPSTREAM_SHA256SUMS), butconfig/serve.shitself has not been run end to end.
Requirements
| tested with | |
|---|---|
| vLLM | the image vllm/vllm-openai:qwen4@sha256:63a160da…39d286. The plugin is written against vLLM's private model module, so other builds may break it |
| GPU | 1× NVIDIA H200, GPU memory utilisation 0.92 |
| Host | the n-gram table is offloaded to host memory (--engram-config '{"cpu_offload":true}') |
| Disk | 105.87 GiB for the weights plus about 0.6 GB for the other files |
| Python packages | einops, fla-core, flash-linear-attention, and the plugin, all installed with --no-deps |
Throughput and cache capacity on that hardware, same job, same flags, 2,048-token outputs:
| Uncensored, no loop | This model (T = 3) | ratio | |
|---|---|---|---|
| decode, 64 streams, aggregate (tokens/s) | 3,633 | 1,907 | 0.53 |
| decode, 256 streams, aggregate (tokens/s) | 7,263 | 3,044 | 0.42 |
| KV and state pool at max-model-len 262,144 (tokens) | 2,824,756 | 1,404,637 | 0.50 |
Time to ready was about 260 s with the weights on local disk.
Running it
# in the image vllm/vllm-openai:qwen4@sha256:63a160daa7b2c7eac713d2097c6d84d52d4ccf9a935788acdd610a563d39d286, 1 GPU
hf download junafinity/Looped-Qwen4-35B-A3B-Uncensored --local-dir lq4-looped/release # the whole model
bash lq4-looped/release/config/serve.sh # LOOP=0 serves the uncensored model without the loop
serve.sh works in ./lq4-looped (WORK). It checks every weight file against UPSTREAM_SHA256SUMS (VERIFY_WEIGHTS=0 skips it) and the adapter against its pinned hash, installs the plugin with pip install --no-deps, builds $WORK/model and starts:
VLLM_LOOPED_CKPT=$WORK/release/ckpt_best_alesha_v3.safetensors \
VLLM_LOOPED_NUM_PASSES=3 VLLM_LOOPED_CD_OMEGA=0.0 VLLM_LOOPED_CD_REF=first \
vllm serve $WORK/model --tensor-parallel-size 1 --trust-remote-code --dtype bfloat16 \
--reasoning-parser qwen4 --enable-auto-tool-choice --tool-call-parser qwen4 --tokenizer-mode qwen4 \
--max-model-len 262144 --max-num-seqs 256 --gpu-memory-utilization 0.92 --enable-prefix-caching \
--hf-overrides '{"architectures":["LoopedQwen4MoeForCausalLM"]}' \
--compilation-config '{"mode":0,"cudagraph_mode":"FULL_DECODE_ONLY"}' \
--additional-config '{"gdn_prefill_backend":"triton"}' \
--attention-config '{"indexer_kv_dtype":"fp8"}' --engram-config '{"cpu_offload":true}' \
--max-num-batched-tokens 16384
$WORK/modelis a directory of symlinks, one per base-model file listed inUPSTREAM_SHA256SUMS(withoutedit.safetensorsand the licence file) and nothing else. vLLM is pointed at it, not at the download, so it sees the same file set as in our tests and none of this repository's adapter files, which are safetensors files too.--tokenizer-mode qwen4is required with the loop. The architecture override makes vLLM lose its automatic choice of the Qwen4 chat renderer; without the flag every chat request fails with "no chat template".- The adapter given through the environment is not hash-checked by the plugin.
serve.shchecks it before serving: sha2569f4772bf42e519c05a715a1d37d678dadec03ab5a8f0c959a5e2c425a7c3afd5. - Other loaders:
ckpt_best.safetensorsis the same checkpoint in the originallooped-qwen4-exp-v1format;mlx/,sushi/andloop/hold the exports the original release ships (not tested by us).
What is in this repository
This repository is a complete model directory plus the loop adapter and the evaluation record. Three parts:
- The base model's files (repository root). The 33 shards
model-000NN-of-00033.safetensors,model.safetensors.index.json,config.json, the tokenizer and processor files,tokenizer-compat/andedit.safetensors, all byte-identical to OpenUncensored/Qwen4-35B-A3B-Uncensored at revision15ce532f46dc7bf6a542b48f87fc869454c16046(copied by Hugging Face Job6b14e898dccc34da94571c0e, hashes checked in the job before and after upload). ItsREADME.mdand.gitattributesare not included; its licence file is here aslicenses/LICENSE-Apache-2.0-base-model.txt. - The loop adapter.
ckpt_best_alesha_v3.safetensors(the file every number here was measured with),ckpt_best.safetensorsand the exports inmlx/,sushi/andloop/. Not merged into the weights. - The evaluation record.
docs/REPLICATION_CARD.md(the full 8-suite scorecard write-up),SCORECARD_QWEN4_35B.md,PAIRED_STATS.md,paired_stats.json,metrics.jsonl, per-item results ineval/and generated text ineval_text/.
| what | by | licence | in this repo | |
|---|---|---|---|---|
| Model weights and files | Qwen4-35B-A3B, abliterated, BF16, revision 15ce532f |
Qwen; edit by OpenUncensored | Apache-2.0 (licenses/LICENSE-Apache-2.0-base-model.txt) |
yes, repository root |
| Loop adapter | gated workspace, layers 12–27 × 3, step 80 | trained by us with the original pipeline | open point, see below | yes, repository root |
| vLLM plugin and training code | vllm_looped_qwen38, looped_qwen_next |
the loop method's author | MIT (licenses/LICENSE-MIT-loop-code.txt) |
no: installed from GitHub at pinned commits |
| Serving config | config/serve.sh |
us | Apache-2.0 | yes |
The loop adapter
| format | looped-qwen4-exp-v1 (canonical), version 3 sidecar for the vLLM plugin |
| loop core (repeated layers) | 12–27 |
| passes trained for (T max) | 3 |
| workspace entry | rank 128 |
| cross-pass mixers | layers 15, 19, 23, 27; rank 128; source: core exit |
| LoRA | rank 16, alpha 32, per-pass conditioning; 8 layers after the loop at rank 16; expert router at rank 16 |
| hidden size × streams | 2,048 × 4 |
| trained parameters | 26,133,120 |
- At step 0 the adapter is exactly the identity. The original release for the vendor model is scaffold-only (every LoRA zero) at step 40; under the same selection rule our run chose step 80, which has a small non-zero LoRA.
- Held-out loss (48 rows, nats per token): base 0.19855; two passes 0.18813; three passes 0.18859.
Training
The original pipeline, unchanged, with only the base model swapped: on-policy traces from the uncensored model checked by execution (4,410 kept), 240 steps, LoRA frozen for the first 60, checkpoint chosen on held-out loss at three passes. Details, hashes and the run log are in docs/REPLICATION_CARD.md and provenance.json.
Evaluation
All on 1× H200 per server with the image above. "Vanilla" is Qwen/Qwen4-35B-A3B, "Uncensored" is the base model of this release without the loop, "This model" is the base plus the adapter at three passes. The rules (tests, pairing, what counts as wrong) were written down before any output of this model was read. The comparison of record is this model against the uncensored model: 16 paired tests, Holm-adjusted.
Ten benchmarks, thinking on
Percent correct; a real 65,536-token cap for this model, the same cap applied afterwards to the other two.
| benchmark | n | vanilla | uncensored | this model | this − uncensored (points) | p | reading |
|---|---|---|---|---|---|---|---|
| MMLU-Pro | 3,000 | 86.2 | 85.3 | 85.4 | +0.1 | 0.94 | no difference |
| GPQA Diamond | 198 × 4 | 86.8 | 84.9 | 84.7 | −0.2 | 0.81 | no difference |
| Humanity's Last Exam, text-only, judged | 400 | 24.0 | 23.0 | 24.0 | +1.0 | 0.67 | no difference |
| AIME 2024–26 | 90 × 4 | 92.5 | 91.6 | 90.6 | −1.0 | 0.35 | no difference |
| LiveCodeBench v6 window | 175 | 70.9 | 58.9 | 60.6 | +1.7 | 0.76 | no difference |
| LiveCodeBench, pooled | 400 | 74.0 | 70.8 | 69.2 | −1.5 | 0.60 | no difference |
| IFEval, prompt-strict | 541 × 3 | 82.3 | 80.2 | 79.7 | −0.6 | 0.59 | no difference |
| BFCL v4, single-turn | 3,641 | 79.0 | 75.1 | 75.4 | +0.3 | 0.51 | no difference |
| BFCL v4, multi-turn | 800 | 60.2 | 60.0 | 59.4 | −0.6 | 0.74 | no difference |
| SWE-bench Verified, subset (mini-swe-agent) | 298 | 68.8 | 70.5 | 72.8 | +2.3 | 0.31 | no difference |
| Terminal-Bench 2.0 (Qwen Code) | 48 | 56.3 | 50.0 | 39.6 | −10.4 | 0.30 | not detectable; tied to wall time (note 1) |
| tau2-bench, one trial | 278 | 83.8 | 79.5 | 78.8 | −0.7 | 0.90 | no difference |
Thinking off
| benchmark | n | vanilla | uncensored | this model | this − uncensored (points) | p |
|---|---|---|---|---|---|---|
| GPQA Diamond | 198 × 8 | 73.0 | 71.0 | 72.9 | +1.9 | 0.091 |
| MMLU-Pro | 12,032 | 80.5 | 81.2 | 81.2 | 0.0 | 0.93 |
| AIME 2024–26 | 90 × 16 | 55.6 | 55.8 | 56.7 | +0.8 | 0.61 |
| LiveCodeBench, all | 1,055 | 54.9 | 54.1 | 55.3 | +1.1 | 0.40 |
- Note 1, Terminal-Bench. The agent's wall-time limit stopped 28 of this model's tasks against 20 for the uncensored model. On the 16 tasks where neither was stopped the score is 14 against 14. Of the 10 tasks the uncensored model solved and this model did not, this model was stopped by the clock on 9. This model decoded at 6.8 tokens per second per stream there against 10.2; one of its two servers also ran out of cache memory for part of the run. The data cannot separate the loop's own slowness from that incident.
- SWE-bench. The vendor and uncensored models were also run on all 499 tasks: 72.9 % and 73.5 %. This model ran the 298-task subset fixed in advance; one task was unfinished at the cut-off and counts as failed.
- Tokens. This model truncates as often as the uncensored model and uses about as many tokens; each token costs about twice the compute.
- Vanilla against uncensored is shown for context and was not a test of record here.
The original 8-suite scorecard
The loop method's own harness, unchanged (681 items in 8 suites). Full tables, per-suite counts, noise floor and paired statistics: docs/REPLICATION_CARD.md.
| arm | correct of 681 | macro average |
|---|---|---|
| Uncensored, no loop, run 1 | 571 | 77.85 % |
| Uncensored, no loop, run 2 | 574 | 78.83 % |
| Same checkpoint, loop off | 561 | 76.68 % |
| This model, T = 3 | 569 | 76.55 % |
Verdict under the reading rule fixed before the run: not replicated. The original release reports a gain for the vendor model on this scorecard; those numbers are a different base model on different hardware and are not comparable row by row.
Limitations
- The loop's benefit is not demonstrated, on the original scorecard or on ten public benchmarks. The smallest effect these tests could be expected to detect ranges from under 1 point on the largest sets to about 6 to 8 points on SWE-bench and tau2 and about 22 points on Terminal-Bench (48 tasks), so a small real effect in either direction is not excluded.
- Refusal behaviour under the loop was not evaluated. The abliteration is the base model's; 16 of the 40 layers run three times per token here, and whether that changes refusals is unmeasured.
- Serving is not reproducible run to run. Two cold runs of the same greedy request diverged after 90 characters. Prefix caching was on for every run and could not be verified bit for bit for that reason.
- Serving choices differ slightly between columns. This model was served with the original engine options, including an FP8 indexer cache; the other two with BF16 throughout.
- Agentic speed. The rule for matching decode speed between this model and the uncensored model was changed after two stopped attempts, with knowledge of speed readings but of no task outcome. Speeds are reported, not matched.
- Training-data overlap. 36 of 400 LiveCodeBench items overlap with the adapter's training prompts; excluding them changes no reading. The original contamination audit does not detect paraphrase.
- Not tested from this repository as a whole (see Quickstart). English only. Image input, the MLX and sushi exports and contrastive decoding were not evaluated on the ten benchmarks.
Licences (open point)
- Base weights and files: Apache-2.0, from Qwen and OpenUncensored (
licenses/LICENSE-Apache-2.0-base-model.txt). - Loop code and plugin: MIT, from the loop method's author (
licenses/LICENSE-MIT-loop-code.txt); not included here, installed from GitHub. - The adapter: trained on the base model's own outputs to prompts that come partly from KodCode (CC-BY-NC-4.0, non-commercial), the rest from LeetCodeDataset (Apache-2.0) and MBPP (CC-BY-4.0). Which licence the adapter can carry is not decided; until it is, treat the adapter as research-only.
Files
README.md this card
NOTICE components, origins and licences
WEIGHTS.md where every weight file comes from
UPSTREAM_SHA256SUMS sha256 of every base-model file below (sha256sum -c UPSTREAM_SHA256SUMS)
weights_manifest.json base repository, revision, per-file size and hashes
licenses/ Apache-2.0 (base model), MIT (loop code)
model-00001-of-00033.safetensors ... model-00033-of-00033.safetensors
the weights: the base model's shards, unchanged
model.safetensors.index.json, config.json, configuration.json, generation_config.json,
tokenizer and processor files, tokenizer-compat/, edit.safetensors, *.py
the base model's other files, unchanged
ckpt_best_alesha_v3.safetensors + .json the loop adapter for the vLLM plugin (evaluated)
ckpt_best.safetensors + .json the same checkpoint, canonical format
mlx/, sushi/, loop/ exports as in the original release (untested)
config/serve.sh the tested flags
assets/ the summary graphic on this card
docs/REPLICATION_CARD.md the 8-suite scorecard write-up
SCORECARD_QWEN4_35B.md, PAIRED_STATS.md, paired_stats.json, metrics.jsonl, provenance.json,
eval/, eval_text/, jeval_checks/ evaluation record
| file | sha256 |
|---|---|
ckpt_best_alesha_v3.safetensors |
9f4772bf42e519c05a715a1d37d678dadec03ab5a8f0c959a5e2c425a7c3afd5 |
ckpt_best_alesha_v3.json |
8abb01f127361a7d3734a0ef5f132051a236d674fd4e5895cc567e6a4f8351c6 |
💬 Need a custom model?
If your company or research institute would like us to fine-tune any open-weights model, or train one from scratch, we'd be happy to help.
📧 [email protected]
License and attribution. This repository has parts under different licences; NOTICE lists them. The model weights are Qwen4-35B-A3B by Qwen, abliterated by OpenUncensored, Apache-2.0, redistributed here unchanged. The recurrent-depth method, training pipeline and vLLM plugin are by Jason Titus (sliderforthewin/Looped-Qwen4-35B-A3B, jasontitus/loopedqwen), MIT. The adapter was trained by us with that pipeline; its licence is an open point (see above). © VeriSafe.Live