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

LLaMA-2-7b-chat Editing failed #18

Open
MIracleyin opened this issue Aug 3, 2023 · 0 comments
Open

LLaMA-2-7b-chat Editing failed #18

MIracleyin opened this issue Aug 3, 2023 · 0 comments
Labels
pending This problem is yet to be addressed.

Comments

@MIracleyin
Copy link

CUDA_VISIBLE_DEVICES=7 python -m fastedit.editor \
    --data data/example.json \
    --model /path/to/Llama-2-7b-chat-hf \
    --config llama-7b \
    --template default

RuntimeError: probability tensor contains either `inf`, `nan` or element < 0

It will be inf in generate processing. This method is only use for pretrained model like Llama-2-7b-hf?

@hiyouga hiyouga added the pending This problem is yet to be addressed. label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending This problem is yet to be addressed.
Projects
None yet
Development

No branches or pull requests

2 participants