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

OLMo-7B-0724-hf

Date: 2026-11-15Commit: 1ee306dSigned: 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-0724-hfsafetensorspermissive
FactsParams6.9BSize27.6 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get allenai/OLMo-7B-0724-hf
# manifest sha256 70b79dfed3f8… · 27.6 GB · 14 files
$ fw verify ./OLMo-7B-0724-hf allenai/OLMo-7B-0724-hf
From sourceHosted (signed)allenai/OLMo-7B-0724-hfLast check: 2026-11-15 03:25 UTC

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

Works with

Overview

Size
27.6 GB
Weights
27.6 GB (safetensors)
Parameters
6.9B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
14, 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:25 UTCpassed

Model card

From the publisher at commit 1ee306d. Shown as plain text with links; images open at the publisher.

Image: OLMo Logo

Model Card for OLMo 7B July 2024#

OLMo is a series of Open Language Models designed to enable the science of language models. The OLMo models are trained on the Dolma dataset. We release all code, checkpoints, logs, and details involved in training these models.

Model Details#

The core models released in this batch are the following:

SizeTraining TokensLayersHidden SizeAttention HeadsContext Length
OLMo 1B July 20243.05 Trillion162048164096
OLMo 7B July 20242.75 Trillion324096324096

[Coming soon] We are releasing many checkpoints for these models, for every 1000 training steps. The naming convention is stepXXX-tokensYYYB. These checkpoints are already available at OLMo 7B April 2024 and will be copied here soon.

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

olmo = AutoModelForCausalLM.from_pretrained("allenai/OLMo-7B-0724-hf", revision="step1000-tokens4B")

All revisions/branches are listed in the file revisions.txt. 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-7B-0724-hf")
branches = [b.name for b in out.branches]
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: Oct. 2023, with most data from Feb./March 2023 based on Dolma dataset version.
Model Sources#

Uses#

Inference#

Proceed as usual with HuggingFace:

from transformers import AutoModelForCausalLM, AutoTokenizer
olmo = AutoModelForCausalLM.from_pretrained("allenai/OLMo-7B-0724-hf")
tokenizer = AutoTokenizer.from_pretrained("allenai/OLMo-7B-0724-hf")
message = ["Language modeling is "]
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])
>> 'Language modeling is the first step to build natural language generation...'

Alternatively, with the pipeline abstraction:

from transformers import pipeline
olmo_pipe = pipeline("text-generation", model="allenai/OLMo-7B-0724-hf")
print(olmo_pipe("Language modeling is "))
>> 'Language modeling is a branch of natural language processing that aims to...'

Or, you can make this slightly faster by quantizing the model, e.g. AutoModelForCausalLM.from_pretrained("allenai/OLMo-7B-0724-hf", 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.

Fine-tuning#

Model fine-tuning can be done from the final checkpoint (the main revision of this model) or many intermediate checkpoints. Two recipes for tuning are available.

  1. Fine-tune with the OLMo repository:
torchrun --nproc_per_node=8 scripts/train.py {path_to_train_config} \
    --data.paths=[{path_to_data}/input_ids.npy] \
    --data.label_mask_paths=[{path_to_data}/label_mask.npy] \
    --load_path={path_to_checkpoint} \
    --reset_trainer_state

For more documentation, see the GitHub readme.

  1. Further fine-tuning support is being developing in AI2's Open Instruct repository. Details are here.

Evaluation#

Core model results for OLMo 7B models are found below.

TaskLlama-7bLlama2-7bFalcon-7bMpt-7bOLMo-7BLlama2-13bOLMo 7B April 2024OLMo 7B July 2024
arc_c44.548.547.546.548.552.842.543.8
arc_e67.969.570.470.565.473.767.268.8
boolq75.480.274.674.273.482.283.778.9
copa91.086.086.085.090.090.086.084.0
hellaswag76.276.875.977.676.478.675.577.4
openbookqa51.248.453.048.650.451.850.048.2
piqa77.276.778.577.378.479.077.578.2
sciq93.994.593.993.793.895.596.797.0
winogrande70.569.468.969.967.973.569.868.8
truthfulQA (MC2)33.938.534.033.036.036.835.836.5
MMLU (5 shot MC)31.545.024.030.828.355.552.053.4
GSM8k10.012.04.04.58.525.029.035.0
Full average60.362.159.259.359.866.263.864.2

And for 1B models:

taskrandomStableLM 2 1.6b\*Pythia 1BTinyLlama 1.1BOLMo 1.0 1BOLMo 1B July 2024
arc_challenge2543.8133.1134.7834.4536.5
arc_easy2563.6850.1853.1658.0755.3
boolq5076.661.864.660.767.5
copa508472787983.0
hellaswag2568.244.758.762.566.9
openbookqa2545.837.843.646.446.4
piqa507469.171.173.774.9
sciq2594.78690.588.193.4
winogrande5064.953.358.958.961.4
Average36.1168.4156.4461.4862.4265.0

\*Unlike OLMo, Pythia, and TinyLlama, StabilityAI has not disclosed yet the data StableLM was trained on, making comparisons with other efforts challenging.

Model Details#

Data#

For training data details, please see the Dolma documentation. This model uses the new 1.7 version with more data sources, better deduplication, and quality filtering. During the annealing phase we use a higher quality subset of Dolma with a linearly decaying learning rate to 0.

Staged training / annealing#

In contrast to OLMo 1.0, we trained OLMo 7B July with a two-stage curriculum:

  • In the first stage, we trained the model from scratch on the Dolma 1.7 dataset. We set a cosine learning rate schedule with a warmup of 2500 steps, a peak learning rate of 3e-4, and a cosine decay to 3e-5 after 3T tokens. We cut off this stage after 2.7T tokens, when the learning rate is still somewhat high.
  • At this point we switch to the second stage, in which we train on a higher-quality subset of Dolma 1.7 (see below) for another 50B tokens, while linearly decaying the learning rate to 0. Our high-quality subset includes (1) using all available Wikipedia, OpenWebMath and Flan data, (2) removing Dolma CC, CC News, and Megawika, and (3) rebalancing remaining sources to achieve approximately equal proportions of each. See exact token counts and relative proportions of this second stage mix below.

Both stages contribute equally to the final performance of the OLMo model. After the first stage, OLMo 1.7 already outperforms OLMo 1.0. The second stage consistently adds 2 to 3 points of performance on top.

Architecture#

OLMo 7B architecture with peer models for comparison.

OLMo 7B July 2024OLMo 1.0 7BLlama 2 7BOpenLM 7BFalcon 7BPaLM 8B
d_model409640964096409645444096
num heads323232327116
num layers323232323232
MLP ratio~8/3~8/3~8/3~8/344
LayerNorm typenon-parametric LNnon-parametric LNRMSNormparametric LNparametric LNparametric LN
pos embeddingsRoPERoPERoPERoPERoPERoPE
attention variantfullfullGQAfullMQAMQA
biasesnonenonenonein LN onlyin LN onlynone
block typesequentialsequentialsequentialsequentialparallelparallel
activationSwiGLUSwiGLUSwiGLUSwiGLUGeLUSwiGLU
sequence length409620484096204820482048
batch size (instances)10242160102420482304512
batch size (tokens)~4M~4M~4M~4M~4M~1M
weight tyingnononononoyes
Hyperparameters#

AdamW optimizer parameters are shown below.

SizePeak LRBetasEpsilonWeight Decay
1B4.0E-4(0.9, 0.95)1.0E-50.1
7B3.0E-4(0.9, 0.95)1.0E-50.1

Optimizer settings comparison with peer models.

OLMo 7B July 2024OLMo 1.0 7BLlama 2 7BOpenLM 7BFalcon 7B
warmup steps25005000200020001000
peak LR3.0E-043.0E-043.0E-043.0E-046.0E-04
minimum LR3.0E-053.0E-053.0E-053.0E-051.2E-05
weight decay0.10.10.10.10.1
beta10.90.90.90.90.99
beta20.950.950.950.950.999
epsilon1.0E-051.0E-051.0E-051.0E-051.0E-05
LR schedulecosinelinearcosinecosinecosine
gradient clippingglobal 1.0global 1.0global 1.0global 1.0global 1.0
gradient reduce dtypeFP32FP32FP32FP32BF16
optimizer state dtypeFP32FP32most likely FP32FP32FP32

Bias, Risks, and Limitations#

Like any base language model or fine-tuned model without safety filtering, it is relatively easy for a user to prompt these models to generate harmful and generally sensitive content. Such content can also be produced unintentionally, especially in the case of bias, so we recommend users consider the risks of applications of this technology.

Otherwise, many facts from OLMo or any LLM will often not be true, so they should be checked.

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, {nathanl} at allenai dot org.

Files

14 files · 27.6 GBWeights 27.6 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 14 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md18.6 KB1f89ec6879abf6e573ba6c55fb2c556680d1faf4b7d4d0974480d12c0fe1315a
config.json610 B44de7fa4984fec2d3f8388f102c24e93fa178d4aa84fb65e7afe9dadd2dfbf76
generation_config.json115 Be9a6fc6755330e6da09ba04b1137c4db0744faafc0fa609ff378fd6989518295
model-00001-of-00006.safetensors4.94 GB40558d22ee78eed5362a7afbff4284102155b9fe9d3d3587119f18f3a96a090b
model-00002-of-00006.safetensors4.99 GBa888ed700f696250751d15b6608a9af0ab5aa51d3ec80b68785f348ec8029947
model-00003-of-00006.safetensors4.92 GBf5462de26e7b49cc84fa4d7a9a3cc095d26aeaaff6365a2423c59b5729c6de55
model-00004-of-00006.safetensors4.86 GB07cc5729511ef6fea8b7defd413b04f3734df2c77deb71836da973ed18c7941b
model-00005-of-00006.safetensors4.86 GB01eb0289a271c1668b056dbee0c5e2e55685fe36871818497b4d860a533951f5
model-00006-of-00006.safetensors2.98 GBf67b7bedd422fd3922a49b0ec922315ae3227c8c42beb65d20ae073a29b9467b
model.safetensors.index.json18.4 KBef764ba374aff86092263e47f6c00612c15b4def809debbd06cce918aae2fb75
special_tokens_map.json65 Bb77491e270c6fcc5b2ecf22370f7318a6a18d3cabea09ba7bab92e9bf12656c2
tokenizer.json2.12 MBa094266ac6c4982efba277bc251349a5a6d6ad37efb39a2a90f53d8be2a40a40
tokenizer_config.json5.37 KB78a839c7851f14f9fb30e664c2b46166dc0628f2900679e5ec160656f702edff
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
1ee306df31 pinned now2026-11-15 03:25 UTC14 files · 27.6 GB

Use it

$ fw get allenai/OLMo-7B-0724-hf
# manifest sha256 70b79dfed3f8… · 27.6 GB · 14 files
$ fw verify ./OLMo-7B-0724-hf allenai/OLMo-7B-0724-hf
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-0724-hf.json --dir ./OLMo-7B-0724-hf $ python3 fw.py verify ./OLMo-7B-0724-hf ./allenai__OLMo-7B-0724-hf.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download allenai/OLMo-7B-0724-hf --revision 1ee306df318ee15bfe4a76ebd5c002b0105b1ab6 --local-dir ./OLMo-7B-0724-hf
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-0724-hf", revision="1ee306df318ee15bfe4a76ebd5c002b0105b1ab6") model = AutoModelForCausalLM.from_pretrained("allenai/OLMo-7B-0724-hf", revision="1ee306df318ee15bfe4a76ebd5c002b0105b1ab6", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve allenai/OLMo-7B-0724-hf --revision 1ee306df318ee15bfe4a76ebd5c002b0105b1ab6

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
1f89ec6879abf6e573ba6c55fb2c556680d1faf4b7d4d0974480d12c0fe1315a
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-0724-hfDate: 2026-11-15Commit: 1ee306dSigned: 2DC28CC7B26A283B ✓
Upstream
allenai/OLMo-7B-0724-hf
Pinned commit
1ee306df318ee15bfe4a76ebd5c002b0105b1ab6
Manifest
OLMo-7B-0724-hf.json · .minisig
Manifest sha256
70b79dfed3f8c510e9c441e3d6d23f7be3542b36a7098fd1282f73f1dadd77db
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:25 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/allenai/OLMo-7B-0724-hf.json $ curl -O https://freeweights.allternit.com/manifests/allenai/OLMo-7B-0724-hf.json.minisig $ minisign -Vm OLMo-7B-0724-hf.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-0724-hf
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-0724-hf.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