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

Llava-v1.5 llamafile seems to be leaking outputs? #346

Closed
jjshoots opened this issue Apr 18, 2024 · 2 comments
Closed

Llava-v1.5 llamafile seems to be leaking outputs? #346

jjshoots opened this issue Apr 18, 2024 · 2 comments

Comments

@jjshoots
Copy link

Using the following command:

llava-v1.5-7b-q4-main.llamafile --image test_images/apanese_style_buildings.jpg --grammar 'root ::= [a-z]+ (" " [a-z]+)+' -n 10 -p '### User: The image has... ### Assistant:' --silent-prompt --no-display-prompt 2>/dev/null

I get the following output:

     1 -> ''
   835 -> ' ###'
  4911 -> ' User'
 29901 -> ':'
   450 -> ' The'
  1967 -> ' image'
   756 -> ' has'
   856 -> '...'
   835 -> ' ###'
  4007 -> ' Ass'
 22137 -> 'istant'
 29901 -> ':'
    13 -> '
'
 22933 -> 'ASS'
  9047 -> 'IST'
 13566 -> 'ANT'
 29901 -> ':'
 eunaciousness towards a building

I don't think the first many lines of text are supposed to be in there?

@jart
Copy link
Collaborator

jart commented Apr 19, 2024

Sorry about that! Something got lost in translation with the last sync. I'll upstream my modifications soon for better synchronicity.

jart added a commit that referenced this issue Apr 19, 2024
@jart
Copy link
Collaborator

jart commented Apr 19, 2024

Fixed in llamafile 0.7.2 release. Weights uploaded https://huggingface.co/jartine/llava-v1.5-7B-GGUF

@jart jart closed this as completed Apr 19, 2024
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