You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure, but I think llama.cpp has tools to modify GGUF files to add new metadata, the easiest fix would probably be to modify your llama2 file to include the correct template.
Edit: I did just merge your PR though, so that'll be in the next release :)
Uh oh!
There was an error while loading. Please reload this page.
Description
LLama3ChatSession example is said to "supports models such as llama3, llama2, phi3, qwen1.5, etc".
However it fails due to several reasons:
Llama2 doesn't provide chat template in metadata, so by default different template is used by llama.cpp:
As a result, conversation using LLama3 example after fixing NullRefence exception looks like this:

It would be nice to have an example that uses custom HistoryTransform for llama2
The text was updated successfully, but these errors were encountered: