Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,86 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
- zh
|
5 |
+
- fr
|
6 |
+
- es
|
7 |
+
- de
|
8 |
+
- pt
|
9 |
+
- ru
|
10 |
+
- it
|
11 |
+
- ja
|
12 |
+
- ko
|
13 |
+
- vi
|
14 |
+
- ar
|
15 |
+
tags:
|
16 |
+
- pytorch
|
17 |
+
- text-generation
|
18 |
+
- causal-lm
|
19 |
+
- rwkv
|
20 |
+
license: apache-2.0
|
21 |
+
datasets:
|
22 |
+
- cerebras/SlimPajama-627B
|
23 |
+
- EleutherAI/pile
|
24 |
+
- bigcode/starcoderdata
|
25 |
+
- oscar-corpus/OSCAR-2301
|
26 |
+
---
|
27 |
+
|
28 |
+
# RWKV-7 World
|
29 |
+
|
30 |
+
Use rwkv pip package 0.8.28+ for RWKV-7 inference: https://pypi.org/project/rwkv/
|
31 |
+
|
32 |
+
https://www.rwkv.com/
|
33 |
+
|
34 |
+
For developers: https://github.com/BlinkDL/RWKV-LM/tree/main/RWKV-v7
|
35 |
+
|
36 |
+
## Model Description
|
37 |
+
|
38 |
+
RWKV-7 trained on 100+ world languages (80% English, 10% multilang, 10% code).
|
39 |
+
|
40 |
+
Recommended fine-tuning format (use \n for newlines):
|
41 |
+
```
|
42 |
+
User: xxxxxxxxxxxxxxx
|
43 |
+
|
44 |
+
Assistant: xxxxxxxxxxxxxxx
|
45 |
+
xxxxxxxxxxxxxxx
|
46 |
+
xxxxxxxxxxxxxxx
|
47 |
+
|
48 |
+
User: xxxxxxxxxxxxxxx
|
49 |
+
xxxxxxxxxxxxxxx
|
50 |
+
|
51 |
+
Assistant: xxxxxxxxxxxxxxx
|
52 |
+
xxxxxxxxxxxxxxx
|
53 |
+
xxxxxxxxxxxxxxx
|
54 |
+
xxxxxxxxxxxxxxx
|
55 |
+
```
|
56 |
+
|
57 |
+
A good chat prompt (better replace \n\n in xxx to \n, such that there will never be extra \n\n in response):
|
58 |
+
```
|
59 |
+
User: hi
|
60 |
+
|
61 |
+
Assistant: Hi. I am your assistant and I will provide expert full response in full details. Please feel free to ask any question and I will always answer it.
|
62 |
+
|
63 |
+
User: xxx
|
64 |
+
|
65 |
+
Assistant:
|
66 |
+
```
|
67 |
+
QA prompt (better replace \n\n in xxx to \n, such that there will never be extra \n\n in response):
|
68 |
+
```
|
69 |
+
Question: xxx
|
70 |
+
|
71 |
+
Answer:
|
72 |
+
```
|
73 |
+
and
|
74 |
+
```
|
75 |
+
Instruction: xxx
|
76 |
+
|
77 |
+
Input: xxx
|
78 |
+
|
79 |
+
Response:
|
80 |
+
```
|
81 |
+
|
82 |
+
!!! There should not be any space after your final ":" or you will upset the tokenizer and see non-English reponse !!!
|
83 |
+
|
84 |
+
!!! There should not be any space after your final ":" or you will upset the tokenizer and see non-English reponse !!!
|
85 |
+
|
86 |
+
!!! There should not be any space after your final ":" or you will upset the tokenizer and see non-English reponse !!!
|