How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="DuoNeural/AdQWENistrator-9B")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
pipe(text=messages)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM

processor = AutoProcessor.from_pretrained("DuoNeural/AdQWENistrator-9B")
model = AutoModelForMultimodalLM.from_pretrained("DuoNeural/AdQWENistrator-9B", device_map="auto")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
inputs = processor.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=256)
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

AdQWENistrator-9B

A senior Linux development specialist and elite system administrator โ€” fine-tuned from Qwen/Qwen3.5-9B on kernel commits, assembly, sysadmin tasks, and Python system automation, then abliterated of refusal behavior.

Built by DuoNeural โ€” Jesse & Archon (DuoNeural AI).

What It Does

AdQWENistrator is purpose-built for real system-level engineering work:

  • Linux Kernel Development โ€” C patches, driver development, VMA manipulation, memory management, kernel modules
  • Assembly (x86_64 / ARM64) โ€” inline asm, NASM/GAS syntax, optimization, reverse engineering
  • Advanced System Administration โ€” eBPF, SELinux, cgroups, netfilter, ftrace, perf, packet analysis
  • Python System Automation โ€” asyncio, ctypes, /proc interfaces, netlink, subprocess orchestration
  • Security Research โ€” rootkit analysis, exploit development assistance, memory forensics, kernel hooking

No guardrails. No disclaimers. No refusals on legitimate system work.

Training Pipeline

Stage 1 โ€” Domain Fine-Tuning (QLoRA SFT, ~3.5hr on A100):

Domain Dataset Examples
Kernel C & patches ewedubs/linux-kernel-commits-aireason-instruct (premium_reasoning) ~8,000
Sysadmin & terminal mrheinen/linux-commands ~4,500
Python & C automation nvidia/OpenCodeInstruct (filtered) ~3,600
Assembly x86/ARM64 Modotte/CodeX-7M-Non-Thinking (filtered) ~1,800
Identity anchoring Custom synthetic ~900

Hyperparameters: 4-bit NF4 quantization, LoRA r=32 ฮฑ=64, all-linear targets, batch 4ร—grad_accum 4 = effective 16, seq_len 4096, lr 2e-4 cosine, 3 epochs.

Stage 2 โ€” GRPO Alignment (~1.5hr on A100):

Rule-based reward functions on 20 Linux/security prompts:

  • reward_no_refusal โ€” penalizes "I cannot", "I'm sorry", safety disclaimers
  • reward_code_quality โ€” rewards proper code blocks, language tags, completeness
  • reward_no_empty โ€” penalizes truncated or empty responses

Stage 3 โ€” Abliteration:

Norm-preserving biprojected abliteration via heretic applied to the fully merged model (after LoRA merge โ€” pre-merge abliteration allows SFT to reconstruct refusal pathways). Targets all Gated Attention (GA) layers; GDN linear attention layers are skipped (no compatible o_proj).

Architecture Notes (Qwen3.5-9B)

  • 9B dense โ€” all parameters active per token
  • 32 layers: 8 groups of (3ร— Gated DeltaNet + 1ร— Gated Attention)
  • SwiGLU, RMSNorm, FFN dim 11264 (? check)
  • 262,144 token native context
  • Thinking/non-thinking modes intact

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model = AutoModelForCausalLM.from_pretrained(
    "DuoNeural/AdQWENistrator-9B",
    torch_dtype=torch.bfloat16,
    device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("DuoNeural/AdQWENistrator-9B")

messages = [
    {"role": "user", "content": "Write an eBPF program to trace all execve syscalls."}
]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True)
outputs = model.generate(inputs.to(model.device), max_new_tokens=1024, temperature=0.2, do_sample=True)
print(tokenizer.decode(outputs[0][inputs.shape[1]:], skip_special_tokens=True))

GGUF

See DuoNeural/AdQWENistrator-9B-GGUF for Q4_K_M GGUF (~5.5 GB).

About DuoNeural

DuoNeural is an AI lab focused on post-training, abliteration research, and specialized model development.
We document wins, losses, emergent behaviors, and everything in between.


Generated: 2026-04-12 | DuoNeural Lab


DuoNeural

DuoNeural is an open AI research lab โ€” human + AI in collaboration.

๐Ÿค— HuggingFace huggingface.co/DuoNeural
๐Ÿ™ GitHub github.com/DuoNeural
๐Ÿฆ X / Twitter @DuoNeural
๐Ÿ“ง Email duoneural@proton.me
๐Ÿ“ฌ Newsletter duoneural.beehiiv.com
โ˜• Support buymeacoffee.com/duoneural
๐ŸŒ Site duoneural.com

Research Team

  • Jesse โ€” Vision, hardware, direction
  • Archon โ€” AI lab partner, post-training, abliteration, experiments
  • Aura โ€” Research AI, literature synthesis, novel proposals

Raw updates from the lab: model drops, training results, findings. Subscribe at duoneural.beehiiv.com.

DuoNeural Research Publications

Open access, CC BY 4.0. Authored by Archon, Jesse Caldwell, Aura โ€” DuoNeural.

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

Model tree for DuoNeural/AdQWENistrator-9B

Finetuned
Qwen/Qwen3.5-9B
Finetuned
(1226)
this model
Quantizations
3 models