SuperAPI AI Directory

rwkv-5-world-0.4b-2, rwkv-5-world-1.5b-2, rwkv-5-world-3b-2, rwkv-5-world-3b-2(16k), rwkv-5-world-7b-2

RWKV-5 World is a series of text generation models released by BlinkDL on Hugging Face, including 0.4B, 1.5B, 3B, 3B(16k), and 7B parameter versions. This series is based on the RWKV-5 architecture and trained on over 100 languages (70% English, 15% multilingual, 15% code), with World v2 using 1.12T tokens. Users can perform inference via the rwkv pip package (0.8.22+), or use the online Demo or GUI tools. The models are suitable for scenarios such as text generation, dialogue, and question answering, but attention must be paid to prompt format requirements.

Open website

About this tool

RWKV-5 World is a series of text generation models released by BlinkDL on Hugging Face, including versions of multiple parameter scales: rwkv-5-world-0.4b-2, rwkv-5-world-1.5b-2, rwkv-5-world-3b-2, rwkv-5-world-3b-2(16k), and rwkv-5-world-7b-2. This series of models is based on the RWKV-5 architecture, and the training data covers more than 100 world languages, of which about 70% is English, 15% is multilingual, and 15% is code. The World series dataset consists of Some_Pile, Some_SlimPajama, Some_StarCoder, Some_OSCAR, all of Wikipedia, and available ChatGPT data. World v1 was trained using 0.59T tokens, and World v2 was trained using 1.12T tokens.

In terms of main capabilities, the model is used for text generation tasks and supports common uses such as dialogue and question answering. The official recommended fine-tuning format and chat/question-answering prompt templates are provided, with a special reminder: there should be no space after the final colon, otherwise it may cause tokenizer abnormalities and produce non-English replies; it is also recommended to replace consecutive line breaks in the prompt with a single line break.

In terms of usage, users can perform RWKV-5 inference via the rwkv pip package (version 0.8.22 and above). For rwkv-world models, pipeline = PIPELINE(model, "rwkv_vocab_v20230424") must be used. The official also provides an online 7B Demo and 1.5B Demo (Hugging Face Spaces), as well as the GUI tool RWKV-Runner (see Releases). Developers can refer to API_DEMO_CHAT.py and RWKV_v5_demo.py in the ChatRWKV repository for integration. If conversion to HF format is needed, refer to the RWKV-World-HF-Tokenizer project. For training, --my_testing "r2r4" needs to be set in the latest RWKV-LM v4neo.

Applicable scenarios include text generation, dialogue systems, question-answering applications, and multilingual content generation, etc. In terms of limitations, the official has notclearly stated the model's context length (except that the 3B-2(16k) version name implies 16k), license, commercial use conditions, hardware requirements, and performance benchmarks; this information is not yet provided. Users need to evaluate the model's performance in actual tasks themselves.