We introduce OLMo 2 1B, the smallest model in the OLMo 2 family.
OLMo 2 was pre-trained on
OLMo-mix-1124
and uses
Dolmino-mix-1124
for mid-training.
OLMo 2 is the latest in a series of
O
pen
L
anguage
Mo
dels designed to enable the science of language models.
We have released all code, checkpoints, logs, and associated training details on
GitHub
.
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 pretraining, the naming convention is
stage1-stepXXX-tokensYYYB
. For checkpoints with ingredients of the soup, the naming convention is
stage2-ingredientN-stepXXX-tokensYYYB
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-2-0425-1B")
branches = [b.name for b in out.branches]
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.
Mix composition: 50% high-quality web data + academic/Q&A/instruction/math content
Model Merging
1B Model: only 1 version is trained on a 50B mix, we did not merge.
Bias, Risks, and Limitations
Like any base or fine-tuned language model, AI can 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.
Citation
@misc{olmo20242olmo2furious,
title={{2 OLMo 2 Furious}},
author={Team OLMo and Pete Walsh and Luca Soldaini and Dirk Groeneveld and Kyle Lo and Shane Arora and Akshita Bhagia and Yuling Gu and Shengyi Huang and Matt Jordan and Nathan Lambert and Dustin Schwenk and Oyvind Tafjord and Taira Anderson and David Atkinson and Faeze Brahman and Christopher Clark and Pradeep Dasigi and Nouha Dziri and Michal Guerquin and Hamish Ivison and Pang Wei Koh and Jiacheng Liu and Saumya Malik and William Merrill and Lester James V. Miranda and Jacob Morrison and Tyler Murray and Crystal Nam and Valentina Pyatkin and Aman Rangapur and Michael Schmitz and Sam Skjonsberg and David Wadden and Christopher Wilhelm and Michael Wilson and Luke Zettlemoyer and Ali Farhadi and Noah A. Smith and Hannaneh Hajishirzi},
year={2024},
eprint={2501.00656},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2501.00656},
}
OLMo-2-0425-1B huggingface.co is an AI model on huggingface.co that provides OLMo-2-0425-1B's model effect (), which can be used instantly with this allenai OLMo-2-0425-1B model. huggingface.co supports a free trial of the OLMo-2-0425-1B model, and also provides paid use of the OLMo-2-0425-1B. Support call OLMo-2-0425-1B model through api, including Node.js, Python, http.
OLMo-2-0425-1B huggingface.co is an online trial and call api platform, which integrates OLMo-2-0425-1B's modeling effects, including api services, and provides a free online trial of OLMo-2-0425-1B, you can try OLMo-2-0425-1B online for free by clicking the link below.
allenai OLMo-2-0425-1B online free url in huggingface.co:
OLMo-2-0425-1B is an open source model from GitHub that offers a free installation service, and any user can find OLMo-2-0425-1B on GitHub to install. At the same time, huggingface.co provides the effect of OLMo-2-0425-1B install, users can directly use OLMo-2-0425-1B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.