-
Notifications
You must be signed in to change notification settings - Fork 34
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 output is cropped? #57
Comments
I guess you need to format your prompt into a chat template, such as chatml, before calling setPrompt.
Or using a tokenizer |
is this still an issue? |
I added the "markup" this way: llama.setPrompt('''<|im_start|>user
Tell me a joke
<|im_end|>
<|im_start|>assistant'''); It still seems to be cropped (@netdur so I trend to say yes):
If I do something stupid feel free to link some documentation I really don't know it better. Regarding the tokenizer @aesthetic-factory do you have a code example? |
I created a test for like this:
You can download the model via:
If you also need the so file use this:
The output is something like:
It seems that there are some words missing. What is wrong with my code? It is more or less a fork of
example/test.dart
.The text was updated successfully, but these errors were encountered: