Instructions to use allenai/Olmo-3-32B-Think with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allenai/Olmo-3-32B-Think with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="allenai/Olmo-3-32B-Think") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("allenai/Olmo-3-32B-Think") model = AutoModelForMultimodalLM.from_pretrained("allenai/Olmo-3-32B-Think") 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]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use allenai/Olmo-3-32B-Think with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "allenai/Olmo-3-32B-Think" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "allenai/Olmo-3-32B-Think", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/allenai/Olmo-3-32B-Think
- SGLang
How to use allenai/Olmo-3-32B-Think 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 "allenai/Olmo-3-32B-Think" \ --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": "allenai/Olmo-3-32B-Think", "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 "allenai/Olmo-3-32B-Think" \ --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": "allenai/Olmo-3-32B-Think", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use allenai/Olmo-3-32B-Think with Docker Model Runner:
docker model run hf.co/allenai/Olmo-3-32B-Think
Add pipeline tag, update paper link and add homepage
#15
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,12 +1,14 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
base_model: allenai/Olmo-3-32B-Think-DPO
|
| 4 |
-
language:
|
| 5 |
-
- en
|
| 6 |
datasets:
|
| 7 |
- allenai/Dolci-Think-RL
|
|
|
|
|
|
|
| 8 |
library_name: transformers
|
|
|
|
| 9 |
new_version: allenai/Olmo-3.1-32B-Think
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# Model Details
|
|
@@ -123,7 +125,7 @@ Moo Moo the cow would certinaly win.<|im_end|>
|
|
| 123 |
- Open-Instruct for DPO and RLVR: https://github.com/allenai/open-instruct
|
| 124 |
- OLMo-Core for pre-training and SFT: https://github.com/allenai/OLMo-core
|
| 125 |
- OLMo-Eval for evaluation: https://github.com/allenai/OLMo-Eval
|
| 126 |
-
- **Paper:** [
|
| 127 |
<!-- - **Technical blog post:** (URL) -->
|
| 128 |
<!-- - **W&B Logs:** [SFT](()), [DPO](()), [RLVR](()) -->
|
| 129 |
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
base_model: allenai/Olmo-3-32B-Think-DPO
|
|
|
|
|
|
|
| 3 |
datasets:
|
| 4 |
- allenai/Dolci-Think-RL
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
library_name: transformers
|
| 8 |
+
license: apache-2.0
|
| 9 |
new_version: allenai/Olmo-3.1-32B-Think
|
| 10 |
+
pipeline_tag: text-generation
|
| 11 |
+
homepage: https://playground.allenai.org/?model=Olmo-3.1-32B-Think
|
| 12 |
---
|
| 13 |
|
| 14 |
# Model Details
|
|
|
|
| 125 |
- Open-Instruct for DPO and RLVR: https://github.com/allenai/open-instruct
|
| 126 |
- OLMo-Core for pre-training and SFT: https://github.com/allenai/OLMo-core
|
| 127 |
- OLMo-Eval for evaluation: https://github.com/allenai/OLMo-Eval
|
| 128 |
+
- **Paper:** [Olmo 3](https://huggingface.co/papers/2512.13961)
|
| 129 |
<!-- - **Technical blog post:** (URL) -->
|
| 130 |
<!-- - **W&B Logs:** [SFT](()), [DPO](()), [RLVR](()) -->
|
| 131 |
|