Instructions to use m123yt/Attestor-4.6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use m123yt/Attestor-4.6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="m123yt/Attestor-4.6") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("m123yt/Attestor-4.6") model = AutoModelForCausalLM.from_pretrained("m123yt/Attestor-4.6", 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use m123yt/Attestor-4.6 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "m123yt/Attestor-4.6" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "m123yt/Attestor-4.6", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/m123yt/Attestor-4.6
- SGLang
How to use m123yt/Attestor-4.6 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 "m123yt/Attestor-4.6" \ --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": "m123yt/Attestor-4.6", "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 "m123yt/Attestor-4.6" \ --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": "m123yt/Attestor-4.6", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use m123yt/Attestor-4.6 with Docker Model Runner:
docker model run hf.co/m123yt/Attestor-4.6
Configuration Parsing Warning:Invalid JSON for config file tokenizer_config.json
Attestor-4.6
Attestor-4.6 is a cybersecurity-focused language model built on Qwen3.5-4B. I have taken an already abliterated version and then fine-tuned it on cybersecurity.
Key Features
- Cybersecurity domain expertise โ Fine-tuned for security topics including penetration testing, exploit analysis, vulnerability assessment, and defensive security
- Abliterated โ Refusal directions have been surgically removed, allowing the model to discuss security topics without unnecessary refusals
- Lightweight & fast โ 4B parameters in FP16, runs on a single consumer GPU (8 GB+ VRAM)
- Long context โ Supports up to 262,144 tokens of context, inherited from the Qwen3.5 architecture
- Hybrid attention โ Uses Qwen3.5โs efficient linear + full attention design (full attention every 4th layer) for fast inference
Intended Use
Attestor-4.6 is designed for authorized security professionals working in:
- Penetration testing and red team operations
- Vulnerability research and exploit development
- Security code review and audit
- CTF (Capture the Flag) competitions
- Cybersecurity education and training
Note: This model is intended for legitimate security research and authorized testing only. Users are responsible for ensuring compliance with applicable laws and regulations.
Architecture
| Property | Value |
|---|---|
| Base Model | Qwen/Qwen3.5-4B |
| Parameters | 4B |
| Precision | FP16 |
| Context Length | 262,144 tokens |
| Layers | 32 (hybrid: linear + full attention) |
| Hidden Size | 2,560 |
| Attention Heads | 16 (4 KV heads, GQA) |
| Vocabulary | 248,320 tokens |
| License | Apache 2.0 |
Quickstart
Using Transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "m123yt/Attestor-4.6"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
messages = [
{"role": "user", "content": "Explain how SQL injection works and how to prevent it."}
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer([text], return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512)
response = tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
print(response)
Using vLLM
pip install vllm
vllm serve "m123yt/Attestor-4.6"
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "m123yt/Attestor-4.6",
"messages": [{"role": "user", "content": "What are common web application vulnerabilities?"}]
}'
Using Docker
docker model run hf.co/m123yt/Attestor-4.6
Technical Details
Abliteration
Attestor-4.6 uses directional abliteration to remove refusal behavior from the base model. The surgery_biases.pkl file contains the bias adjustments applied during this process. This allows the model to engage with cybersecurity topics that standard models would refuse, while maintaining coherent and useful responses.
Training
- Method: Fine-tuned from the Qwen3.5-4B instruction-tuned model
- Domain: Cybersecurity, penetration testing, and security research
- Format: Conversational (chat template compatible)
Limitations
- As a 4B parameter model, it may lack the depth of larger models on highly complex security scenarios
- Responses should be verified by qualified security professionals before use in real engagements
- The model may occasionally generate inaccurate technical details โ always cross-reference with authoritative sources
- Not suitable for production security tooling without human oversight
- Please do not use this for production use. It may give you syntax errors which is common with sub-10B models so if you don't want syntax errors like how the sissy Holly Hobby does, use it only for small tasks and not for shit related to like fucking Chinese chicken salad, m'kay? Smoking's bad, m'kay?
Citation
@misc{attestor-4.6,
title={Attestor-4.6: An Abliterated Cybersecurity Language Model},
author={m123yt},
year={2024},
publisher={Hugging Face},
url={https://huggingface.co/m123yt/Attestor-4.6}
}
- Downloads last month
- 47