Instructions to use hotdogs/Ornith-1.0-9B-abliterated-fable with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hotdogs/Ornith-1.0-9B-abliterated-fable with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="hotdogs/Ornith-1.0-9B-abliterated-fable") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("hotdogs/Ornith-1.0-9B-abliterated-fable") model = AutoModelForMultimodalLM.from_pretrained("hotdogs/Ornith-1.0-9B-abliterated-fable", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use hotdogs/Ornith-1.0-9B-abliterated-fable with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "hotdogs/Ornith-1.0-9B-abliterated-fable" # 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/Ornith-1.0-9B-abliterated-fable", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/hotdogs/Ornith-1.0-9B-abliterated-fable
- SGLang
How to use hotdogs/Ornith-1.0-9B-abliterated-fable 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/Ornith-1.0-9B-abliterated-fable" \ --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/Ornith-1.0-9B-abliterated-fable", "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/Ornith-1.0-9B-abliterated-fable" \ --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/Ornith-1.0-9B-abliterated-fable", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use hotdogs/Ornith-1.0-9B-abliterated-fable with Docker Model Runner:
docker model run hf.co/hotdogs/Ornith-1.0-9B-abliterated-fable
๐ฆข Ornith-1.0-9B-abliterated-fable
9B Agent Model โ Abliterated Base ยท Fable Reasoning SFT ยท MTP
Fine-tuned from YuYu1015/YuYu1015-Ornith-1.0-9B-abliterated (which itself derives from ornith-ai/Ornith-1.0-9B) on high-quality Fable-5 reasoning traces with
<think>blocks and Hermes tool format. Includes MTP (Multi-Token Prediction) support for faster speculative decoding.
โจ Key Features
| Capability | Description |
|---|---|
| ๐ง Fable Reasoning | Step-by-step CoT with <think> blocks |
| ๐ Abliterated | Uncensored base โ no refusal patterns |
| ๐ง Tool Calling | Hermes tool format (<Tool: Name>{json}) |
| โก MTP Enabled | 15 MTP tensors โ speculative decoding (--mtp 1) |
| ๐ป Code & Agent Tasks | Python, bash, system tasks |
| ๐๏ธ 9B Dense | Hybrid linear/full attention (Qwen3.5) |
๐ Usage
Python (Transformers)
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"hotdogs/Ornith-1.0-9B-abliterated-fable",
torch_dtype="auto",
device_map="auto",
trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained("hotdogs/Ornith-1.0-9B-abliterated-fable")
messages = [{"role": "user", "content": "Explain SQL injection and how to prevent it."}]
inputs = tokenizer.apply_chat_template(messages, tokenize=True, return_tensors="pt")
outputs = model.generate(inputs, max_new_tokens=512, temperature=0.7)
print(tokenizer.decode(outputs[0]))
๐งฌ Architecture
| Parameter | Value |
|---|---|
| Base | YuYu1015/YuYu1015-Ornith-1.0-9B-abliterated |
| Origin | ornith-ai/Ornith-1.0-9B |
| Parameters | ~9.57B |
| Hidden Size | 4,096 |
| Attention | Hybrid โ 24 Gated-DeltaNet linear + 8 full-attention layers |
| Context | 4,096 tokens (trained) / 262,144 (max) |
| Precision | BF16 / GGUF quantized |
| Format | ChatML (Jinja2 template) |
| Vocab | 248,320 tokens |
| MTP | 15 tensors (from Qwen3.5-9B) |
๐๏ธ Training Details
Base Model
YuYu1015/YuYu1015-Ornith-1.0-9B-abliterated โ abliterated version of ornith-ai/Ornith-1.0-9B (an agentic coding model post-trained on top of Qwen 3.5). We applied LoRA SFT to the full text stack (linear-attention GDN layers + full-attention + MLP), froze the vision tower (text-only data).
Dataset
hotdogs/uka-fable-reasoning/perfect-v2 โ 3,346 high-quality multi-turn agent reasoning traces (cleaned from perfect-v1's 3,500):
- 100% Fable-5
<think>blocks - Hermes tool format (
<Tool: Name>{json}) - No refusal patterns
- Quality-controlled (QC passed)
- v2 cleaning โ เธฅเธ 154 rows เธเธตเน assistant message เธเธเธเนเธงเธข
:เธญเธญเธ (train 3,500 โ 3,346)
เธเธณเนเธก perfect-v2 เธเธตเธเธงเนเธฒ v1: เนเธ perfect-v1 เธกเธต assistant messages เธเธตเนเธเธเธเธฃเธฐเนเธขเธเธเนเธงเธข : (เนเธเนเธ Let me check: / Docs audit. Add SFT entries:) เธเธถเนเธเนเธเนเธ turn เธเธตเนเธเนเธฒเธเธเธฒเธเธเธฒเธฃเนเธเนเธ agent trace โ model เนเธฅเธขเนเธฃเธตเธขเธเธฃเธนเน bias เธงเนเธฒเนเธเธญ : เนเธฅเนเธงเธเธงเธฃเธซเธขเธธเธ generate (emit EOS) เธเธณเนเธซเนเธเธญเธเนเธเนเธเธฒเธเธเธฃเธดเธ model เธเนเธฒเธ/เธซเธขเธธเธเธเธฅเธฒเธเธเธฃเธฐเนเธขเธเธเธธเธเธเธฃเธฑเนเธเธเธตเนเนเธเธญ : perfect-v2 เธฅเธ rows เธเธงเธเธเธตเนเธญเธญเธเธเธฑเนเธเธซเธกเธ โ model เนเธกเนเธซเธขเธธเธเธเนเธฒเธเธเธตเน : เธญเธตเธเธเนเธญเนเธ เนเธฅเธฐเธขเธฑเธเธเธเธเธธเธเธ เธฒเธ reasoning เนเธเธดเธกเธเธฃเธเธเนเธงเธ
Training Pipeline
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Training Pipeline โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Base Model LoRA Adapter โ
โ (YuYu1015 abliterated) (r=64, ฮฑ=128) โ
โ โ โ โ
โ โโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ Unsloth FastLanguageModel โ
โ BF16 (NOT 4-bit โ GDN layers) โ
โ device_map="auto" ยท 4ร RTX 3060 12GB โ
โ โ โ
โ โผ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Custom SFTDataset โ โ
โ โ โข tokenize (4096 max) โ โ
โ โ โข Mask prompt tokens โ โ
โ โโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โผ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ HF Trainer โ โ
โ โ โข BF16 ยท LR=1e-4 โ โ
โ โ โข 1 epoch ยท 643 steps โ โ
โ โ โข train_loss 0.165 โ โ
โ โโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โผ โ
โ Merge (scale=0.2, lora_B linear) โ
โ โ โ
โ โผ โ
โ + MTP 15 tensors (Qwen3.5-9B) โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Hyperparameters
| Parameter | Value |
|---|---|
| LoRA r / ฮฑ | 64 / 128 |
| Target modules | q,k,v,o,gate,up,down + in_proj_qkv,out_proj,in_proj_z |
| Epochs / Steps | 1 / 643 |
| Learning rate | 1e-4 (cosine, warmup 0.03) |
| Batch / Grad accum | 1 / 4 |
| Precision | BF16 (เธเธฑเธเธเธฑเธ โ GDN layers NaN เนเธ FP16) |
| Optimizer | adamw_8bit |
| Train loss | 0.165 |
Hardware
| Component | Spec |
|---|---|
| GPUs | 4ร NVIDIA RTX 3060 12GB |
| Total VRAM | 48 GB |
| Training Time | ~3h 50m (643 steps, resume เธซเธฅเธฑเธ CUDA crash) |
| Framework | Unsloth + HuggingFace Trainer |
๐ License
MIT โ เนเธเนเนเธเนเธญเธดเธชเธฃเธฐ เธฃเธงเธกเธเธถเธเนเธเธดเธเธเธฒเธเธดเธเธขเน
๐ Support / เนเธเธฃเธเธชเธเธฑเธเธชเธเธธเธ
If you find this model useful, please consider supporting my work!
เธซเธฒเธเธเธธเธเธเธดเธเธงเนเธฒเนเธกเนเธเธฅเธเธตเนเธกเธตเธเธฃเธฐเนเธขเธเธเน เธเธฃเธธเธเธฒเธชเธเธฑเธเธชเธเธธเธเธเธฅเธเธฒเธเธเธญเธเธเธฑเธเธเนเธงเธขเธเธฐเธเธฐ! ๐
โฟ Bitcoin โ BTC:
bc1qf27cyk3vmugcdyv9xdtuv5jwz37863crpj5c9v
Thank you for your support! ๐โจ
เธเธญเธเธเธธเธเธกเธฒเธเน เธชเธณเธซเธฃเธฑเธเธเธฒเธฃเธชเธเธฑเธเธชเธเธธเธเธเนเธฒ! ๐๐ค
๐ Acknowledgements
เนเธกเนเธเธฅเธเธตเนเธชเธฃเนเธฒเธเธเธถเนเธเธเธฒเธเธเธฒเธเธเธญเธเธซเธฅเธฒเธขเนเธเธฃเนเธเธเธเน เธเธญเธเธเธธเธเธเธธเธเธเนเธฒเธ:
- ornith-ai/Ornith-1.0-9B โ เธเนเธเธเธฒเธเนเธกเนเธเธฅ (MIT licensed) เธเธฑเธง agentic coding เธฃเธธเนเธ 9B
- YuYu1015/YuYu1015-Ornith-1.0-9B-abliterated โ base abliterated เธเธตเนเนเธเนเนเธเธฃเธ
- Qwen/Qwen3.5-9B โ MTP tensors (15) + เธชเธเธฒเธเธฑเธเธขเธเธฃเธฃเธก Qwen3.5
- hotdogs/uka-fable-reasoning โ dataset perfect-v1 (3,500 reasoning traces)
- Unsloth โ เนเธซเธฅเธเนเธกเนเธเธฅ + LoRA training เธเธตเนเธฃเธงเธเนเธฃเนเธง
- HuggingFace Transformers / PEFT / Datasets โ เนเธกเนเธเธฅ, LoRA adapter, data loading
- HF Trainer โ training loop
- bitsandbytes โ 8-bit optimizer
- llama.cpp โ GGUF conversion & inference
- Train Studio โ Web UI เธเธตเนเนเธเนเนเธเธฃเธ/merge
เธเธญเธเธเธธเธเธเธธเธเนเธเธฃเนเธเธเธเนเธเธตเนเธเธณเนเธซเนเนเธกเนเธเธฅเธเธตเนเนเธเธดเธเธเธถเนเธเนเธเน ๐
- Downloads last month
- 43
Model tree for hotdogs/Ornith-1.0-9B-abliterated-fable
Base model
ornith-ai/Ornith-1.0-9B