Sussysam/Qwen3-4B-Instruct-2507
uncensored Qwen3-4B version
2 min readupdated
This model is a decoded (unshackled) version of the modern Qwen3-4B-Instruct-2507 language model, created using the Heretic tool. It retains high processing speed, advanced reasoning, coding, and tool-use skills while maintaining native context support of up to 262,144 tokens. Built for developers and researchers who need fewer refusals during complex tasks and creative prompts.
Key features
- Refusal suppression: The refusal rate drops to 3 out of 100 compared to 100 out of 100 for the original base model.
- Long context: Native support for texts and code up to 256K tokens in size.
- Compact size: Around 4 billion parameters (3.6B excluding embeddings), making the model accessible for local execution on standard hardware.
- Agent integration: Excellent support for tool calling and operation within AI agents.
What you can do
- Build a local assistant: Deploy the model locally via vLLM or SGLang for everyday coding tasks and text analysis.
- Analyze large documents: Feed bulky technical specs, log files, or entire books into the context thanks to the 256K window.
- Integrate into agents: Use the model alongside the Qwen-Agent framework to automate workflows with external tools and APIs.
- Write text and code: Apply the model to generate Python source code and solve creative tasks without unnecessary constraints.
Example
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "Sussysam/Qwen3-4B-Instruct-2507"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
prompt = "Give me a short introduction to large language model."
messages = [
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
generated_ids = model.generate(
**model_inputs,
max_new_tokens=16384
)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()
content = tokenizer.decode(output_ids, skip_special_tokens=True)
print("content:", content)Read more
DetailsBenchmarks: MMLU-Pro: 69.6, GPQA: 62.0, Arena-Hard v2: 43.4
Modification method: Arbitrary-Rank Ablation (ARA) with layer indices from 5 to 27.
Limitations: Supports non-thinking mode only (reasoning blocks are not generated). If VRAM is insufficient, reducing the context length to 32,768 tokens is recommended.










Comments