Update README.md
Browse files
README.md
CHANGED
@@ -42,6 +42,15 @@ The models are evaluated using open-ended and multiple-choice math problems from
|
|
42 |
|
43 |
To reproduce our results, please refer to https://github.com/TIGER-AI-Lab/MAmmoTH2/tree/main/math_eval.
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
## Usage
|
47 |
You can use the models through Huggingface's Transformers library. Use the pipeline function to create a text-generation pipeline with the model of your choice, then feed in a math problem to get the solution.
|
|
|
42 |
|
43 |
To reproduce our results, please refer to https://github.com/TIGER-AI-Lab/MAmmoTH2/tree/main/math_eval.
|
44 |
|
45 |
+
## Chat Format
|
46 |
+
|
47 |
+
The template used to build a prompt for the Instruct model is defined as follows:
|
48 |
+
```
|
49 |
+
<s> [INST] Instruction [/INST] Model answer</s> [INST] Follow-up instruction [/INST]
|
50 |
+
```
|
51 |
+
Note that `<s>` and `</s>` are special tokens for beginning of string (BOS) and end of string (EOS) while [INST] and [/INST] are regular strings.
|
52 |
+
|
53 |
+
But we also found that the model is not very sensitive to the chat template.
|
54 |
|
55 |
## Usage
|
56 |
You can use the models through Huggingface's Transformers library. Use the pipeline function to create a text-generation pipeline with the model of your choice, then feed in a math problem to get the solution.
|