Downloads · 30 days
0
formll/resolving-scaling-law-discrepancies
resolving-scaling-law-discrepancies is a machine learning model from formll. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for open_lm. The card lists the license as mit.
This repository contains the model checkpoints in the paper "Resolving Discrepancies in Compute-Optimal Scaling of Language Models", by Tomer Porian, Mithcell Wortsman, Jenia Jitsev, Ludwig Schmidt, and Yair Carmon.
Downloads · 30 days
0
Access
Public
Updated Jul 8, 2024
Repo size
2.3 TB
Likes
5
Public
Click a slice to open those files.
.pt1.2 TB · 100%
From the Hugging Face model README
This repository contains the model checkpoints in the paper "Resolving Discrepancies in Compute-Optimal Scaling of Language Models", by Tomer Porian, Mithcell Wortsman, Jenia Jitsev, Ludwig Schmidt, and Yair Carmon.
Each checkpoint directory is in the path
dataset={dataset}/hparams={hparams}_warmup={warmup}_decay={decay}/params={int(params / 1e6)}M_maxstep={maxstep}
where dataset, hparams, warmup, decay, params, maxstep are as defined in the github repository, which contains the code and data for reproducing the figures in the paper.
The script evaluating_checkpoint.py allows you to evaluate checkpoints on validation shards and generate text.
Move it to your open_lm local copy and run the following commands:
python evaluating_checkpoint.py --checkpoint "path/to/checkpoint" --input-text "The quick brown fox jumps over the lazy dog."
or
python evaluating_checkpoint.py --checkpoint "path/to/checkpoint" --val-data "path/to/validation/shards"
@article{porian2024resolving,
title={Resolving Discrepancies in Compute-Optimal Scaling of Language Models},
author={Porian, Tomer and Wortsman, Mitchell and Jitsev, Jenia and Schmidt, Ludwig and Carmon, Yair},
journal={arXiv:2406.19146},
year={2024}
}