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

Improve code/instruction for how to download model fsx/BlinkDL/HF-MODEL #69

Closed
djaffer opened this issue Mar 31, 2023 · 1 comment
Closed

Comments

@djaffer
Copy link

djaffer commented Mar 31, 2023

Clarify that so it is easier to follow.

Was getting this error

FileNotFoundError: [Errno 2] No such file or directory: '/fsx/BlinkDL/HF-MODEL/rwkv-4-pile-14b/RWKV-4-Pile-14B-20230313-ctx8192-test1050.pth'

title = "RWKV-4-Pile-14B-20230313-ctx8192-test1050"
model_path = hf_hub_download(repo_id="BlinkDL/rwkv-4-pile-14b", filename=f"{title}.pth")
model = RWKV(model=model_path, strategy='cpu')

@BlinkDL
Copy link
Owner

BlinkDL commented Mar 31, 2023

seems you are still loading model from the default path
make sure you are editing v2/chat.py and running v2/chat.py

@BlinkDL BlinkDL closed this as completed Mar 31, 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