lodrick-the-lafted
commited on
Commit
•
604b87d
1
Parent(s):
6e5bfc4
Update README.md
Browse files
README.md
CHANGED
@@ -10,10 +10,31 @@ datasets:
|
|
10 |
|
11 |
[Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) trained with some of [teknium/openhermes](https://huggingface.co/datasets/teknium/openhermes), in Alpaca format.
|
12 |
|
|
|
|
|
13 |
|
|
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
-
|
17 |
|
18 |
```python
|
19 |
from transformers import AutoTokenizer
|
|
|
10 |
|
11 |
[Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) trained with some of [teknium/openhermes](https://huggingface.co/datasets/teknium/openhermes), in Alpaca format.
|
12 |
|
13 |
+
<br />
|
14 |
+
<br />
|
15 |
|
16 |
+
# Prompt Format
|
17 |
|
18 |
+
Both the default Mistral-Instruct tags and Alpaca are fine, so either:
|
19 |
+
```
|
20 |
+
<s>[INST] {sys_prompt} {instruction} [/INST]
|
21 |
+
```
|
22 |
+
|
23 |
+
```
|
24 |
+
{sys_prompt}
|
25 |
+
|
26 |
+
### Instruction:
|
27 |
+
{instruction}
|
28 |
+
|
29 |
+
### Response:
|
30 |
+
|
31 |
+
```
|
32 |
+
The tokenizer defaults to Mistral-style.
|
33 |
+
|
34 |
+
<br />
|
35 |
+
<br />
|
36 |
|
37 |
+
# Usage
|
38 |
|
39 |
```python
|
40 |
from transformers import AutoTokenizer
|