instruction-pretrain
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -12,7 +12,7 @@ tags:
|
|
12 |
- biology
|
13 |
- medical
|
14 |
---
|
15 |
-
# Instruction Pre-Training: Language Models are Supervised Multitask Learners
|
16 |
This repo contains the **biomedicine model developed from Llama3-8B** in our paper [Instruction Pre-Training: Language Models are Supervised Multitask Learners](https://huggingface.co/papers/2406.14491).
|
17 |
|
18 |
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. ***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.**
|
@@ -22,6 +22,8 @@ We explore supervised multitask pre-training by proposing ***Instruction Pre-Tra
|
|
22 |
</p>
|
23 |
|
24 |
**************************** **Updates** ****************************
|
|
|
|
|
25 |
* 2024/8/29: Updated [guidelines](https://huggingface.co/instruction-pretrain/medicine-Llama3-8B) on evaluating any 🤗Huggingface models on the domain-specific tasks
|
26 |
* 2024/7/31: Updated pre-training suggestions in the `Advanced Usage` section of [instruction-synthesizer](https://huggingface.co/instruction-pretrain/instruction-synthesizer)
|
27 |
* 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:
|
@@ -141,7 +143,7 @@ text_ids = tokenizer(text, add_special_tokens=False, **kwargs).input_ids
|
|
141 |
## Citation
|
142 |
If you find our work helpful, please cite us:
|
143 |
|
144 |
-
Instruction Pre-Training
|
145 |
```bibtex
|
146 |
@article{cheng2024instruction,
|
147 |
title={Instruction Pre-Training: Language Models are Supervised Multitask Learners},
|
@@ -151,7 +153,7 @@ Instruction Pre-Training
|
|
151 |
}
|
152 |
```
|
153 |
|
154 |
-
[Adapt LLM to Domains](https://huggingface.co/papers/2309.09530)
|
155 |
```bibtex
|
156 |
@inproceedings{
|
157 |
cheng2024adapting,
|
|
|
12 |
- biology
|
13 |
- medical
|
14 |
---
|
15 |
+
# Instruction Pre-Training: Language Models are Supervised Multitask Learners (EMNLP 2024)
|
16 |
This repo contains the **biomedicine model developed from Llama3-8B** in our paper [Instruction Pre-Training: Language Models are Supervised Multitask Learners](https://huggingface.co/papers/2406.14491).
|
17 |
|
18 |
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. ***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.**
|
|
|
22 |
</p>
|
23 |
|
24 |
**************************** **Updates** ****************************
|
25 |
+
* 2024/9/20: Our paper has been accepted by EMNLP 2024 main conference🎉
|
26 |
+
* 2024/9/11: Updated [FAQ on continual pre-training from Llama3](https://huggingface.co/instruction-pretrain/instruction-synthesizer)
|
27 |
* 2024/8/29: Updated [guidelines](https://huggingface.co/instruction-pretrain/medicine-Llama3-8B) on evaluating any 🤗Huggingface models on the domain-specific tasks
|
28 |
* 2024/7/31: Updated pre-training suggestions in the `Advanced Usage` section of [instruction-synthesizer](https://huggingface.co/instruction-pretrain/instruction-synthesizer)
|
29 |
* 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:
|
|
|
143 |
## Citation
|
144 |
If you find our work helpful, please cite us:
|
145 |
|
146 |
+
[Instruction Pre-Training](https://huggingface.co/papers/2406.14491) (EMNLP 2024)
|
147 |
```bibtex
|
148 |
@article{cheng2024instruction,
|
149 |
title={Instruction Pre-Training: Language Models are Supervised Multitask Learners},
|
|
|
153 |
}
|
154 |
```
|
155 |
|
156 |
+
[Adapt LLM to Domains](https://huggingface.co/papers/2309.09530)(ICLR 2024)
|
157 |
```bibtex
|
158 |
@inproceedings{
|
159 |
cheng2024adapting,
|