abetlen / abetlen/llama-cpp-python
Issues with Llava-v1.6-34b and Llava16ChatHandler
Aperta
- Lingua principale
- Python
- Stelle
- 10.6k
- Fork
- 1.4k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
When I use _Llava16ChatHandler_ for _Llava-v1.6-34b_ (I used _Llava-v1.6-34b.Q5_K_M.gguf_) as instructed in the readme, it outputs random emojis or starts doing Q&A by itself.
I noticed that the chat template in the model metadata is:
`{% for message in messages %}{{'' + message['role'] + '\n' + message['content'] + '' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ 'assistant\n' }}{% endif %}`
It's in _chatML_ format.
So, I changed the handler to NanoLlavaChatHandler and it seems to work.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.