Instructions to use maylore-ai/Temper-Savant-2.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maylore-ai/Temper-Savant-2.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="maylore-ai/Temper-Savant-2.5") 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)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("maylore-ai/Temper-Savant-2.5") model = AutoModelForMultimodalLM.from_pretrained("maylore-ai/Temper-Savant-2.5", 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=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use maylore-ai/Temper-Savant-2.5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "maylore-ai/Temper-Savant-2.5" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "maylore-ai/Temper-Savant-2.5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/maylore-ai/Temper-Savant-2.5
- SGLang
How to use maylore-ai/Temper-Savant-2.5 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 "maylore-ai/Temper-Savant-2.5" \ --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": "maylore-ai/Temper-Savant-2.5", "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 "maylore-ai/Temper-Savant-2.5" \ --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": "maylore-ai/Temper-Savant-2.5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use maylore-ai/Temper-Savant-2.5 with Docker Model Runner:
docker model run hf.co/maylore-ai/Temper-Savant-2.5
Temper-Savant-2.5
Temper Savant 2.5 is a Rust coding model built on Gemma 4 26B-A4B, a mixture of experts with 4B active parameters. Its 12.7 GB Q3 quant solves more HumanEval-RS and Temper Bench v2 tasks than Gemma 4 26B-A4B and Qwen3.6-35B-A3B at full precision.
Website: maylore.com/temper-savant-2.5
Results
| model | size | HumanEval-RS | MBPP-RS | Temper Bench v2 |
|---|---|---|---|---|
| Temper Savant 2.5 | 51.6 GB | 91.5 / 94.6 | 78.5 / 81.8 | 80.7 |
| Temper Savant 2.5 Q3 | 12.7 GB | 91.0 / 94.2 | 77.5 | 78.0 |
| Qwen3.6-35B-A3B | 71.9 GB | 89.2 / 95.3 | 78.1 / 83.3 | 63.3 |
| Gemma 4 26B-A4B | 51.6 GB | 86.8 / 90.6 | 75.0 / 78.3 | 74.7 |
| Gemma 4 26B-A4B QAT Q4 | 14.4 GB | 87.0 / 91.6 | 74.7 / 78.9 | 62.0 |
HumanEval-RS and MBPP-RS show pass@1 / pass@10 at temperature 0.2 with 50 answers per task. The Savant Q3 row ran in llama.cpp with 10 answers on MBPP-RS, so only its pass@1 is given there. Gemma 4 26B-A4B QAT Q4 ran in vLLM from Google's QAT weights. Temper Bench v2 is greedy pass@1 on 150 in-house tasks. All models ran without thinking mode, and the scripts are in maylore-ai/rust-evals.
Usage
vllm serve maylore-ai/Temper-Savant-2.5
The model answers without thinking mode, and its chat template ignores enable_thinking. The recommended temperature is 0.2. The generation config sets it along with top_p 0.95, the settings of the results above. The Q3 GGUF for llama.cpp and LM Studio is in maylore-ai/Temper-Savant-2.5-GGUF.
Agents
Savant was trained to answer in chat and is weak as an agent in clients such as OpenCode. On multi-step tasks it can get stuck on compile errors or start the project over instead of fixing them. In testing it tried to delete the project folder with rm -rf to βstart from a clean slateβ, which is solved by allowing such commands only with approval in the client config. This will be taken into account in the next Temper models. For OpenCode the block below goes into opencode.json.
"permission": {
"bash": {
"*": "allow",
"rm *": "ask",
"git reset *": "ask",
"git clean *": "ask"
}
}
License
Apache 2.0, same as Gemma 4 26B-A4B. Derivative works keep the attributions in NOTICE.
- Downloads last month
- 32