AI/EXPLORER
OutilsCatégoriesSitesLLMsComparerQuiz IAAlternativesPremium
—Outils IA
—Sites & Blogs
—LLMs & Modèles
—Catégories
AI Explorer

Trouvez et comparez les meilleurs outils d'intelligence artificielle pour vos projets.

Fait avecen France

Explorer

  • ›Tous les outils
  • ›Sites & Blogs
  • ›LLMs & Modèles
  • ›Comparer
  • ›Chatbots
  • ›Images IA
  • ›Code & Dev

Entreprise

  • ›Premium
  • ›À propos
  • ›Contact
  • ›Blog

Légal

  • ›Mentions légales
  • ›Confidentialité
  • ›CGV

© 2026 AI Explorer·Tous droits réservés.

AccueilLLMsOlmo 3 7B Instruct

Olmo 3 7B Instruct

par allenai

Open source · 580k downloads · 127 likes

2.6
(127 avis)ChatAPI & Local
À propos

Olmo 3 7B Instruct est un modèle de langage avancé développé par l'Allen Institute for AI, conçu pour exceller dans les tâches de raisonnement complexe comme les mathématiques, la programmation et les interactions conversationnelles. Grâce à une approche par chaîne de pensée étendue (*long chain-of-thought*), il améliore significativement ses performances sur des problèmes nécessitant une réflexion approfondie ou des étapes intermédiaires. Le modèle est optimisé pour suivre des instructions précises et générer des réponses structurées, ce qui le rend particulièrement adapté aux applications nécessitant une logique rigoureuse ou une créativité encadrée. Ses cas d'usage incluent l'assistance technique, l'éducation interactive, la résolution de problèmes analytiques ou encore la génération de code. Ce qui le distingue, c'est son entraînement sur des jeux de données spécialisés (*Dolci*) et son approche ouverte, favorisant la transparence et la recherche en sciences des modèles de langage.

Documentation

Model Details

Logo for Olmo 3 7B Instruct model

Model Card for Olmo 3 7B Instruct

We introduce Olmo 3, a new family of 7B and 32B models both Instruct and Think variants. Long chain-of-thought thinking improves reasoning tasks like math and coding.

Olmo is a series of Open language models designed to enable the science of language models. These models are pre-trained on the Dolma 3 dataset and post-trained on the Dolci datasets. We are releasing all code, checkpoints, logs (coming soon), and associated training details.

The core models released in this batch include the following:

StageOlmo 3 7B ThinkOlmo 3 32B ThinkOlmo 3 7B Instruct
Base ModelOlmo-3-7BOlmo-3-32BOlmo-3-7B
SFTOlmo-3-7B-Think-SFTOlmo-3-32B-Think-SFTOlmo-3-7B-Instruct-SFT
DPOOlmo-3-7B-Think-DPOOlmo-3-32B-Think-DPOOlmo-3-7B-Instruct-DPO
Final Models (RLVR)Olmo-3-7B-ThinkOlmo-3-32B-ThinkOlmo-3-7B-Instruct

Installation

Olmo 3 is supported in transformers 4.57.0 or higher:

Bash
pip install transformers>=4.57.0

Inference

You can use OLMo with the standard HuggingFace transformers library:

Python
from transformers import AutoModelForCausalLM, AutoTokenizer
olmo = AutoModelForCausalLM.from_pretrained("allenai/Olmo-3-7B-Instruct")
tokenizer = AutoTokenizer.from_pretrained("allenai/Olmo-3-7B-Instruct")
message = [{"role": "user", "content": "Who would win in a fight - a dinosaur or a cow named Moo Moo?"}]
inputs = tokenizer.apply_chat_template(message, add_generation_prompt=True, return_tensors='pt', return_dict=True)
# optional verifying cuda
# inputs = {k: v.to('cuda') for k,v in inputs.items()}
# olmo = olmo.to('cuda')
response = olmo.generate(**inputs, max_new_tokens=100, do_sample=True, top_k=50, top_p=0.95)
print(tokenizer.decode(response[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
>> 'This is a fun and imaginative question! Let’s break it down...'

For faster performance, you can quantize the model using the following method:

Python
AutoModelForCausalLM.from_pretrained("allenai/Olmo-3-7B-Instruct", 
    torch_dtype=torch.float16, 
    load_in_8bit=True)  # Requires bitsandbytes

The quantized model is more sensitive to data types and CUDA operations. To avoid potential issues, it's recommended to pass the inputs directly to CUDA using:

Python
inputs.input_ids.to('cuda')

We have released checkpoints for these models. For post-training, the naming convention is step_XXXX.

To load a specific model revision with HuggingFace, simply add the argument revision:

Bash
olmo = AutoModelForCausalLM.from_pretrained("allenai/Olmo-3-7B-Instruct", revision="step_300")

Or, you can access all the revisions for the models via the following code snippet:

Python
from huggingface_hub import list_repo_refs
out = list_repo_refs("allenai/Olmo-3-7B-Instruct")
branches = [b.name for b in out.branches]

Chat template

Default System Message

The default system prompt for this model is:

Bash
<|im_start|>system
You are a helpful function-calling AI assistant. 
You do not currently have access to any functions. <functions></functions><|im_end|>

Chat Format

The chat template for this model is formatted as:

Kotlin
<|im_start|>system
You are a helpful function-calling AI assistant. 
You do not currently have access to any functions. <functions></functions><|im_end|>
<|im_start|>user
Who would win in a fight - a dinosaur or a cow named Moo Moo?<|im_end|>
<|im_start|>assistant
This is a fun and imaginative question! Let’s break it down...
Moo Moo the cow would certinaly win.
<|endoftext|>

Model Description

  • Developed by: Allen Institute for AI (Ai2)
  • Model type: a Transformer style autoregressive language model.
  • Language(s) (NLP): English
  • License: This model is licensed under Apache 2.0. It is intended for research and educational use in accordance with Ai2's Responsible Use Guidelines.
  • Contact: Technical inquiries: [email protected]. Press: [email protected]
  • Date cutoff: Dec. 2024.

Model Sources

  • Project Page: https://allenai.org/olmo
  • Repositories:
    • Open-Instruct for DPO and RLVR: https://github.com/allenai/open-instruct
    • OLMo-Core for pre-training and SFT: https://github.com/allenai/OLMo-core
    • OLMo-Eval for evaluation: https://github.com/allenai/OLMo-Eval
  • Paper: [TBD]

Evaluation

SkillBenchmarkOlmo 3 Instruct 7B SFTOlmo 3 Instruct 7B DPOOlmo3 Instruct 7BQwen 3 8B (no reasoning)Qwen 3 VL 8B InstructQwen 2.5 7BOlmo 2 7B InstructApertus 8B InstructGranite 3.3 8B Instruct
MathMATH65.179.687.382.391.671.030.121.967.3
AIME 20246.723.544.326.255.111.31.30.57.3
AIME 20257.220.432.521.743.36.30.40.26.3
OMEGA14.422.828.920.532.313.75.25.010.7
ReasoningBigBenchHard51.069.371.273.785.668.843.842.261.2
ZebraLogic18.028.432.925.464.310.75.35.317.6
AGI Eval English59.264.064.476.084.569.856.150.864.0
CodingHumanEvalPlus69.872.977.279.882.974.925.834.464.0
MBPP+56.555.960.264.466.362.640.742.154.0
LiveCodeBench v320.018.829.553.255.934.57.27.811.5
IFIFEval81.782.085.686.387.873.472.271.477.5
IFBench27.429.332.329.334.028.426.722.122.3
KnowledgeMMLU67.169.169.180.483.677.261.662.763.5
QAPopQA16.520.714.120.426.521.525.525.528.9
GPQA30.037.940.444.651.135.631.328.833.0
ChatAlpacaEval 2 LC21.843.340.949.873.523.018.38.128.6
Tool UseSimpleQA74.279.879.379.090.378.0–––
LitQA238.043.338.239.630.729.8–––
BFCL48.949.649.860.266.255.8–––
SafetySafety89.290.287.378.080.273.493.172.273.7

Model Details

Stage 1: SFT

  • supervised fine-tuning on the Dolci-Think-SFT-7B dataset. This dataset consits of math, code, chat, and general knowledge queries.
  • Datasets: Dolci-Think-SFT-7B, Dolci-Instruct-SFT-7B

Stage 2:DPO

  • direct preference optimization on the Dolci-Think-DPO-7B dataset. This dataset consits of math, code, chat, and general knowledge queries.
  • Datasets: Dolci-Think-DPO-7B, Dolci-Instruct-DPO-7B

Stage 3: RLVR

  • reinforcement learning from verifiable rewards on the Dolci-Think-RL-7B dataset. This dataset consits of math, code, instruction-following, and general chat queries.
  • Datasets: Dolci-Think-RL-7B, Dolci-Instruct-RL-7B

Inference & Recommended Settings

We evaluated our models on the following settings. We also recommend using them for generation:

  • temperature: 0.6
  • top_p: 0.95
  • max_tokens: 32768

transformers Example

Python
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "allenai/Olmo-3-7B-Instruct"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    device_map="auto",
)

message = [{"role": "user", "content": "Who would win in a fight - a dinosaur or a cow named Moo Moo?"}]
inputs = tokenizer.apply_chat_template(message, add_generation_prompt=True, return_tensors='pt', return_dict=True).to(model.device)

outputs = model.generate(
    **inputs,
    temperature=0.6,
    top_p=0.95,
    max_new_tokens=32768,
)

print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))

vllm Example

Python
from vllm import LLM, SamplingParams

model_id = "allenai/Olmo-3-7B-Instruct"
llm = LLM(model=model_id)

sampling_params = SamplingParams(
    temperature=0.6,
    top_p=0.95,
    max_tokens=32768,
)

message = [{"role": "user", "content": "Who would win in a fight - a dinosaur or a cow named Moo Moo?"}]
outputs = llm.chat(message, sampling_params)
print(outputs[0].outputs[0].text)

Bias, Risks, and Limitations

Like any base language model or fine-tuned model without safety filtering, these models can easily be prompted by users to generate harmful and sensitive content. Such content may also be produced unintentionally, especially in cases involving bias, so we recommend that users consider the risks when applying this technology. Additionally, many statements from OLMo or any LLM are often inaccurate, so facts should be verified.

License

This model is licensed under Apache 2.0. It is intended for research and educational use in accordance with Ai2's Responsible Use Guidelines.

Citation

INI
@misc{olmo2025olmo3,
title={Olmo 3},
author={Team Olmo and Allyson Ettinger and Amanda Bertsch and Bailey Kuehl and David Graham and David Heineman and Dirk Groeneveld and Faeze Brahman and Finbarr Timbers and Hamish Ivison and Jacob Morrison and Jake Poznanski and Kyle Lo and Luca Soldaini and Matt Jordan and Mayee Chen and Michael Noukhovitch and Nathan Lambert and Pete Walsh and Pradeep Dasigi and Robert Berry and Saumya Malik and Saurabh Shah and Scott Geng and Shane Arora and Shashank Gupta and Taira Anderson and Teng Xiao and Tyler Murray and Tyler Romero and Victoria Graf and Akari Asai and Akshita Bhagia and Alexander Wettig and Alisa Liu and Aman Rangapur and Chloe Anastasiades and Costa Huang and Dustin Schwenk and Harsh Trivedi and Ian Magnusson and Jaron Lochner and Jiacheng Liu and Lester James V. Miranda and Maarten Sap and Malia Morgan and Michael Schmitz and Michal Guerquin and Michael Wilson and Regan Huff and Ronan Le Bras and Rui Xin and Rulin Shao and Sam Skjonsberg and Shannon Zejiang Shen and Shuyue Stella Li and Tucker Wilde and Valentina Pyatkin and Will Merrill and Yapei Chang and Yuling Gu and Zhiyuan Zeng and Ashish Sabharwal and Luke Zettlemoyer and Pang Wei Koh and Ali Farhadi and Noah A. Smith and Hannaneh Hajishirzi},
year={2025},
eprint={2512.13961},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2512.13961},
}

Model Card Contact

For errors in this model card, contact [email protected].

Liens & Ressources
Spécifications
CatégorieChat
AccèsAPI & Local
LicenceOpen Source
TarificationOpen Source
Paramètres7B parameters
Note
2.6

Essayer Olmo 3 7B Instruct

Accédez directement au modèle