feihu.hf
commited on
Commit
·
f28e641
1
Parent(s):
bac0d01
update README
Browse files
README.md
CHANGED
@@ -100,11 +100,13 @@ To achieve optimal performance, we recommend the following settings:
|
|
100 |
- Use Temperature=0.6 and TopP=0.95 instead of Greedy decoding to avoid endless repetitions.
|
101 |
- Use TopK between 20 and 40 to filter out rare token occurrences while maintaining the diversity of the generated output.
|
102 |
|
103 |
-
3. **
|
|
|
|
|
104 |
- **Math Problems**: Include "Please reason step by step, and put your final answer within \boxed{}." in the prompt.
|
105 |
- **Multiple-Choice Questions**: Add the following JSON structure to the prompt to standardize responses: "Please show your choice in the `answer` field with only the choice letter, e.g.,`\"answer\": \"C\"`." in the prompt.
|
106 |
|
107 |
-
|
108 |
|
109 |
For supported frameworks, you could add the following to `config.json` to enable YaRN:
|
110 |
```json
|
|
|
100 |
- Use Temperature=0.6 and TopP=0.95 instead of Greedy decoding to avoid endless repetitions.
|
101 |
- Use TopK between 20 and 40 to filter out rare token occurrences while maintaining the diversity of the generated output.
|
102 |
|
103 |
+
3. **No Thinking Content in History**: In multi-turn conversations, the historical model output should only include the final output part and does not need to include the thinking content. This feature is already implemented in `apply_chat_template`.
|
104 |
+
|
105 |
+
4. **Standardize Output Format**: We recommend using prompts to standardize model outputs when benchmarking.
|
106 |
- **Math Problems**: Include "Please reason step by step, and put your final answer within \boxed{}." in the prompt.
|
107 |
- **Multiple-Choice Questions**: Add the following JSON structure to the prompt to standardize responses: "Please show your choice in the `answer` field with only the choice letter, e.g.,`\"answer\": \"C\"`." in the prompt.
|
108 |
|
109 |
+
5. **Handle Long Inputs**: For inputs exceeding 32,768 tokens, enable [YaRN](https://arxiv.org/abs/2309.00071) to improve the model's ability to capture long-sequence information effectively.
|
110 |
|
111 |
For supported frameworks, you could add the following to `config.json` to enable YaRN:
|
112 |
```json
|