Instructions to use c4tdr0ut/Cerberus-24B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use c4tdr0ut/Cerberus-24B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="c4tdr0ut/Cerberus-24B") 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("c4tdr0ut/Cerberus-24B") model = AutoModelForCausalLM.from_pretrained("c4tdr0ut/Cerberus-24B", 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 c4tdr0ut/Cerberus-24B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "c4tdr0ut/Cerberus-24B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "c4tdr0ut/Cerberus-24B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/c4tdr0ut/Cerberus-24B
- SGLang
How to use c4tdr0ut/Cerberus-24B 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 "c4tdr0ut/Cerberus-24B" \ --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": "c4tdr0ut/Cerberus-24B", "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 "c4tdr0ut/Cerberus-24B" \ --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": "c4tdr0ut/Cerberus-24B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use c4tdr0ut/Cerberus-24B with Docker Model Runner:
docker model run hf.co/c4tdr0ut/Cerberus-24B
Grok-OSS-Cerberus
Grok-OSS-Cerberus is a QLoRA + ORPO fine-tune of Mistral-Small-24B-Instruct-2501, developed by Catdrout Technologies AB.
The model prioritizes directness and reduced refusal behavior while preserving the strong reasoning and instruction-following capabilities of the base model. It is released as an open, decentralized alternative to heavily aligned commercial assistants. We improve over previous iterations which included a lot of low quality data as compared to this one.
Model Details
Model Description
- Developed by: Catdrout Technologies AB
- Organization: Catdrout Technologies AB โ AI research lab headquartered in Uppsala, Sweden
- Model type: Causal language model (decoder-only)
- Language(s): English (primary)
- License: Non-exclusive non commerical attribute required. Contact for licensing terms.
- Finetuned from: mistralai/Mistral-Small-24B-Instruct-2501
- Fine-tuning method: ORPO (Odds Ratio Preference Optimization) with 4-bit QLoRA
Model Sources
- Repository: c4tdr0ut/grok-oss-Cerberus
- Dataset: c4tdr0ut/grok-orpo
Uses
Direct Use
General-purpose chat and instruction following. Designed for users who want a capable model that is less restrictive than standard safety-tuned assistants.
Downstream Use
Further fine-tuning, distillation, or integration into agent systems where lower refusal rates are preferred.
Out-of-Scope Use
- High-stakes applications (medical, legal, financial) without human oversight
- Generation of content involving minors
- Any use that violates applicable laws
Bias, Risks, and Limitations
This model was trained to reduce excessive refusal and sycophantic tendencies. Consequently:
- Responses can be more direct, opinionated, or provocative than those of heavily aligned models.
- Biases present in the base Mistral Small model remain.
- Performance outside the domains covered by the preference data is not guaranteed.
Users should implement their own filtering and evaluation when deploying the model.
How to Get Started
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "c4tdr0ut/grok-oss-Cerberus-24B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "user", "content": "Explain the trade-offs between ORPO and DPO."}
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
return_tensors="pt"
).to(model.device)
outputs = model.generate(
inputs,
max_new_tokens=512,
do_sample=True,
temperature=0.7,
top_p=0.9,
)
print(tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=True))
Training Details
Training Data
- Dataset: Propietary
- Format: Preference pairs converted to ChatML-style message lists (
chosen/rejected) - Validation split: 5%
Training Procedure
ORPO fine-tuning with 4-bit QLoRA, trained using Axolotl on Modal.
Hyperparameters
| Parameter | Value |
|---|---|
| Base model | mistralai/Mistral-Small-24B-Instruct-2501 |
| Method | ORPO |
| ORPO ฮฑ | 0.1 |
| Adapter | QLoRA (4-bit) |
| LoRA rank (r) | 32 |
| LoRA alpha | 16 |
| LoRA dropout | 0.05 |
| Target modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj, lm_head |
| Sequence length | 8192 |
| Epochs | 2 |
| Micro batch size | 4 |
| Gradient accumulation steps | 4 |
| Effective batch size | 16 |
| Learning rate | 1e-4 |
| LR scheduler | Cosine |
| Optimizer | AdamW (8-bit) |
| Warmup ratio | 0.1 |
| Precision | bf16 (auto) |
| Attention implementation | Flash Attention 2 |
| Gradient checkpointing | Enabled |
| Chat template | ChatML |
Compute Infrastructure
- Hardware: NVIDIA B200+ (Modal)
- Framework: Axolotl
Evaluation
Evaluation was primarily qualitative and focused on:
- Reduction in unnecessary refusals
- Consistency of directness and personality
- Retention of base-model reasoning ability
- Coherence at long context lengths (up to 8k tokens)
Formal public benchmark scores are not reported at this time.
Environmental Impact
Training was performed on a single B200+ GPU. Exact emissions have not been calculated. Estimates can be obtained with the ML CO2 Impact calculator.
Technical Specifications
- Architecture: MistralForCausalLM (24B parameters)
- Context length: 8192 tokens
- Training quantization: 4-bit
- Adapter type: QLoRA
Citation
@misc{grok-oss-cerberus-2025,
title = {Grok-OSS-Cerberus},
author = {Catdrout Technologies AB},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/c4tdr0ut/grok-oss-Cerberus-24B}}
}
Model Card Authors
Catdrout Technologies AB
Model Card Contact
Email: atlas-ahoy-simile@duck.com
- Downloads last month
- 528
Model tree for c4tdr0ut/Cerberus-24B
Base model
mistralai/Mistral-Small-24B-Base-2501