Always add
<|rwkv_tokenizer_end_of_text|>
(Token ID = 0) before your prompt. The model is incapable of attending the first token it receives due to state initialization issues.
Bad prompt example:
Mathews lifted a dark brow. "Are you sure about that? I mean, wouldn't it be better to wait until Dale is home safe and sound?"
"The longer I wait to tell her, the worse it will be for both of us."
"Good luck. You're going to need it," said
The model is unable to recall
Mathews
because it is the very first token of the input.
Good prompt example:
<|rwkv_tokenizer_end_of_text|>Mathews lifted a dark brow. "Are you sure about that? I mean, wouldn't it be better to wait until Dale is home safe and sound?"
"The longer I wait to tell her, the worse it will be for both of us."
"Good luck. You're going to need it," said
the model will output
Mathews
as expected.
Without this token:
lambada_openai ppl=13.84 acc=48.13%
With this token added:
lambada_openai ppl=12.36 acc=49.12%
Note: this phenomenon is very rare for Transformers but significant for RNNs. We speculate that the model uses the first token to pin the states, to better acquire information from later tokens.
Runs of fla-hub rwkv7-0.1B-g1a on huggingface.co
1.6K
Total runs
0
24-hour runs
0
3-day runs
126
7-day runs
1.6K
30-day runs
More Information About rwkv7-0.1B-g1a huggingface.co Model
rwkv7-0.1B-g1a huggingface.co is an AI model on huggingface.co that provides rwkv7-0.1B-g1a's model effect (), which can be used instantly with this fla-hub rwkv7-0.1B-g1a model. huggingface.co supports a free trial of the rwkv7-0.1B-g1a model, and also provides paid use of the rwkv7-0.1B-g1a. Support call rwkv7-0.1B-g1a model through api, including Node.js, Python, http.
rwkv7-0.1B-g1a huggingface.co is an online trial and call api platform, which integrates rwkv7-0.1B-g1a's modeling effects, including api services, and provides a free online trial of rwkv7-0.1B-g1a, you can try rwkv7-0.1B-g1a online for free by clicking the link below.
fla-hub rwkv7-0.1B-g1a online free url in huggingface.co:
rwkv7-0.1B-g1a is an open source model from GitHub that offers a free installation service, and any user can find rwkv7-0.1B-g1a on GitHub to install. At the same time, huggingface.co provides the effect of rwkv7-0.1B-g1a install, users can directly use rwkv7-0.1B-g1a installed effect in huggingface.co for debugging and trial. It also supports api for free installation.