Downloads · 30 days
28
11% of all-time downloads
ikarius/Qwen2.5-Coder-14B-Instruct-Abliterated-NF4
Qwen2.5-Coder-14B-Instruct-Abliterated-NF4 is a text generation model from ikarius. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
A 4-bit (NF4) quantized, abliteration-uncensored version of Qwen2.5-Coder-14B-Instruct
Downloads · 30 days
28
11% of all-time downloads
All-time downloads
265
Public
Parameters
14.8B
9.9 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors9.9 GB · 100%
How the weights are stored.
U813.6B · 90%
From the Hugging Face model README
A 4-bit (NF4) quantized, abliteration-uncensored version of Qwen2.5-Coder-14B-Instruct
This model is a pre-quantized 4-bit NormalFloat4 (NF4) version of the uncensored huihui-ai/Qwen2.5-Coder-14B-Instruct-abliterated, optimized for low VRAM and fast local inference.
Ideal for local deployment, edge devices, or low-VRAM environments while maintaining strong coding and reasoning capabilities.
Qwen/Qwen2.5-Coder-14B-Instructtransformers, vLLM, Oobabooga, etc.pip install transformers torch accelerate
---
---
### Load the Model
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "ikarius/Qwen2.5-Coder-14B-Instruct-Abliterated-NF4"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto",
torch_dtype=torch.bfloat16, # eller torch.float16
trust_remote_code=True
)
---
---
# Eksempel
prompt = "Write a Python function to calculate Fibonacci numbers using memoization."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
do_sample=True,
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
---
---
### Using with text-generation-webui (Oobabooga)
python server.py \
--model ikarius/Qwen2.5-Coder-14B-Instruct-Abliterated-NF4 \
--bf16 \
--trust-remote-code
---
🤝 Credits
Original Model: Qwen Team
Abliteration: huihui-ai
Quantization: ikarius (NF4 via auto-gptq / transformers)
Hosting: Hugging Face Hub
---
📄 License
Apache 2.0 (same as base model)
🙌 Support
⭐ Star this repo if you find it useful!
🐛 Report issues on the Discussions tab.