Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo ? #164

Closed
malv-c opened this issue Aug 17, 2023 · 2 comments
Closed

demo ? #164

malv-c opened this issue Aug 17, 2023 · 2 comments

Comments

@malv-c
Copy link

malv-c commented Aug 17, 2023

No description provided.

@malv-c
Copy link
Author

malv-c commented Aug 17, 2023

% pip show rwkv
Name: rwkv
Version: 0.8.9
Summary: The RWKV Language Model
Home-page:
Author: Bo PENG
Author-email:
License:
Location: /M/conda/envs/lcpu/lib/python3.11/site-packages
Requires: tokenizers
Required-by:
(lcpu) /M/rwkv-cpp-accelerated
% python *y
Traceback (most recent call last):
File "/M/rwkv-cpp-accelerated/RWKV_v5_demo.py", line 106, in
tokenizer = RWKV_TOKENIZER("tokenizer/rwkv_vocab_v20230424.txt")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/M/rwkv-cpp-accelerated/RWKV_v5_demo.py", line 21, in init
lines = open(file_name, "r", encoding="utf-8").readlines()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'tokenizer/rwkv_vocab_v20230424.txt'

@BlinkDL
Copy link
Owner

BlinkDL commented Aug 17, 2023

use absolute path of rwkv_vocab_v20230424.txt

@BlinkDL BlinkDL closed this as completed Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants