We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 761f4d9 commit 2e48a6dCopy full SHA for 2e48a6d
include/llama.h
@@ -1021,10 +1021,6 @@ extern "C" {
1021
int32_t lstrip,
1022
bool special);
1023
1024
- /// @details Determine whether the provided tokens are in the vocabulary.
1025
- /// @return Returns true if every token provided is in the vocabulary.
1026
- LLAMA_API bool can_detokenize(const struct llama_vocab * vocab, const llama_token * tokens, int32_t n_tokens);
1027
-
1028
/// @details Convert the provided tokens into text (inverse of llama_tokenize()).
1029
/// @param text The char pointer must be large enough to hold the resulting text.
1030
/// @return Returns the number of chars/bytes on success, no more than text_len_max.
0 commit comments