Downloads · 30 days
23
5% of all-time downloads
MiniLLM/VanillaKD-Pretrain-Qwen-1.2B
VanillaKD-Pretrain-Qwen-1.2B is a text generation model from MiniLLM. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
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.17…
Downloads · 30 days
23
5% of all-time downloads
All-time downloads
488
Public
Parameters
1.2B
4.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.6 GB · 100%
From the Hugging Face model README
# VanillaKD-Pretrain-Qwen-1.2B
[paper](https://arxiv.org/abs/2410.17215) | [code](https://github.com/thu-coai/MiniPLM)
**VanillaKD-Pretrain-Qwen-1.2B** is a 1.2B model with Qwen achitecture pre-trained with vanilla token-level knowledge distillation on [the Pile](https://huggingface.co/datasets/monology/pile-uncopyrighted) for 50B tokens. The teacher model is [Qwen1.5-1.8B](https://huggingface.co/Qwen/Qwen1.5-1.8B).
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-1.2B](https://huggingface.co/MiniLLM/MiniPLM-Qwen-1.2B)**
## 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
+ [Conventional Pre-Training](https://huggingface.co/MiniLLM/Pretrain-Qwen-1.2B)
## 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}
}