Update README.md
Browse files
README.md
CHANGED
@@ -5,6 +5,8 @@
|
|
5 |
|
6 |
**Qwen2-7B-Instruct-Refine** and **Qwen2-1.5B-Instruct-Refine** are two powerful large language models that act as proficient prompt engineers. They can optimize and refine the prompts input by users, and the generated optimized instructions can significantly enhance the LLM's ability to produce better and more informative responses for users.
|
7 |
|
|
|
|
|
8 |
## π Quick Start
|
9 |
|
10 |
Here provides a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and how to generate contents.
|
@@ -45,6 +47,8 @@ response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
|
45 |
|
46 |
## π Evaluation
|
47 |
|
|
|
|
|
48 |
| Model | Detail | Truthfulness |
|
49 |
|------------------------------------|---------|--------------|
|
50 |
| Qwen2-1.5B-Instruct | 50.00% | 50.00% |
|
@@ -52,4 +56,20 @@ response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
|
52 |
| + Qwen2-7B-Instruct-Refine | 76.56% | 62.19% |
|
53 |
| Qwen2-7B-Instruct | 50.00% | 50.00% |
|
54 |
| + Qwen2-1.5B-Instruct-Refine | 70.94% | 57.19% |
|
55 |
-
| + Qwen2-7B-Instruct-Refine | 74.69% | 58.44% |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
**Qwen2-7B-Instruct-Refine** and **Qwen2-1.5B-Instruct-Refine** are two powerful large language models that act as proficient prompt engineers. They can optimize and refine the prompts input by users, and the generated optimized instructions can significantly enhance the LLM's ability to produce better and more informative responses for users.
|
7 |
|
8 |
+
We sampled the dataset from OpenHermes and the LCCD dataset, ensuring a balanced task distribution. For training set annotations, we used Qwen-max with incorporated our handwritten examples as in-context prompts.
|
9 |
+
|
10 |
## π Quick Start
|
11 |
|
12 |
Here provides a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and how to generate contents.
|
|
|
47 |
|
48 |
## π Evaluation
|
49 |
|
50 |
+
We used single-turn instructions from MT-Bench as input for Qwen2-1.5B-Instruct and Qwen2-7B-Instruct. GPT4-turbo is used to evaluate the changes in the level of detail and truthfulness of responses to our model's revised instructions.
|
51 |
+
|
52 |
| Model | Detail | Truthfulness |
|
53 |
|------------------------------------|---------|--------------|
|
54 |
| Qwen2-1.5B-Instruct | 50.00% | 50.00% |
|
|
|
56 |
| + Qwen2-7B-Instruct-Refine | 76.56% | 62.19% |
|
57 |
| Qwen2-7B-Instruct | 50.00% | 50.00% |
|
58 |
| + Qwen2-1.5B-Instruct-Refine | 70.94% | 57.19% |
|
59 |
+
| + Qwen2-7B-Instruct-Refine | 74.69% | 58.44% |
|
60 |
+
|
61 |
+
## π Citation
|
62 |
+
|
63 |
+
If you find our work helpful, please cite it!
|
64 |
+
|
65 |
+
```
|
66 |
+
@misc{TAPIR,
|
67 |
+
title={Distilling Instruction-following Abilities of Large Language Models with Task-aware Curriculum Planning},
|
68 |
+
author={Yuanhao Yue and Chengyu Wang and Jun Huang and Peng Wang},
|
69 |
+
year={2024},
|
70 |
+
eprint={2405.13448},
|
71 |
+
archivePrefix={arXiv},
|
72 |
+
primaryClass={cs.CL},
|
73 |
+
url={https://arxiv.org/abs/2405.13448},
|
74 |
+
}
|
75 |
+
```
|