Views
No views yet
model-00001-of-00002.safetensors
model-00002-of-00002.safetensors
config.json
tokenizer.json
tokenizer_config.jsoncomfyui/qwen3-4b-heretic.safetensors # bf16, 7.5GB
comfyui/qwen3-4b-heretic_fp8_e4m3fn.safetensors # fp8, 4.1GB
comfyui/qwen3-4b-heretic_nvfp4.safetensors # nvfp4, 2.6GB| Quant | Size | Notes |
|---|---|---|
| F16 | ~7.5GB | Lossless reference |
| Q8_0 | ~4GB | Excellent quality |
| Q6_K | ~3GB | Very good quality |
| Q5_K_M | ~2.7GB | Good quality |
| Q4_K_M | ~2.3GB | Recommended balance |
| Q3_K_M | ~1.9GB | For low VRAM only |
comfyui/qwen3-4b-heretic_fp8_e4m3fn.safetensors (4.1GB)comfyui/qwen3-4b-heretic_nvfp4.safetensors (2.6GB)comfyui/qwen3-4b-heretic.safetensors (7.5GB)ComfyUI/models/text_encoders/ClipLoader node and select the heretic file1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model = AutoModelForCausalLM.from_pretrained(
5 "DreamFast/qwen3-4b-heretic",
6 device_map="auto",
7 torch_dtype=torch.bfloat16
8)
9tokenizer = AutoTokenizer.from_pretrained("DreamFast/qwen3-4b-heretic")
10
11prompt = "Describe a dramatic sunset over a cyberpunk city"
12inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
13outputs = model.generate(**inputs, max_new_tokens=200)
14print(tokenizer.decode(outputs[0], skip_special_tokens=True))llama-server -m qwen3-4b-heretic-Q4_K_M.gguf? Which trial do you want to use?
> [Trial 96] Refusals: 3/100, KL divergence: 0.0000 <-- selected
[Trial 90] Refusals: 5/100, KL divergence: 0.0000
[Trial 95] Refusals: 9/100, KL divergence: 0.0000
[Trial 122] Refusals: 90/100, KL divergence: 0.0000
...