Instructions to use OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated
- SGLang
How to use OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated 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 "OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated" \ --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": "OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated", "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 "OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated" \ --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": "OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated with Docker Model Runner:
docker model run hf.co/OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated
β‘ Aion-1.0-Instruct-2.3B-Abliterated
A compact, fast, instruction-tuned model with refusals removed and its original intelligence intact.
β¨ Highlights
| πͺΆ Tiny footprint | Only 2.3B parameters. Runs on almost any modest computer, with or without a GPU. |
| π Low refusals | Refusal rate of just 5 / 100 on our refusal test prompts. |
| π§ Intelligence preserved | Very little KL divergence from the original model, so quality stays close to the base. |
| β‘ Fast | Small enough for quick responses on a single consumer GPU, such as a Tesla T4. |
| π One-click testing | Use the Deploy menu at the top of this page to try it right away. |
π» Runs on any modest computer
At about 2.3B parameters, Aion fits where bigger models can't:
| Setup | Precision | Approx. memory |
|---|---|---|
| Tesla T4 / most consumer GPUs | fp16 | ~5 GB VRAM |
| Laptop or desktop, no GPU | fp16 / fp32 on CPU | ~5-10 GB RAM |
| Low-VRAM GPU | 4-bit (bitsandbytes) | ~2-3 GB VRAM |
Figures are rough estimates; actual usage depends on context length and your setup.
π Quickstart
pip install torch transformers accelerate
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated"
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.float16 if device == "cuda" else torch.float32 # fp16 for T4 / GPUs
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id, torch_dtype=dtype, trust_remote_code=True
).to(device)
messages = [{"role": "user", "content": "Explain how a transformer works in simple terms."}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt", add_special_tokens=False).to(device)
with torch.no_grad():
out = model.generate(
**inputs,
max_new_tokens=300,
do_sample=True,
temperature=0.7,
top_p=0.9,
pad_token_id=tokenizer.eos_token_id,
)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Tip: if you see
nan/inferrors in fp16, setdo_sample=False.
π Abliteration results
| Metric | Result |
|---|---|
| Refusals | 5 / 100 |
| KL divergence vs. original | Very low |
A low KL divergence means the model's output distribution stays very close to the original, so the abliteration removes refusals without noticeably hurting general capability.
β οΈ Responsible use
This model has had most of its built-in refusal behavior removed, so it will not reliably decline requests on its own. You are responsible for how you use it and for any content it generates. Use it lawfully and ethically, and add your own safeguards before putting it in front of other people.
π Feedback
Found an issue or have results to share? Open a discussion in the Community tab.
- Downloads last month
- 47
docker model run hf.co/OpenIntelligenceNet/Aion-1.0-Instruct-2.3B-Abliterated