File size: 1,377 Bytes
29f5acd
 
c773435
 
 
 
 
 
 
 
 
29f5acd
 
c773435
29f5acd
701e8a5
29f5acd
c773435
29f5acd
c773435
29f5acd
0a2af45
29f5acd
 
 
c773435
29f5acd
c773435
 
 
29f5acd
c773435
 
29f5acd
c773435
29f5acd
701e8a5
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
library_name: transformers
license: apache-2.0
datasets:
- monology/pile-uncopyrighted
- MiniLLM/pile-tokenized
language:
- en
metrics:
- accuracy
pipeline_tag: text-generation
---

# Pretrain-Qwen-500M

[paper](https://arxiv.org/abs/2410.17215) | [code](https://github.com/thu-coai/MiniPLM)

**Pretrain-Qwen-500M** is a 500M model with QWen achitecture conventionally pre-trained from scratch on [the Pile](https://huggingface.co./datasets/monology/pile-uncopyrighted) for 50B tokens.

We also open-source the tokenized [pre-training corpus](https://huggingface.co./datasets/MiniLLM/pile-tokenized) for reproducibility.

**It is used as the baseline for [MiniLLM-Qwen-500M](https://huggingface.co./MiniLLM/MiniPLM-Qwen-500M)**

## Evaluation

MiniPLM models achieves better performance given the same computation and scales well across model sizes:

<p align='left'>
    <img src="https://cdn-uploads.huggingface.co/production/uploads/624ac662102fcdff87be51b9/EOYzajQcwQFT5PobqL3j0.png" width="1000">
</p>

## Other Baselines
+ [VanillaKD](https://huggingface.co./MiniLLM/VanillaKD-Pretrain-Qwen-500M)

## Citation

```bibtext
@article{miniplm,
    title={MiniPLM: Knowledge Distillation for Pre-Training Language Models}, 
    author={Yuxian Gu and Hao Zhou and Fandong Meng and Jie Zhou and Minlie Huang},
    journal={arXiv preprint arXiv:2410.17215},
    year={2024}
}
```