Qwen2.5-7B-Instruct-abliterated-numallama

huihui-ai/Qwen2.5-7B-Instruct-abliterated-v2 (an abliterated version of Qwen/Qwen2.5-7B-Instruct), converted for numallama: a C inference engine for CPU servers, with NUMA-aware execution across all sockets of multi-socket machines.

This is an abliterated model: the refusal behaviour of the original was removed by huihui-ai/Qwen2.5-7B-Instruct-abliterated-v2. It will follow requests that the original refuses. You are responsible for how you use it. For the original behaviour use Qwen2.5-7B-Instruct-numallama.

These files are not GGUF. They run only with numallama (they do not work with llama.cpp, Ollama, LM Studio or transformers).

Files

File Weights Size Decode speed*
qwen2.5-7b-instruct-abliterated-q8.bin Q8 (SmoothQuant) 8.1 GB 41 tok/s
tokenizer.bin tokenizer 2.2 MB

Q4 is asymmetric 4-bit (groups of 32, fp16 scale and min), quantized with an importance matrix collected by numallama on English, Russian, Chinese and code text. Q8 is int8 with per-group scales. Q4 is faster and smaller; Q8 is closer to the original.

* tokens/s for a single chat, measured on 2 ร— Ampere Altra Max M128-30 (256 Neoverse N1 cores), both sockets. Other machines will differ.

Run

Linux. Optimized for ARM64 with NEON dot product (Ampere Altra, AWS Graviton, other Neoverse cores); other CPUs, including x86-64, run portable C code that is not optimized.

git clone https://github.com/miloserdev/numallama && cd numallama && make
pip install huggingface_hub
hf download miloserdev/Qwen2.5-7B-Instruct-abliterated-numallama --local-dir models/Qwen2.5-7B-Instruct-abliterated-numallama

# chat in the terminal
./runq models/Qwen2.5-7B-Instruct-abliterated-numallama/qwen2.5-7b-instruct-abliterated-q8.bin -z models/Qwen2.5-7B-Instruct-abliterated-numallama/tokenizer.bin -m chat

# or an OpenAI-compatible server on http://127.0.0.1:8080/v1
./runq models/Qwen2.5-7B-Instruct-abliterated-numallama/qwen2.5-7b-instruct-abliterated-q8.bin -z models/Qwen2.5-7B-Instruct-abliterated-numallama/tokenizer.bin -m server -P 8080

See the numallama README for all options (context length, sampling, tools, speculative decoding, API details).

License

Licensed under the Apache License 2.0, like the original model.

Original model: Qwen/Qwen2.5-7B-Instruct. Abliteration: huihui-ai/Qwen2.5-7B-Instruct-abliterated-v2. Conversion: numallama.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for miloserdev/Qwen2.5-7B-Instruct-abliterated-numallama

Base model

Qwen/Qwen2.5-7B
Quantized
(16)
this model