Downloads · 30 days
118
4% of all-time downloads
Surpem/Supertron2-24B
Supertron2-24B is a text generation model from Surpem. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Supertron2-24B is an instruction-tuned language model built on top of mistralai/Devstral-Small-2-24B-Instruct-2512. It is designed for practical coding assistance, structured reasoning, math, science, general chat, an…
Downloads · 30 days
118
4% of all-time downloads
All-time downloads
3.3K
Public
Parameters
24B
48 GB on disk
Likes
7
Public
Click a slice to open those files.
.safetensors48 GB · 100%
From the Hugging Face model README
Supertron2-24B is an instruction-tuned language model built on top of mistralai/Devstral-Small-2-24B-Instruct-2512. It is designed for practical coding assistance, structured reasoning, math, science, general chat, and everyday instruction following.
Supertron2-24B is designed to help write, explain, and debug code. It can assist with practical programming tasks, implementation planning, error analysis, and code review style explanations.
The model can work through multi-step questions, compare options, follow structured instructions, and produce concise answers when requested.
Supertron2-24B can handle arithmetic, algebra-style problems, word problems, and step-by-step mathematical explanations.
The model can explain scientific concepts clearly, answer STEM questions, and help with educational or technical writing.
Supertron2-24B can assist with writing, brainstorming, explanations, planning, summarization, and general everyday questions.
from transformers import AutoTokenizer, AutoModelForImageTextToText
import torch
model_id = "Surpem/Supertron2-24B"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True,
)
messages = [
{"role": "user", "content": "Write a Python function that checks if a string is a palindrome."}
]
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)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
| Precision | Min VRAM | Recommended |
|---|---|---|
| bfloat16 | 48 GB | 80 GB+ |
| 4-bit quantized | 16 GB | 24 GB+ |
For long contexts or larger batches, use more VRAM or reduce batch size and max sequence length.
Supertron2-24B is intended for:
@misc{surpem2026supertron2-24b,
title={Supertron2-24B -- Instruction-Tuned Coding and Reasoning Model},
author={Surpem},
year={2026},
url={https://huggingface.co/Surpem/Supertron2-24B},
}