Skip to content

Commit 2e48a6d

Browse files
committed
Remove from API
1 parent 761f4d9 commit 2e48a6d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/llama.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,10 +1021,6 @@ extern "C" {
10211021
int32_t lstrip,
10221022
bool special);
10231023

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-
10281024
/// @details Convert the provided tokens into text (inverse of llama_tokenize()).
10291025
/// @param text The char pointer must be large enough to hold the resulting text.
10301026
/// @return Returns the number of chars/bytes on success, no more than text_len_max.

0 commit comments

Comments
 (0)