StarRing2022
commited on
Commit
•
e0c85e5
1
Parent(s):
9ddba82
Update README.md
Browse files
README.md
CHANGED
@@ -13,7 +13,7 @@ from ringrwkv.rwkv_tokenizer import TRIE_TOKENIZER<br>
|
|
13 |
from ringrwkv.modehf_world import RwkvForCausalLM<br>
|
14 |
|
15 |
|
16 |
-
model = RwkvForCausalLM.from_pretrained("StarRing2022/RWKV-4-World-
|
17 |
tokenizer = TRIE_TOKENIZER('./ringrwkv/rwkv_vocab_v20230424.txt')<br>
|
18 |
|
19 |
text = "你叫什么名字?"<br>
|
|
|
13 |
from ringrwkv.modehf_world import RwkvForCausalLM<br>
|
14 |
|
15 |
|
16 |
+
model = RwkvForCausalLM.from_pretrained("StarRing2022/RWKV-4-World-1.5B") #或将本模型下载至本地文件夹<br>
|
17 |
tokenizer = TRIE_TOKENIZER('./ringrwkv/rwkv_vocab_v20230424.txt')<br>
|
18 |
|
19 |
text = "你叫什么名字?"<br>
|