| 7026 | } |
| 7027 | |
| 7028 | static bool llama_is_byte_token(const llama_vocab & vocab, llama_token id) { |
| 7029 | return vocab.id_to_token[id].type == LLAMA_TOKEN_TYPE_BYTE; |
| 7030 | } |
| 7031 | |
| 7032 | static bool llama_is_user_defined_token(const llama_vocab& vocab, llama_token id) { |
| 7033 | return vocab.id_to_token[id].type == LLAMA_TOKEN_TYPE_USER_DEFINED; |
no outgoing calls
no test coverage detected