elephant-1
Specialized model for structured decision making
2 min read
The elephant-1 9-billion-parameter model was developed by the Base Labs team with Baseten's support, built on the base language model Qwen/Qwen3.5-9B. It is trained to make structured decisions and output calibrated probabilities for given questions based on provided text and images. Its main difference from standard LLMs (large language models) is that the model processes the state and multiple questions in a single pass using a shared-prefix prefill. This new model will be useful for developers and engineers looking to automate query classification, urgency assessment, and customer support analysis.
Key features
- Architecture: A 9B-parameter model with support for text and visual inputs.
- Probability calibration: Returns precise probabilities for each possible response option.
- Strong results: Ranks at the top among models under 15B parameters on Decision Index benchmarks.
- Efficiency: Answers a set of questions with a shared prefix in a single pass.
What you can do
- Support analysis: Automatically determine whether a customer is requesting a refund or technical assistance.
- Task classification: Route incoming support tickets to specialized teams based on defined criteria.
- Priority assessment: Automatically evaluate the urgency of customer requests using specified scales.
- Multimodal analysis: Feed text and image state to the model for comprehensive decision making.
Example
Example of usage via the official DecisionEngine Python package:
from qev.engine import DecisionEngine
from qev.schema import SystemOneRequest
engine = DecisionEngine("baselabs/elephant-1", device="cuda:0")
questions = {
"refund": {"type": "noul", "instructions": "Is the customer asking for a refund?"},
}
resp, _ = engine.decide(SystemOneRequest(
state="I was charged twice this month, please refund one of them.", questions=questions))
print(resp.answers)Read more
DetailsBenchmarks: 62.65 on Jev Decision Index 0.4 (top among models under 15B); 65.2 on Artificial Analysis Decision Index.
Hardware: Requires one CUDA GPU and the pytorch/pytorch:2.8.0-cuda12.8-cudnn9-devel image.
Training: 6.21 million decision examples, cross-entropy loss with Brier calibration.
Limitations: Maximum sequence length is 16,384 tokens; requests exceeding the limit are rejected.










Comments