sail / data-mixture-doremi-1b

huggingface.co
Total runs: 48
24-hour runs: -4
7-day runs: -6
30-day runs: 16
Model's Last Updated: July 11 2024
text-generation

Introduction of data-mixture-doremi-1b

Model Details of data-mixture-doremi-1b

Models Trained with DoReMi Data Mixture

This is a collection of the language models trained using DoReMi data mxiture, each with approximately 1B parameters, trained on different random mixtures of data. This models aims to server as the strong baseline for our RegMix approach ( https://huggingface.co/papers/2407.01492 ).

  • Model Size : 5 separate models trained with different seeds, each with ~1B parameters
  • Training Data : DoReMi 280M proxy model (Xie et al. 2023) data mixtures on the RegMix-Data dataset
  • Purpose : The DoReMi is a flagship method for automatic data mxiture
Dataset

The models were trained using the RegMix-Data dataset, which is split into different domains from The Pile dataset.

Training Hyperparameters
Hyperparameter Value
Batch Size 1M tokens
Learning Rate 4e-4
Minimum Learning Rate 1e-5
Learning Rate Schedule Cosine
Warmup Ratio 4%
Total Tokens 25B
How to Load a Model

You can load any model using the corresponding branch with the Hugging Face Transformers library:

from transformers import AutoModel, AutoTokenizer

model = AutoModel.from_pretrained("sail/data-mixture-doremi-1b", revision="seed-1")
tokenizer = AutoTokenizer.from_pretrained("sail/data-mixture-doremi-1b", revision="seed-1")
Data Mixture

The specific data mixture used for training this 1B model is as follows, which can be also found in our code :

train:
  train_the_pile_arxiv: 0.0036
  train_the_pile_freelaw: 0.0043
  train_the_pile_nih_exporter: 0.0063
  train_the_pile_pubmed_central: 0.0046
  train_the_pile_wikipedia_en: 0.0699
  train_the_pile_dm_mathematics: 0.0018
  train_the_pile_github: 0.0179
  train_the_pile_philpapers: 0.0274
  train_the_pile_stackexchange: 0.0153
  train_the_pile_enron_emails: 0.0070
  train_the_pile_gutenberg_pg_19: 0.0072
  train_the_pile_pile_cc: 0.6057
  train_the_pile_ubuntu_irc: 0.0093
  train_the_pile_europarl: 0.0062
  train_the_pile_hackernews: 0.0134
  train_the_pile_pubmed_abstracts: 0.0113
  train_the_pile_uspto_backgrounds: 0.0036
valid:
  valid_the_pile_pile_cc: 1.0
model_name: tinyllama_1_1b

The domain weights will be renormalized in the code to make sure the sum of them to be 1.0.

Model Variants

To access different model variants, simply change the revision parameter in the from_pretrained method to the desired seed (e.g., "seed-2", "seed-3"), and the maxium seed is 5.

Model Performance

We evaluated each model using lm-evaluation-harness . The performance metric for each task is the average of 0-shot to 5-shot accnorm (accuracy normalized, if available) or acc (accuracy) scores.

Seed PIQA LAMBADA MultiRC LogiQA SocialIQA Winogrande RACE OpenBookQA COPA HellaSwag SciQ ARC Easy QQP Average
1 68.27 32.08 53.82 26.42 33.35 52.17 31.31 30.33 68.50 43.41 81.63 50.60 56.57 48.34
2 68.07 32.93 51.34 26.02 33.12 52.58 31.23 30.16 70.60 43.73 84.30 52.69 59.68 48.96
3 68.79 33.26 52.03 24.70 33.18 52.04 30.87 29.72 65.80 43.09 84.56 53.53 56.67 48.33
4 68.80 31.45 54.03 25.16 33.14 51.63 31.06 29.68 72.80 43.19 85.20 52.68 56.24 48.85
5 68.88 32.51 53.17 25.22 33.58 52.15 31.27 30.08 71.00 43.15 81.02 51.96 57.57 48.58
Usage Notes
  • These models are primarily intended for research purposes.
  • Performance may vary depending on the specific task and domain.
Citation

If you use these models in your research, please cite the RegMix paper:

@article{liu2024regmix,
  title={RegMix: Data Mixture as Regression for Language Model Pre-training},
  author={Liu, Qian and Zheng, Xiaosen and Muennighoff, Niklas and Zeng, Guangtao and Dou, Longxu and Pang, Tianyu and Jiang, Jing and Lin, Min},
  journal={arXiv preprint arXiv:2407.01492},
  year={2024}
}

For more information about the RegMix methodology and its applications, please refer to the original paper .

Runs of sail data-mixture-doremi-1b on huggingface.co

48
Total runs
-4
24-hour runs
-12
3-day runs
-6
7-day runs
16
30-day runs

More Information About data-mixture-doremi-1b huggingface.co Model

More data-mixture-doremi-1b license Visit here:

https://choosealicense.com/licenses/mit

data-mixture-doremi-1b huggingface.co

data-mixture-doremi-1b huggingface.co is an AI model on huggingface.co that provides data-mixture-doremi-1b's model effect (), which can be used instantly with this sail data-mixture-doremi-1b model. huggingface.co supports a free trial of the data-mixture-doremi-1b model, and also provides paid use of the data-mixture-doremi-1b. Support call data-mixture-doremi-1b model through api, including Node.js, Python, http.

data-mixture-doremi-1b huggingface.co Url

https://huggingface.co/sail/data-mixture-doremi-1b

sail data-mixture-doremi-1b online free

data-mixture-doremi-1b huggingface.co is an online trial and call api platform, which integrates data-mixture-doremi-1b's modeling effects, including api services, and provides a free online trial of data-mixture-doremi-1b, you can try data-mixture-doremi-1b online for free by clicking the link below.

sail data-mixture-doremi-1b online free url in huggingface.co:

https://huggingface.co/sail/data-mixture-doremi-1b

data-mixture-doremi-1b install

data-mixture-doremi-1b is an open source model from GitHub that offers a free installation service, and any user can find data-mixture-doremi-1b on GitHub to install. At the same time, huggingface.co provides the effect of data-mixture-doremi-1b install, users can directly use data-mixture-doremi-1b installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

data-mixture-doremi-1b install url in huggingface.co:

https://huggingface.co/sail/data-mixture-doremi-1b

Url of data-mixture-doremi-1b

data-mixture-doremi-1b huggingface.co Url

Provider of data-mixture-doremi-1b huggingface.co

sail
ORGANIZATIONS

Other API from sail

huggingface.co

Total runs: 646
Run Growth: -16
Growth Rate: -2.48%
Updated:September 19 2023
huggingface.co

Total runs: 276
Run Growth: 117
Growth Rate: 42.39%
Updated:February 20 2025
huggingface.co

Total runs: 264
Run Growth: 117
Growth Rate: 44.32%
Updated:December 21 2024
huggingface.co

Total runs: 156
Run Growth: 68
Growth Rate: 43.59%
Updated:February 20 2025
huggingface.co

Total runs: 78
Run Growth: 4
Growth Rate: 5.13%
Updated:December 21 2024
huggingface.co

Total runs: 68
Run Growth: 30
Growth Rate: 44.12%
Updated:December 21 2024
huggingface.co

Total runs: 66
Run Growth: 40
Growth Rate: 60.61%
Updated:February 20 2025
huggingface.co

Total runs: 64
Run Growth: -48
Growth Rate: -75.00%
Updated:December 21 2024
huggingface.co

Total runs: 57
Run Growth: 44
Growth Rate: 77.19%
Updated:April 08 2022
huggingface.co

Total runs: 54
Run Growth: -235
Growth Rate: -435.19%
Updated:December 21 2024
huggingface.co

Total runs: 49
Run Growth: 43
Growth Rate: 87.76%
Updated:April 08 2022
huggingface.co

Total runs: 48
Run Growth: -22
Growth Rate: -45.83%
Updated:December 21 2024
huggingface.co

Total runs: 41
Run Growth: -43
Growth Rate: -104.88%
Updated:December 21 2024
huggingface.co

Total runs: 37
Run Growth: 24
Growth Rate: 64.86%
Updated:February 20 2025
huggingface.co

Total runs: 33
Run Growth: -47
Growth Rate: -142.42%
Updated:April 29 2025
huggingface.co

Total runs: 29
Run Growth: 5
Growth Rate: 19.23%
Updated:April 15 2025
huggingface.co

Total runs: 28
Run Growth: 14
Growth Rate: 50.00%
Updated:February 20 2025
huggingface.co

Total runs: 24
Run Growth: 2
Growth Rate: 8.70%
Updated:April 15 2025
huggingface.co

Total runs: 21
Run Growth: -10
Growth Rate: -47.62%
Updated:February 20 2025
huggingface.co

Total runs: 19
Run Growth: 15
Growth Rate: 78.95%
Updated:February 20 2025
huggingface.co

Total runs: 17
Run Growth: 10
Growth Rate: 58.82%
Updated:February 20 2025
huggingface.co

Total runs: 16
Run Growth: -926
Growth Rate: -5787.50%
Updated:December 21 2024
huggingface.co

Total runs: 16
Run Growth: 1
Growth Rate: 6.25%
Updated:February 20 2025
huggingface.co

Total runs: 10
Run Growth: 1
Growth Rate: 10.00%
Updated:February 20 2025
huggingface.co

Total runs: 9
Run Growth: -7
Growth Rate: -77.78%
Updated:December 21 2024
huggingface.co

Total runs: 9
Run Growth: 0
Growth Rate: 0.00%
Updated:February 20 2025
huggingface.co

Total runs: 8
Run Growth: -5
Growth Rate: -62.50%
Updated:February 20 2025
huggingface.co

Total runs: 7
Run Growth: 2
Growth Rate: 28.57%
Updated:February 20 2025
huggingface.co

Total runs: 7
Run Growth: 4
Growth Rate: 57.14%
Updated:February 20 2025
huggingface.co

Total runs: 6
Run Growth: -1
Growth Rate: -16.67%
Updated:September 19 2023
huggingface.co

Total runs: 5
Run Growth: -10
Growth Rate: -200.00%
Updated:April 29 2025
huggingface.co

Total runs: 4
Run Growth: -2
Growth Rate: -50.00%
Updated:September 19 2023
huggingface.co

Total runs: 4
Run Growth: 1
Growth Rate: 25.00%
Updated:February 20 2025
huggingface.co

Total runs: 3
Run Growth: -10
Growth Rate: -333.33%
Updated:February 24 2025
huggingface.co

Total runs: 2
Run Growth: -5
Growth Rate: -250.00%
Updated:February 20 2025
huggingface.co

Total runs: 1
Run Growth: -1
Growth Rate: -100.00%
Updated:April 18 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 27 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 11 2022
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 02 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:October 31 2022