Downloads · 30 days
5
29% of all-time downloads
FAIRC/token-averaging-model1_250m
token-averaging-model1_250m is a machine learning model from FAIRC. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Checkpoint dump from the token averaging research project.
Downloads · 30 days
5
29% of all-time downloads
All-time downloads
17
Public
Repo size
11.7 GB
Likes
0
Public
Click a slice to open those files.
.pt11.7 GB · 100%
From the Hugging Face model README
Checkpoint dump from the token averaging research project.
model1_250mresultsloss_log.csvcheckpoints/final.ptcheckpoints/step_00050000.ptcheckpoints/step_00100000.ptcheckpoints/step_00150000.ptimport torch
from huggingface_hub import hf_hub_download
path = hf_hub_download('FAIRC/token-averaging-model1_250m', 'checkpoints/final.pt')
state = torch.load(path, map_location='cpu', weights_only=False)
model.load_state_dict(state['model']) # your OLMAveraged / OLMTransformerBody
print(state['step'], state['tokens_seen'], state['cumulative_flops'])
These are not Hugging Face transformers weights. Rebuild the
architecture from config.json → model_config (or from
experiments/chinchilla/model_configs.py in the source repo) and load
the raw state_dict.
{
"d_model": 1024,
"n_heads": 16,
"n_layers": 16,
"context_len": 1024,
"averaging_k": 1,
"tie_embeddings": true,
"lr": 0.00014,
"warmup_steps": 2000,
"target_tokens": 5000000000,
"n_params_approx": 252789760
}