Downloads · 30 days
0
hlzhang109/CoLoR-filter
CoLoR-filter is a machine learning model from hlzhang109. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
See accompanying code at: https://github.com/davidbrandfonbrener/color-filter-olmo
Downloads · 30 days
0
Access
Public
Updated Jun 15, 2024
Repo size
432 GB
Likes
0
Public
Click a slice to open those files.
.npy369 GB · 84%
From the Hugging Face model README
See accompanying code at: https://github.com/davidbrandfonbrener/color-filter-olmo
If you only want to download the filtered, untokenized data, see: https://huggingface.co/datasets/davidbrandfonbrener/color-filtered-c4
To download the data, we recommend using the huggingface-cli.
To download all the data, run huggingface-cli download hlzhang109/CoLoR-filter --local-dir YOUR_PATH.
This will download the data to your huggingface cache and create a local-dir with symbolic links to the data. If you actually want the data at YOUR_PATH, set it as the --cache-dir in the command.
WARNING: the data is large since it contains a copy of tokenized C4 to ensure that the selected data indices match with the tokenized raw data. The C4 data is ~300GB and the rest of the repo is ~50GB of which ~45GB is the 1.2B model and optimizer checkpoints.
If you only want to download some files (e.g. just the models), use the cli. For example, huggingface-cli download hlzhang109/CoLoR-filter --local-dir YOUR_PATH --include "models/*".
If you use this code in your research, please cite the following paper:
@article{brandfonbrener2024color,
title={CoLoR-Filter: Conditional Loss Reduction Filtering for Targeted Language Model Pre-training},
author={Brandfonbrener, David and Zhang, Hanlin and Kirsch, Andreas and Schwarz, Jonathan Richard and Kakade, Sham M},
journal={arXiv preprint arXiv:XXXX.XXXXX},
year={2024}
}