-
Does koboldcpp have a detokenize API endpoint or any way to split an input string up into its plaintext tokens? |
Beta Was this translation helpful? Give feedback.
Answered by
dan-1am
Jan 19, 2024
Replies: 1 comment 5 replies
-
API is described in built-in page: http://localhost:5001/api |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
neCo2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
API is described in built-in page: http://localhost:5001/api
/extra/tokencount - counts number of tokens and (in recent enough version) sends tokens ids of input text.