Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,48 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
datasets:
|
4 |
+
- databricks/databricks-dolly-15k
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
metrics:
|
8 |
+
- rouge
|
9 |
+
base_model:
|
10 |
+
- openai-community/gpt2-large
|
11 |
+
pipeline_tag: text-generation
|
12 |
+
---
|
13 |
+
|
14 |
+
|
15 |
+
# MiniLLM/MiniLLM-gpt2-760M
|
16 |
+
|
17 |
+
[paper](https://arxiv.org/abs/2306.08543) | [code](https://github.com/microsoft/LMOps/tree/main/minillm)
|
18 |
+
|
19 |
+
**MiniLLM-gpt2-760M** is a gpt2-large (760M) model distilled from [gpt2-xlarge (1.5B)](https://huggingface.co/MiniLLM/teacher-gpt2-1.5B) on [databricks-dolly-15k](https://huggingface.co/datasets/aisquared/databricks-dolly-15k)
|
20 |
+
|
21 |
+
<p align='left'>
|
22 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/624ac662102fcdff87be51b9/7hBWGZzYMJihCRQ70XoiQ.png" width="1000">
|
23 |
+
</p>
|
24 |
+
|
25 |
+
**Note**: MiniLLM requires a [SFT model]() for initilization to perform the PPO optimization.
|
26 |
+
|
27 |
+
## Evaluation
|
28 |
+
|
29 |
+
We ask GPT-4 to give scores for the generated responses of MiniLLM. The prompts are taken from [databricks-dolly-15k](https://huggingface.co/datasets/aisquared/databricks-dolly-15k) (test set), [self-instruct](https://github.com/tatsu-lab/stanford_alpaca/blob/main/alpaca_data.json), and [vicuna](https://github.com/lm-sys/vicuna-blog-eval)
|
30 |
+
|
31 |
+
<p align='left'>
|
32 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/624ac662102fcdff87be51b9/rDXnaDbKH5mBYAmqGC-_a.png" width="1000">
|
33 |
+
</p>
|
34 |
+
|
35 |
+
## Baseline Models
|
36 |
+
+ [SFT w/o KD]()
|
37 |
+
+ [KD]()
|
38 |
+
+ [SeqKD]()
|
39 |
+
|
40 |
+
## Citation
|
41 |
+
```
|
42 |
+
@inproceedings{minillm,
|
43 |
+
title={MiniLLM: Knowledge Distillation of Large Language Models},
|
44 |
+
author={Gu, Yuxian and Dong, Li and Wei, Furu and Huang, Minlie},
|
45 |
+
booktitle={Proceedings of ICLR},
|
46 |
+
year={2024}
|
47 |
+
}
|
48 |
+
```
|