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

The returned results show garbled content? #36

Closed
mxqin opened this issue Jun 5, 2023 · 2 comments
Closed

The returned results show garbled content? #36

mxqin opened this issue Jun 5, 2023 · 2 comments

Comments

@mxqin
Copy link

mxqin commented Jun 5, 2023

The running command used is:
python3 serve/gorilla_cli.py --model-path model/gorilla-7b-th-v0/

But the returned results show garbled content
image

How did this problem arise and how should it be resolved?

@mxqin mxqin closed this as completed Jun 5, 2023
@Simplegram
Copy link

Hello, I got the same problem. How did you solve this?

@ShishirPatil
Copy link
Owner

Hey @Simplegram if you are getting garbled content, one possible reason is because you might have not applied the delta to the base weights. You need to get the base llama weights and apply the delta as described here: https://github.com/ShishirPatil/gorilla/tree/main/inference#applying-delta-weights

Or you can use the mpt and falcon based models, that can be directly downloaded from hf and don't need any deltas.

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

3 participants