instruction-pretrain
commited on
Commit
•
ff1447a
1
Parent(s):
4b90438
Update README.md
Browse files
README.md
CHANGED
@@ -7,7 +7,7 @@ datasets:
|
|
7 |
language:
|
8 |
- en
|
9 |
---
|
10 |
-
# Instruction Pre-Training: Language Models are Supervised Multitask Learners
|
11 |
This repo contains the **general models pre-trained from scratch** (on 100B tokens) in our paper [Instruction Pre-Training: Language Models are Supervised Multitask Learners](https://huggingface.co/papers/2406.14491).
|
12 |
|
13 |
We explore supervised multitask pre-training by proposing ***Instruction Pre-Training***, a framework that scalably augments massive raw corpora with instruction-response pairs to pre-train language models. The instruction-response pairs are generated by an efficient instruction synthesizer built on open-source models. In our experiments, we synthesize 200M instruction-response pairs covering 40+ task categories to verify the effectiveness of *Instruction Pre-Training*. Instruction Pre-Training* outperforms *Vanilla Pre-training* in both general pre-training from scratch and domain-adaptive continual pre-training. **In pre-training from scratch, *Instruction Pre-Training* not only improves pre-trained base models but also benefits more from further instruction tuning.** In continual pre-training, *Instruction Pre-Training* enables Llama3-8B to be comparable to or even outperform Llama3-70B.
|
@@ -18,6 +18,8 @@ We explore supervised multitask pre-training by proposing ***Instruction Pre-Tra
|
|
18 |
|
19 |
|
20 |
**************************** **Updates** ****************************
|
|
|
|
|
21 |
* 2024/8/29: Updated [guidelines](https://huggingface.co/instruction-pretrain/medicine-Llama3-8B) on evaluating any 🤗Huggingface models on the domain-specific tasks
|
22 |
* 2024/7/31: Updated pre-training suggestions in the `Advanced Usage` section of [instruction-synthesizer](https://huggingface.co/instruction-pretrain/instruction-synthesizer)
|
23 |
* 2024/7/15: We scaled up the pre-trained tokens from 100B to 250B, with the number of synthesized instruction-response pairs reaching 500M. The performance trend on downstream tasks throughout the pre-training process:
|
@@ -77,7 +79,7 @@ accelerate launch -m lm_eval --model hf \
|
|
77 |
## Citation
|
78 |
If you find our work helpful, please cite us:
|
79 |
|
80 |
-
Instruction Pre-Training
|
81 |
```bibtex
|
82 |
@article{cheng2024instruction,
|
83 |
title={Instruction Pre-Training: Language Models are Supervised Multitask Learners},
|
@@ -87,7 +89,7 @@ Instruction Pre-Training
|
|
87 |
}
|
88 |
```
|
89 |
|
90 |
-
[Adapt LLM to Domains](https://huggingface.co/papers/2309.09530)
|
91 |
```bibtex
|
92 |
@inproceedings{
|
93 |
cheng2024adapting,
|
|
|
7 |
language:
|
8 |
- en
|
9 |
---
|
10 |
+
# Instruction Pre-Training: Language Models are Supervised Multitask Learners (EMNLP 2024)
|
11 |
This repo contains the **general models pre-trained from scratch** (on 100B tokens) in our paper [Instruction Pre-Training: Language Models are Supervised Multitask Learners](https://huggingface.co/papers/2406.14491).
|
12 |
|
13 |
We explore supervised multitask pre-training by proposing ***Instruction Pre-Training***, a framework that scalably augments massive raw corpora with instruction-response pairs to pre-train language models. The instruction-response pairs are generated by an efficient instruction synthesizer built on open-source models. In our experiments, we synthesize 200M instruction-response pairs covering 40+ task categories to verify the effectiveness of *Instruction Pre-Training*. Instruction Pre-Training* outperforms *Vanilla Pre-training* in both general pre-training from scratch and domain-adaptive continual pre-training. **In pre-training from scratch, *Instruction Pre-Training* not only improves pre-trained base models but also benefits more from further instruction tuning.** In continual pre-training, *Instruction Pre-Training* enables Llama3-8B to be comparable to or even outperform Llama3-70B.
|
|
|
18 |
|
19 |
|
20 |
**************************** **Updates** ****************************
|
21 |
+
* 2024/9/20: Our paper has been accepted by EMNLP 2024 main conference🎉
|
22 |
+
* 2024/9/11: Updated [FAQ on continual pre-training from Llama3](https://huggingface.co/instruction-pretrain/instruction-synthesizer)
|
23 |
* 2024/8/29: Updated [guidelines](https://huggingface.co/instruction-pretrain/medicine-Llama3-8B) on evaluating any 🤗Huggingface models on the domain-specific tasks
|
24 |
* 2024/7/31: Updated pre-training suggestions in the `Advanced Usage` section of [instruction-synthesizer](https://huggingface.co/instruction-pretrain/instruction-synthesizer)
|
25 |
* 2024/7/15: We scaled up the pre-trained tokens from 100B to 250B, with the number of synthesized instruction-response pairs reaching 500M. The performance trend on downstream tasks throughout the pre-training process:
|
|
|
79 |
## Citation
|
80 |
If you find our work helpful, please cite us:
|
81 |
|
82 |
+
[Instruction Pre-Training](https://huggingface.co/papers/2406.14491) (EMNLP 2024)
|
83 |
```bibtex
|
84 |
@article{cheng2024instruction,
|
85 |
title={Instruction Pre-Training: Language Models are Supervised Multitask Learners},
|
|
|
89 |
}
|
90 |
```
|
91 |
|
92 |
+
[Adapt LLM to Domains](https://huggingface.co/papers/2309.09530)(ICLR 2024)
|
93 |
```bibtex
|
94 |
@inproceedings{
|
95 |
cheng2024adapting,
|