Update README.md
Browse files
README.md
CHANGED
@@ -21,7 +21,8 @@ language:
|
|
21 |
from transformers import AutoConfig, AutoModel, AutoTokenizer
|
22 |
|
23 |
model_name = 'hongzoh/Yi-6B_Open-Platypus-v2'
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
27 |
```
|
|
|
21 |
from transformers import AutoConfig, AutoModel, AutoTokenizer
|
22 |
|
23 |
model_name = 'hongzoh/Yi-6B_Open-Platypus-v2'
|
24 |
+
|
25 |
+
config = AutoConfig.from_pretrained("model_name")
|
26 |
+
model = AutoModel.from_pretrained("model_name")
|
27 |
+
tokenizer = AutoTokenizer.from_pretrained("model_name")
|
28 |
```
|