Model guide
OLMo 2 1124 7B Instruct
OLMo 2 7B Instruct is worth considering when access to the model development and training materials matters alongside chat behavior. Use it for English instruction-following experiments and source-based summaries. This November 2024 checkpoint has a much shorter context than many newer long-context models, so keep the supplied material bounded.
At a glance
- Parameters
- 7B
- Accepts
- Text
- Returns
- Text
- Published context limit
- 4,096 tokens
- Model format
- Safetensors · GGUF
- Software and download hosts
- Ollama. Follow the exact setup below; this list does not establish support for every format, input type or software version.
- Suggested compression
- Q4_K_M
- Model-weight download
- Q4_K_M weights · 4.47 GBallenai (model publisher)olmo-2-1124-7B-instruct-Q4_K_M.gguf
- Languages
- English
- License
- Apache-2.0
Will it fit?
OLMo 2 1124 7B Instruct · Q4_K_M download. Fit depends on your computer, the app you run it in and the conversation length you need.
Check on your computerBest for
- Reproduce an English source-answering experiment when you also want to inspect the training materials for OLMo 2.
Choose something else when
- For documents that exceed 4,096 tokens including the reply, split them first or choose a longer-context model.
First setup
Check a representative task
Test a short source-based English answer.
Use only this note: "Lena checked the pump. Omar replaced the filter. The cause of the fault is not recorded." Who replaced the filter, and what caused the fault?
Check the result: Omar replaced the filter. The cause is not supplied. Do not infer the cause from the replacement.
This creates a 4,096-token copy of olmo2:7b named olmo-2-1124-7b-instruct-short-context. Save the following as a file named Modelfile in your working folder:
FROM olmo2:7b
PARAMETER num_ctx 4096
Then run these commands from that folder:
ollama pull olmo2:7b
ollama create olmo-2-1124-7b-instruct-short-context -f ./Modelfile
ollama run olmo-2-1124-7b-instruct-short-context
Run the task check. While the model is loaded, run ollama ps in another terminal and check CONTEXT and PROCESSOR.
The recorded Ollama package is Q4_K_M: 4.47 GB of model weights. Use Ollama 0.40.18 or a supporting newer release. A Hugging Face GGUF or MLX checkpoint is a separate representation; choose the matching source and runner in the memory calculator.
See Ollama context settings and the Modelfile instructions.
Open LM Studio’s Discover tab, search for allenai/OLMo-2-1124-7B-Instruct-GGUF, and download olmo-2-1124-7B-instruct-Q4_K_M.gguf (Q4_K_M, 4.47 GB). See the download files. Select the file in Chat, set context to 4,096, then load it. Run the task check. If it will not load, open LM Studio Model Will Not Load.
Open a terminal in the extracted llama.cpp release folder. On Windows, replace ./llama-server below with .\llama-server.exe:
./llama-server -hf allenai/OLMo-2-1124-7B-Instruct-GGUF -hff olmo-2-1124-7B-instruct-Q4_K_M.gguf -c 4096 --host 127.0.0.1 --port 8080
The server downloads the selected model. Wait for the model to load, then open http://127.0.0.1:8080 in your browser. Run the task check and inspect the result against its acceptance criteria. Keep the server terminal open; press Ctrl+C there to stop the server. The file list identifies the exact download. If the command fails: Unknown architecture? Update the runner. Allocation failed? Retry with less context or a smaller weight file.
Load the model, start a fresh chat and time your usual prompt. Record time until the first useful word and time until the full answer. Note the processor, context and output length when comparing another run.
