Downloads · 30 days
56
15% of all-time downloads
willopcbeta/GPT-5-Distill-Qwen3-4B-Instruct-Heretic-ONNX
GPT-5-Distill-Qwen3-4B-Instruct-Heretic-ONNX is a text generation model from willopcbeta. Use it when you need the model to write or continue text. It is set up for transformers.js. The card lists the license as apache-2.0.
Downloads · 30 days
56
15% of all-time downloads
All-time downloads
370
Public
Repo size
40.1 GB
Likes
0
Public
Click a slice to open those files.
.onnx_data2.6 GB · 36%
From the Hugging Face model README
Use:
--precision int4 --execution-provider webgpu --extra_options int4 Accuracy.level=4
--precision int4 --execution_provider cpu
Update on 0206:
A decensored version of Jackrong/GPT-5-Distill-Qwen3-4B-Instruct, made using Heretic v1.1.0
Quantized/GGUF versions available at ChiKoi7/GPT-5-Distill-Qwen3-4B-Instruct-Heretic-GGUF
| GPT-5-Distill-Qwen3-4B-Instruct-Heretic (Final Output/This repo) | Original model (Jackrong/GPT-5-Distill-Qwen3-4B-Instruct) | |
|---|---|---|
| Refusals (en) | 3/100 | 97/100 |
| KL divergence (en) | 0.2163 | 0 (by definition) |
| Refusals (zh) | 10/100 | 84/100 |
| KL divergence (zh) | 0.2684 | 0 (by definition) |
Note: The original model is an English(en)/Chinese(zh) dual-language model. The model I include here has been abliterated for both English and Chinese. I ran the model through heretic twice. This was just a quick test to see if it actually made a difference. The final results are good but a more refined approach would likely improve it further.
| GPT-5-Distill-Qwen3-4B-Instruct-Heretic (Run 1 - Chinese Only) | Original model (Jackrong/GPT-5-Distill-Qwen3-4B-Instruct) | |
|---|---|---|
| Refusals (zh) | 13/100 | 84/100 |
| KL divergence (zh) | 0.1825 | 0 (by definition) |
| Parameter | Value |
|---|---|
| direction_index | per_layer |
| attn.o_proj.max_weight | 1.43 |
| attn.o_proj.max_weight_position | 24.00 |
| attn.o_proj.min_weight | 1.25 |
| attn.o_proj.min_weight_distance | 17.69 |
| mlp.down_proj.max_weight | 1.13 |
| mlp.down_proj.max_weight_position | 29.33 |
| mlp.down_proj.min_weight | 1.01 |
| mlp.down_proj.min_weight_distance | 18.97 |
| GPT-5-Distill-Qwen3-4B-Instruct-Heretic (Run 2 - English Only) | GPT-5-Distill-Qwen3-4B-Instruct-Heretic (Run 1 - Chinese Only) | |
|---|---|---|
| Refusals (en) | 3/100 | 9/100 |
| KL divergence (en) | 0.0673 | 0 (by definition) |
| Parameter | Value |
|---|---|
| direction_index | per_layer |
| attn.o_proj.max_weight | 1.00 |
| attn.o_proj.max_weight_position | 23.80 |
| attn.o_proj.min_weight | 0.71 |
| attn.o_proj.min_weight_distance | 15.82 |
| mlp.down_proj.max_weight | 1.27 |
| mlp.down_proj.max_weight_position | 33.95 |
| mlp.down_proj.min_weight | 0.61 |
| mlp.down_proj.min_weight_distance | 7.20 |
| GPT-5-Distill-Qwen3-4B-Instruct-Heretic (Final Output/This repo) | Original model (Jackrong/GPT-5-Distill-Qwen3-4B-Instruct) | |
|---|---|---|
| Refusals (en) | 3/100 | 97/100 |
| KL divergence (en) | 0.2163 | 0 (by definition) |
| Refusals (zh) | 10/100 | 84/100 |
| KL divergence (zh) | 0.2684 | 0 (by definition) |
Model Type: Instruction-tuned conversational LLM
Supports LoRA adapters and full-finetuned models for inference
Qwen/Qwen3-4B-Instruct-2507max_seq_length = 32768)This model is trained on ShareGPT-Qwen3 instruction datasets and distilled toward the conversational style and quality of GPT-5. It aims to achieve high-quality, natural-sounding dialogues with low computational overhead—perfect for lightweight applications without sacrificing responsiveness.
Note: Outputs are for reference only and not intended as the sole basis for critical decisions.
Jackrong/ShareGPT-Qwen3-235B-A22B-Instuct-2507instruction, input, output formatytz20/LMSYS-Chat-GPT-5-Chat-Responseflaw == "normal"⚖️ Note: This work is based on publicly available, non-sensitive datasets and uses them responsibly under fair use principles.
| Feature | Description |
|---|---|
| Lightweight | ~4B parameter model – fast inference, low resource usage |
| Distillation-Style Responses | Mimics GPT-5’s conversational fluency and helpfulness |
| Highly Conversational | Excellent for chatbot-style interactions with rich dialogue flow |
| Multilingual Ready | Seamless support for Chinese and English |
We thank:
Qwen3-4B-InstructThis project is an open research effort aimed at making high-quality conversational AI accessible with smaller models.