Update README.md
Browse files
README.md
CHANGED
@@ -5,11 +5,23 @@ datasets:
|
|
5 |
language:
|
6 |
- en
|
7 |
---
|
8 |
-
# hongzoh/Yi-6B_Open-Platypus-v2
|
9 |
|
10 |
-
##
|
11 |
-
### Base Model
|
12 |
- 01-ai/Yi-6B
|
13 |
|
14 |
-
|
15 |
-
- garage-bAInd/Open-Platypus
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
language:
|
6 |
- en
|
7 |
---
|
|
|
8 |
|
9 |
+
## Base Model
|
|
|
10 |
- 01-ai/Yi-6B
|
11 |
|
12 |
+
## Train Dataset
|
13 |
+
- garage-bAInd/Open-Platypus
|
14 |
+
- format
|
15 |
+
```
|
16 |
+
"<s>[INST]" + "instruction" + " [/INST] " + 'output' + " </s>"
|
17 |
+
```
|
18 |
+
|
19 |
+
## Usage
|
20 |
+
```
|
21 |
+
from transformers import AutoConfig, AutoModel, AutoTokenizer
|
22 |
+
|
23 |
+
model_name = 'hongzoh/Yi-6B_Open-Platypus-v2'
|
24 |
+
config = AutoConfig.from_pretrained("your model name")
|
25 |
+
model = AutoModel.from_pretrained("your model name")
|
26 |
+
tokenizer = AutoTokenizer.from_pretrained("your model name")
|
27 |
+
```
|