RWKV-4 trained on 100+ world languages (70% English, 15% multilang, 15% code).
World = Some_Pile + Some_RedPajama + Some_OSCAR + All_Wikipedia + All_ChatGPT_Data_I_can_find
XXXtuned = finetune of World on MC4, OSCAR, wiki, etc.
How to use:
The differences between World & Raven:
For 0.1/0.4/1.5B models, use fp32 for first layer (will overflow in fp16 at this moment - fixable in future), or bf16 if you have 30xx/40xx GPUs. Example strategy: cuda fp32 *1 -> cuda fp16
NOTE: the new greedy tokenizer (https://github.com/BlinkDL/ChatRWKV/blob/main/tokenizer/rwkv_tokenizer.py) will tokenize '\n\n' as one single token instead of ['\n','\n']
QA prompt (replace \n\n in xxx to \n):
Question: xxx
Answer:
and
Instruction: xxx
Input: xxx
Response:
A good chat prompt (replace \n\n in xxx to \n):
User: hi
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.
User: xxx
Assistant:
RWKV-4-World-7B-v1-20230626-ctx4096.pth 14 GiBRWKV-4-World-CHNtuned-7B-v1-20230709-ctx4096.pth 14 GiBRWKV-4-World-JPNtuned-7B-v1-20230718-ctx4096.pth 14 GiBRWKV-4-World-ARAtuned-7B-v1-20230803-ctx4096.pth 14 GiBRWKV-4-World-3B-v1-20230619-ctx4096.pth 5.7 GiBRWKV-4-World-CHNtuned-3B-v1-20230625-ctx4096.pth 5.7 GiBRWKV-4-World-1.5B-v1-fixed-20230612-ctx4096.pth 2.9 GiBRWKV-4-World-CHNtuned-1.5B-v1-20230620-ctx4096.pth 2.9 GiBRWKV-4-World-0.4B-v1-20230529-ctx4096.pth 881 MiBRWKV-4-World-CHNtuned-0.4B-v1-20230618-ctx4096.pth 881 MiBRWKV-4-World-0.1B-v1-20230520-ctx4096.pth 368 MiBRWKV-4-World-CHNtuned-0.1B-v1-20230617-ctx4096.pth 368 MiB