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
Summary: Using the llamafiler /tokenize endpoint does not seem to add special tokens when the corresponding flag is set to true, at least for llama-3.1-8b-instruct.
curl \
-X POST \
-H "Content-Type: application/json" \
-d '{"prompt": "The quick brown fox jumped over the lazy dog.", "add_special": true, "parse_special": false}' \
"http://localhost:8080/tokenize"
Contact Details
[email protected]
What happened?
Summary: Using the llamafiler
/tokenize
endpoint does not seem to add special tokens when the corresponding flag is set to true, at least for llama-3.1-8b-instruct.Model/system info:
Command used to start llamafiler:
Curl to reproduce issue:
Output:
For comparison, here is a script to do the same thing in python using the HuggingFace transformers library directly:
Output:
Version
llamafile v0.8.16
llamafiler v0.8.16
(but actually I built from source at commit e5c0921)
What operating system are you seeing the problem on?
Mac
Relevant log output
No response
The text was updated successfully, but these errors were encountered: