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
O
pen
l
anguage
mo
dels 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:
Olmo 3 is supported in transformers 4.57.0 or higher:
pip install transformers>=4.57.0
Inference
You can use OLMo with the standard HuggingFace transformers library:
from transformers import AutoModelForCausalLM, AutoTokenizer
olmo = AutoModelForCausalLM.from_pretrained("allenai/Olmo-3-32B-Think")
tokenizer = AutoTokenizer.from_pretrained("allenai/Olmo-3-32B-Think")
message = ["Who would win in a fight - a dinosaur or a cow named Moo Moo?"]
inputs = tokenizer(message, return_tensors='pt', return_token_type_ids=False)
# 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.batch_decode(response, skip_special_tokens=True)[0])
>> '<think>Okay, so the question is who would win in a fight...'
For faster performance, you can quantize the model using the following method:
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:
inputs.input_ids.to('cuda')
We have released checkpoints for these models. For post-training, the naming convention is
step_XXX
.
To load a specific model revision with HuggingFace, simply add the argument
revision
:
Or, you can access all the revisions for the models via the following code snippet:
from huggingface_hub import list_repo_refs
out = list_repo_refs("allenai/Olmo-3-32B-Think")
branches = [b.name for b in out.branches]
Chat template
Default System Message
The default system prompt for this model is:
<|im_start|>system
You are a helpful AI assistant.<|im_end|>
Chat Format
The chat template for this model is formatted as:
<|im_start|>system
You are a helpful AI assistant.
<|im_start|>user
Who would win in a fight - a dinosaur or a cow named Moo Moo?<|im_end|>
<|im_start|>assistant
<think>Okay, so the question is who would win in a fight between a dinosaur and a cow named Moo Moo.
Hmm, first I need to break this down. Let me think about the different factors involved here..... </think>
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
.
reinforcement learning from verifiable rewards on the Dolci-Think-RL-7B dataset. This dataset consits of math, code, instruction-following, and general chat queries.
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.
Olmo-3-32B-Think huggingface.co is an AI model on huggingface.co that provides Olmo-3-32B-Think's model effect (), which can be used instantly with this allenai Olmo-3-32B-Think model. huggingface.co supports a free trial of the Olmo-3-32B-Think model, and also provides paid use of the Olmo-3-32B-Think. Support call Olmo-3-32B-Think model through api, including Node.js, Python, http.
Olmo-3-32B-Think huggingface.co is an online trial and call api platform, which integrates Olmo-3-32B-Think's modeling effects, including api services, and provides a free online trial of Olmo-3-32B-Think, you can try Olmo-3-32B-Think online for free by clicking the link below.
allenai Olmo-3-32B-Think online free url in huggingface.co:
Olmo-3-32B-Think is an open source model from GitHub that offers a free installation service, and any user can find Olmo-3-32B-Think on GitHub to install. At the same time, huggingface.co provides the effect of Olmo-3-32B-Think install, users can directly use Olmo-3-32B-Think installed effect in huggingface.co for debugging and trial. It also supports api for free installation.