model = RWKV(model='RWKV-5-World-7B-v2-20240128-ctx4096', strategy='mps fp32')
pipeline = PIPELINE(model, "20B_tokenizer.json") # 20B_tokenizer.json is in https://github.com/BlinkDL/ChatRWKV
ctx = "Assistant: Sure! Here is a very detailed plan to create flying pigs:"
print(ctx, end='')
Outpout:
Assistant: Sure! Here is a very detailed plan to create flying pigs:0029 Comedy[ mah ComedyN Minutes[ mah ComedyN[ mah ComedyNmong[ mah ComedyN ArcherN Dou[ mah ComedyNiduc[ automation agent
Outpout:
Assistant: Sure! Here is a very detailed plan to create flying pigs:0029 Comedy[ mah ComedyN Minutes[ mah ComedyN[ mah ComedyNmong[ mah ComedyN ArcherN Dou[ mah ComedyNiduc[ automation agent