# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("PrimeIntellect/INTELLECT-3.1", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("PrimeIntellect/INTELLECT-3.1", trust_remote_code=True)
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=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))INTELLECT-3.1
INTELLECT-3.1: A 100B+ MoE trained with large-scale RL
Trained with prime-rl and verifiers
Environments released on Environments Hub
Read the Blog & Technical Report
X | Discord | Prime Intellect Platform
Introduction
INTELLECT-3.1 is a 106B (A12B) parameter Mixture-of-Experts reasoning model built as a continued training of INTELLECT-3 with additional reinforcement learning on math, coding, software engineering, and agentic tasks.
Training was performed with prime-rl using environments built with the verifiers library. All training and evaluation environments are available on the Environments Hub.
The model, training frameworks, and environments are open-sourced under fully-permissive licenses (MIT and Apache 2.0).
For more details, see the technical report.
Serving with vLLM
The model can be served on 2x H200s:
vllm serve PrimeIntellect/INTELLECT-3.1 \
--tensor-parallel-size 2 \
--enable-auto-tool-choice \
--tool-call-parser qwen3_coder \
--reasoning-parser deepseek_r1
Citation
@misc{intellect3.1,
title={INTELLECT-3.1: Technical Report},
author={Prime Intellect Team},
year={2025},
url={https://huggingface.co/PrimeIntellect/INTELLECT-3.1}
}
- Downloads last month
- 217
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="PrimeIntellect/INTELLECT-3.1", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)