SuperAPIAI Directory

OLMo

github.com · AI developer platforms

OLMo is an open-source language model project launched by AI2 (Allen Institute for AI), providing modeling, training, evaluation, and inference code, designed for researchers. This repository contains the pretraining, fine-tuning, evaluation, and inference workflows for the OLMo series of models, supports installing PyTorch from source or PyPI, and has integrated Hugging Face. Currently, this repository is no longer actively updated; the latest version requires visiting the OLMo-core repository.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

OLMo is an open-source language model repository developed by AI2, providing code for training and using its advanced open-source language models, with the design philosophy of "by scientists, for scientists."

Purpose: This project is mainly used to train and run AI2's open-source language models, covering the full workflow of modeling, training, evaluation, and inference.

Main capabilities: Supports pretraining and fine-tuning. Pretraining uses a two-stage process—the first stage trains on large-scale web data (OLMo-mix-1124), and the second stage trains on high-quality targeted data (Dolmino-mix-1124). Provides checkpoints at least every 1,000 training steps, supporting OLMo core and Hugging Face formats. Provides instruction fine-tuned variants (1B, 7B, 13B, 32B Instruct). Includes evaluation tools (OLMo Eval, olmes) and hosted example scripts on Modal.com.

Usage: First install PyTorch according to the operating system instructions. For training and fine-tuning, installing from source is recommended, but installation from PyPI is also possible. To reproduce the training workflow, run the specified commands and select the corresponding training configuration; configuration settings can be overridden via the command line. Training data is streamed via HTTP by default; for large-scale reproduction, it is recommended to download it locally and modify the paths. PyTorch needs to be upgraded to 2.5.x. Inference can use the Hugging Face integration or the pipeline abstraction; quantized models are sensitive to input types and CUDA handling, so it is recommended to explicitly convert input_ids to CUDA. The hosted example scripts on Modal.com are located at ./scripts/olmo2_modal_openai.py; you need to install the library according to the Modal.com guide and create a secret with the specified name.

Applicable scenarios: Suitable for researchers and developers to reproduce pretraining, fine-tune, evaluate, and deploy inference for open-source language models.

Limitations: This repository is out of sync with newer versions and is no longer active; the latest version requires visiting OLMo-core. The 32B variant is trained by a new trainer; for training or fine-tuning, you need to go to OLMo-core. This repository does not provide information related to fees, prices, platforms, or performance.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools