Update README.md
Browse files
README.md
CHANGED
@@ -7,6 +7,7 @@ Forward RWKVOutput时的细微问题,主要是引入和明确last_hidden_state
|
|
7 |
|
8 |
RingRWKV GIT开源地址:https://github.com/StarRing2022/RingRWKV <br>
|
9 |
|
|
|
10 |
import torch<br>
|
11 |
from ringrwkv.configuration_rwkv_world import RwkvConfig<br>
|
12 |
from ringrwkv.rwkv_tokenizer import TRIE_TOKENIZER<br>
|
@@ -34,4 +35,5 @@ for i in outlist:<br>
|
|
34 |
|
35 |
answer = tokenizer.decode(outlist)<br>
|
36 |
|
37 |
-
print(answer)<br>
|
|
|
|
7 |
|
8 |
RingRWKV GIT开源地址:https://github.com/StarRing2022/RingRWKV <br>
|
9 |
|
10 |
+
```python
|
11 |
import torch<br>
|
12 |
from ringrwkv.configuration_rwkv_world import RwkvConfig<br>
|
13 |
from ringrwkv.rwkv_tokenizer import TRIE_TOKENIZER<br>
|
|
|
35 |
|
36 |
answer = tokenizer.decode(outlist)<br>
|
37 |
|
38 |
+
print(answer)<br>
|
39 |
+
```
|