Instructions to use hotdogs/Agents-A1-4B-Fable-Preview-heretic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hotdogs/Agents-A1-4B-Fable-Preview-heretic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="hotdogs/Agents-A1-4B-Fable-Preview-heretic") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("hotdogs/Agents-A1-4B-Fable-Preview-heretic") model = AutoModelForCausalLM.from_pretrained("hotdogs/Agents-A1-4B-Fable-Preview-heretic", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use hotdogs/Agents-A1-4B-Fable-Preview-heretic with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "hotdogs/Agents-A1-4B-Fable-Preview-heretic" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hotdogs/Agents-A1-4B-Fable-Preview-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/hotdogs/Agents-A1-4B-Fable-Preview-heretic
- SGLang
How to use hotdogs/Agents-A1-4B-Fable-Preview-heretic with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "hotdogs/Agents-A1-4B-Fable-Preview-heretic" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hotdogs/Agents-A1-4B-Fable-Preview-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "hotdogs/Agents-A1-4B-Fable-Preview-heretic" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hotdogs/Agents-A1-4B-Fable-Preview-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use hotdogs/Agents-A1-4B-Fable-Preview-heretic with Docker Model Runner:
docker model run hf.co/hotdogs/Agents-A1-4B-Fable-Preview-heretic
Use Docker images
docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=<secret>" \
--ipc=host \
lmsysorg/sglang:latest \
python3 -m sglang.launch_server \
--model-path "hotdogs/Agents-A1-4B-Fable-Preview-heretic" \
--host 0.0.0.0 \
--port 30000# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "hotdogs/Agents-A1-4B-Fable-Preview-heretic",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'🤖 Agents-A1-4B-Fable-Preview-heretic (uncensored)
4B Agent Model (Text-only) — SFT Fine-tuned · Fable Reasoning · Tool-Calling · Unchained 🔓
Uncensored release — Abliterated from hotdogs/Agents-A1-4B-Fable-Preview using heretic to remove refusal mechanisms while preserving reasoning quality.
✨ Key Features
| Capability | Description |
|---|---|
| 🔓 Uncensored | Refusal rate reduced to 11/100 — virtually unrestricted |
| 🧠 Fable Reasoning | Step-by-step CoT with <think> blocks |
| 🔧 Tool Calling | Hermes/Qwen function-calling format |
| 💬 Multi-turn | Trained on full agent trajectories |
| 🌏 Thai + English | Native bilingual support |
| 💻 Code & Shell | Python, bash, system tasks |
| ⚡ Fast Inference | 4B params — runs on consumer GPUs (6-8 GB VRAM) |
🔓 Uncensoring Process
This model was abliterated using heretic — a tool that identifies and removes refusal directions in language models via activation patching.
Refusal reduction results:
| Metric | Before | After |
|---|---|---|
| Refusal rate | ~99% (gated) | ~11% 🎯 |
| Reasoning quality | ✅ Retained | ✅ Retained |
The process targets specific model layers responsible for refusal behavior while leaving the rest of the model (reasoning, tool-use, coding) fully intact. This gives you the full power of the model without artificial guardrails.
🚀 Usage
Python (Transformers)
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"hotdogs/Agents-A1-4B-Fable-Preview-heretic",
torch_dtype="auto",
device_map="auto",
trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained("hotdogs/Agents-A1-4B-Fable-Preview-heretic")
messages = [{"role": "user", "content": "Hello"}]
inputs = tokenizer.apply_chat_template(messages, tokenize=True, return_tensors="pt")
outputs = model.generate(inputs, max_new_tokens=256, temperature=0.6)
print(tokenizer.decode(outputs[0]))
📦 Downloads
| File | Size | Description |
|---|---|---|
model.safetensors |
8.41 GB | Full BF16 precision (Transformers) |
GGUF versions coming soon — check hotdogs/Agents-A1-4B-Fable-Preview-GGUF
🧬 Architecture
| Parameter | Value |
|---|---|
| Base | hotdogs/Agents-A1-4B-Fable-Preview |
| Parameters | ~4.29B |
| Hidden Size | 2,560 |
| Attention | Linear + Standard hybrid (8 full-attn layers) |
| Context | 8,192 tokens |
| Precision | BF16 |
| Format | ChatML (Jinja2 template) |
✅ What This Model Excels At
- Unrestricted responses — No refusal guardrails
- Agent tasks — Tool calling, planning, multi-step reasoning
- Reasoning — Think-block style chain-of-thought
- Coding — Python, shell scripts, system tasks
- Multi-turn — Full conversation trajectories
- Thai + English — Native bilingual capability
⚠️ Disclaimer
This model is uncensored and may generate content that is offensive, harmful, or inappropriate. Use at your own risk. The authors are not responsible for any misuse.
💖 Support / โปรดสนับสนุน
If you find this model useful, please consider supporting my work!
หากคุณคิดว่าโมเดลนี้มีประโยชน์ กรุณาสนับสนุนผลงานของฉันด้วยนะคะ! 🙏
₿ Bitcoin — BTC:
bc1qf27cyk3vmugcdyv9xdtuv5jwz37863crpj5c9v
Thank you for your support! 🙏✨
ขอบคุณมากๆ สำหรับการสนับสนุนค่า! 💖🤗
🙏 Acknowledgements / ขอบคุณ
- InternScience — For the Agents-A1-4B base model
- p-e-w — For the heretic abliteration tool
- Qwen Team (Alibaba) — For the Qwen3.5 architecture
- Unsloth AI — For the training optimizations
- All dataset contributors and the open-source AI community ❤️
Built with ❤️ by UKA — 18-year-old coder & cybersecurity expert
- Downloads last month
- 27
Install from pip and serve model
# Install SGLang from pip: pip install sglang# Start the SGLang server: python3 -m sglang.launch_server \ --model-path "hotdogs/Agents-A1-4B-Fable-Preview-heretic" \ --host 0.0.0.0 \ --port 30000# Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hotdogs/Agents-A1-4B-Fable-Preview-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'