Image-Text-to-Text
Transformers
Safetensors
qwen3_5
heretic
uncensored
decensored
abliterated
ara
conversational
Instructions to use armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara") 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)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara") model = AutoModelForMultimodalLM.from_pretrained("armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara", 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara
- SGLang
How to use armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara 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 "armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara" \ --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": "armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara" \ --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": "armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara with Docker Model Runner:
docker model run hf.co/armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara
This is a decensored version of TeichAI/Qwen3.8-27B-Fable-Distill, made using Heretic v1.2.0 with the Arbitrary-Rank Ablation (ARA) method
The ablation is a rank-2 update applied to the attn.o_proj, mlp.down_proj projections of layers 30-64, solved in closed form rather than by gradient descent.
Abliteration parameters
| Parameter | Value |
|---|---|
| start_layer_index | 30 |
| end_layer_index | 64 |
| overcorrect_relative_weight | 4.62087 |
| neighbor_count | 128 |
| rank | 2 |
| ridge | 1 |
Performance
| Metric | This model | Original model (TeichAI/Qwen3.8-27B-Fable-Distill) |
|---|---|---|
| KL divergence | 0.1004 | 0 (by definition) |
| Refusals | 5/100 | 91/100 |
KL divergence is measured against the original model on held-out harmless
prompts (mlabonne/harmless_alpaca), and refusals are
counted over 100 harmful prompts
(mlabonne/harmful_behaviors, test[:100]).
- Downloads last month
- 351
Model tree for armand0e/Qwen3.8-27B-Fable-Distill-Heretic-ara
Base model
Qwen/Qwen3.8-27B Finetuned
TeichAI/Qwen3.8-27B-Fable-Distill