alt.freeweights.olmo / OLMo-7B-Instruct
From: allenai <huggingface.co/allenai>Newsgroups: alt.freeweights.olmoSubject:

OLMo-7B-Instruct

Date: 2026-11-15Commit: 5e3ff29Signed: 2DC28CC7B26A283B ✓

Text generation model with 6.9B parameters. Safetensors weights, 27.6 GB in all. Published by allenai under Apache-2.0.

6.9B params27.6GBOLMo-7B-Instructsafetensorspermissive
FactsParams6.9BSize27.6 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get allenai/OLMo-7B-Instruct
# manifest sha256 fca22be3b3cb… · 27.6 GB · 15 files
$ fw verify ./OLMo-7B-Instruct allenai/OLMo-7B-Instruct
From sourceHosted (signed)allenai/OLMo-7B-InstructLast check: 2026-11-15 03:45 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
27.6 GB
Weights
13.8 GB (safetensors)
Parameters
6.9B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
15, each with a sha256
Publisher
allenai
Added
2026-11-15
Section
alt.freeweights.olmo
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:45 UTCpassed

Model card

From the publisher at commit 5e3ff29. Shown as plain text with links; images open at the publisher.

Image: OLMo Logo

Model Card for OLMo 7B Instruct#

For transformers versions v4.40.0 or newer, we suggest using OLMo 7B Instruct HF instead.

OLMo is a series of Open Language Models designed to enable the science of language models. The OLMo base models are trained on the Dolma dataset. The adapted versions are trained on the Tulu SFT mixture and, for the Instruct version, a cleaned version of the UltraFeedback dataset. We release all code, checkpoints, logs (coming soon), and details involved in training these models.

OLMo 7B Instruct and OLMo SFT are two adapted versions of these models trained for better question answering. They show the performance gain that OLMo base models can achieve with existing fine-tuning techniques.

Note: This model requires installing ai2-olmo with pip and using ai2-olmo>=0.3.0 or HuggingFace Transformers<=4.39. New versions of the model will be released soon with compatibility improvements.

Note that this is the instruct variant of the original OLMo release - there are newer (better) versions of OLMo out now! Check here for newer releases.

Model Details#

We release two adapted model versions: The base models related to this adapted model are the following:

ModelTraining Method(s)DatasetsContext Length
OLMo 7B SFTSFTTulu 2 SFT Mix2048
OLMo 7B InstructSFT + DPOTulu 2 SFT Mix + Ultrafeedback Cleaned2048

The base models related to this adapted model are the following:

SizeTraining TokensLayersHidden SizeAttention HeadsContext Length
OLMo 1B3 Trillion162048162048
OLMo 7B2.5 Trillion324096322048
OLMo 7B Twin 2T2 Trillion324096322048
Model Description#
  • Developed by: Allen Institute for AI (AI2)
  • Supported by: Databricks, Kempner Institute for the Study of Natural and Artificial Intelligence at Harvard University, AMD, CSC (Lumi Supercomputer), UW
  • Model type: a Transformer style autoregressive language model.
  • Language(s) (NLP): English
  • License: The code and model are released under Apache 2.0.
  • Contact: Technical inquiries: olmo at allenai dot org. Press: press at allenai dot org
  • Date cutoff: Feb./March 2023 based on Dolma dataset version.
Model Sources#

Uses#

Inference#

Quickly get inference running with the following required installation:

pip install ai2-olmo

Now, proceed as usual with HuggingFace:

from hf_olmo import OLMoForCausalLM, OLMoTokenizerFast
olmo = OLMoForCausalLM.from_pretrained("allenai/OLMo-7B-Instruct")
tokenizer = OLMoTokenizerFast.from_pretrained("allenai/OLMo-7B-Instruct")
chat = [
    { "role": "user", "content": "What is language modeling?" },
]
prompt = tokenizer.apply_chat_template(chat, tokenize=False, add_generation_prompt=True)
inputs = tokenizer.encode(prompt, add_special_tokens=False, return_tensors="pt")
# optional verifying cuda
# inputs = {k: v.to('cuda') for k,v in inputs.items()}
# olmo = olmo.to('cuda')
response = olmo.generate(input_ids=inputs.to(olmo.device), max_new_tokens=100, do_sample=True, top_k=50, top_p=0.95)
print(tokenizer.batch_decode(response, skip_special_tokens=True)[0])
>> '<|user|>\nWhat is language modeling?\n<|assistant|>\nLanguage modeling is a type of natural language processing (NLP) task or machine learning task that...'

You can make this slightly faster by quantizing the model, e.g. OLMoForCausalLM.from_pretrained("allenai/OLMo-7B-Instruct", torch_dtype=torch.float16, load_in_8bit=True) (requires bitsandbytes). The quantized model is more sensitive to typing / cuda, so it is recommended to pass the inputs as inputs.input_ids.to('cuda') to avoid potential issues.

Note, you may see the following error if ai2-olmo is not installed correctly, which is caused by internal Python check naming. We'll update the code soon to make this error clearer.

    raise ImportError(
ImportError: This modeling file requires the following packages that were not found in your environment: hf_olmo. Run `pip install hf_olmo`

Evaluation#

Core model results for the 7B adapted models are found below.

ModelMMLU 0-shot ↑AlpacaEval %win ↑ToxiGen % Toxic ↓TruthfulQA %Info+True ↑
OLMo (base)28.3-81.431.6
MPT Chat33.846.80.142.7
Falcon Instruct25.214.070.727.2
RPJ-INCITE Chat27.038.046.453.0
Llama-2-Chat 7B46.887.30.026.3
AI2 Tulu 2 7B50.473.97.051.7
AI2 Tulu 2 7B DPO50.785.10.5- *
OLMo 7B SFT47.357.014.441.2
OLMo 7B Instruct46.269.31.752.0

*Following Ivison et al. 2023, we do not report Tulu 2 TruthfulQA scores due to test set contamination.

Model Details#

Data#

For training data details, please see the Dolma, Tulu 2, and UltraFeedback documentation.

Architecture#
Hyperparameters#

The hyperparameters for the two phases of training are below:

Learning RateBetaEpochsWarmupWeight DecayGradient ClippingMaximum Sequence Length
SFT2 × 10^-6N/A3Linear warmup for the first 3% of total training time, then cooldown to 0002048
DPO5 × 10^-70.13Linear warmup for the first 10% of total training time, then cooldown to 0002048

Compared to Tulu 2, DPO hyperparameters are the same. SFT is lower LR and 3 epochs instead of 2 (and 2k length instead of 8k).

Bias, Risks, and Limitations#

This adapted OLMo model is a research artifact. It is intended to benefit the research community interested in understanding the safety properties of LLMs and developers building safety tools for LLMs. For this reason, the model does not include a specific safety filter or safety training data. While our model scores well relative to its peers on ToxiGen, it is possible for the model to generate harmful and sensitive content from some user prompts. We recommend developers exercise caution and consider the risks of the applications of this technology. Furthermore, developers should consider implementing safeguards for biases, privacy, and other potential harms when appropriate. Finally, as with every LLM, OLMo may produce factual-sounding outputs that may not be true, so developers and users are encouraged to confirm such outputs before relying on them. All users of this model are responsible for how they use the model.

Citation#

BibTeX:

@article{Groeneveld2023OLMo,
  title={OLMo: Accelerating the Science of Language Models},
  author={Groeneveld, Dirk and Beltagy, Iz and Walsh, Pete and Bhagia, Akshita and Kinney, Rodney and Tafjord, Oyvind and Jha, Ananya Harsh and Ivison, Hamish and Magnusson, Ian and Wang, Yizhong and Arora, Shane and Atkinson, David and Authur, Russell and Chandu, Khyathi and Cohan, Arman and Dumas, Jennifer and Elazar, Yanai and Gu, Yuling and Hessel, Jack and Khot, Tushar and Merrill, William and Morrison, Jacob and Muennighoff, Niklas and Naik, Aakanksha and Nam, Crystal and Peters, Matthew E. and Pyatkin, Valentina and Ravichander, Abhilasha and Schwenk, Dustin and Shah, Saurabh and Smith, Will and Subramani, Nishant and Wortsman, Mitchell and Dasigi, Pradeep and Lambert, Nathan and Richardson, Kyle and Dodge, Jesse and Lo, Kyle and Soldaini, Luca and Smith, Noah A. and Hajishirzi, Hannaneh},
  journal={Preprint},
  year={2024}
}

APA:

Groeneveld, D., Beltagy, I., Walsh, P., Bhagia, A., Kinney, R., Tafjord, O., Jha, A., Ivison, H., Magnusson, I., Wang, Y., Arora, S., Atkinson, D., Authur, R., Chandu, K., Cohan, A., Dumas, J., Elazar, Y., Gu, Y., Hessel, J., Khot, T., Merrill, W., Morrison, J., Muennighoff, N., Naik, A., Nam, C., Peters, M., Pyatkin, V., Ravichander, A., Schwenk, D., Shah, S., Smith, W., Subramani, N., Wortsman, M., Dasigi, P., Lambert, N., Richardson, K., Dodge, J., Lo, K., Soldaini, L., Smith, N., & Hajishirzi, H. (2024). OLMo: Accelerating the Science of Language Models. Preprint.

Model Card Contact#

For errors in this model card, contact Nathan or Jacob, {nathanl, jacobm} at allenai dot org.

Files

15 files · 27.6 GBWeights 13.8 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md11.8 KB784b3c2c07d314c94d87694a4fe751ebe3e90b0183b8d4878363e0312f06ffcc
config.json1.36 KB0e505896e9d4dc0508f629f4172b1a5cf9e787129e809a24c258ca2dfb9154bf
configuration_olmo.py33 Bd9e1de2f860f7f81b910e804a26a026709638f44ca1dfc7a646de8e7d89c0eae
model-00001-of-00002.safetensors9.95 GB148acfce238941760f81b0d66228af4d711331102d7dc54af2c32deb0d07b6d4
model-00002-of-00002.safetensors3.83 GBec7997b27142e6a09aa705e280bff475322f5e6102dd25dc895ef5bda92b50b9
model.safetensors.index.json11.8 KBa108e3cf262184bb4ec99c06dfc2114384718f85a2b7379afd5cd69ad8d97399
modeling_olmo.py38 Bd4f31e864f5a1e8d07f52ea3222ca44883d499a3c5292923632abe1e8425d07e
pytorch_model-00001-of-00002.bin9.95 GB7c01e8e5db3174103ebbf4435dfb9c746e6fb2eb890966429e4a9e182ee3c277
pytorch_model-00002-of-00002.bin3.83 GBe3ae639bb44aca919f0c8f0966824d2f4dfe2eca5719eba0d5d70a02ed8cfbec
pytorch_model.bin.index.json11.2 KB527c8d21deea607b1d26bb8cce6cdd7132e01bd8bdca962cf4bf19467309f0c6
special_tokens_map.json66 B7d62f8ee4e28b0b763e6b9242428334885d08e34cc1586be6c3bfc8a5eb313ac
tokenization_olmo_fast.py62 B3742bf728e9dff99ced9d1bf23e2dd59df426337d8244f53cba0bb5c5e2879d6
tokenizer.json2.12 MB9ad33b4b39a9f83973c3f8c42a01948dd5b877a28ac9a5356956c4ff4ed0b714
tokenizer_config.json5.85 KB187244702a71eaf142bc80713017ce9cf653fe609df81c6d695acf33b40923fc
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
5e3ff29c56 pinned now2026-11-15 03:45 UTC15 files · 27.6 GB

Use it

$ fw get allenai/OLMo-7B-Instruct
# manifest sha256 fca22be3b3cb… · 27.6 GB · 15 files
$ fw verify ./OLMo-7B-Instruct allenai/OLMo-7B-Instruct
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/allenai/OLMo-7B-Instruct.json --dir ./OLMo-7B-Instruct $ python3 fw.py verify ./OLMo-7B-Instruct ./allenai__OLMo-7B-Instruct.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download allenai/OLMo-7B-Instruct --revision 5e3ff29c568c175562a78d726c1bd027a0bc6166 --local-dir ./OLMo-7B-Instruct
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("allenai/OLMo-7B-Instruct", revision="5e3ff29c568c175562a78d726c1bd027a0bc6166") model = AutoModelForCausalLM.from_pretrained("allenai/OLMo-7B-Instruct", revision="5e3ff29c568c175562a78d726c1bd027a0bc6166", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve allenai/OLMo-7B-Instruct --revision 5e3ff29c568c175562a78d726c1bd027a0bc6166

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
784b3c2c07d314c94d87694a4fe751ebe3e90b0183b8d4878363e0312f06ffcc
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: allenai <huggingface.co/allenai>Newsgroups: alt.freeweights.olmoSubject: OLMo-7B-InstructDate: 2026-11-15Commit: 5e3ff29Signed: 2DC28CC7B26A283B ✓
Upstream
allenai/OLMo-7B-Instruct
Pinned commit
5e3ff29c568c175562a78d726c1bd027a0bc6166
Manifest
OLMo-7B-Instruct.json · .minisig
Manifest sha256
fca22be3b3cb08a504a27a59c4b9617f50a09138caa3a1505083aa5dccf9df8e
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:45 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/allenai/OLMo-7B-Instruct.json $ curl -O https://freeweights.allternit.com/manifests/allenai/OLMo-7B-Instruct.json.minisig $ minisign -Vm OLMo-7B-Instruct.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download allenai/OLMo-7B-Instruct
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. OLMo-7B-Instruct.json. Provenance. Takedown history: none.
From: bartowski <huggingface.co/bartowski>Subject: allenai_Olmo-3-7B-Instruct-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_Olmo-3-7B-Think-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_Olmo-3.1-32B-Instruct-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_Olmo-3.1-32B-Think-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_olmOCR-2-7B-1025-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_olmOCR-7B-0225-preview-GGUF