| 2160 | } |
| 2161 | |
| 2162 | bool llama_vocab::impl::is_eog(llama_token id) const { |
| 2163 | return id != LLAMA_TOKEN_NULL && special_eog_ids.count(id) > 0; |
| 2164 | } |
| 2165 | |
| 2166 | uint8_t llama_vocab::impl::token_to_byte(llama_token id) const { |
| 2167 | GGML_ASSERT(get_type() != LLAMA_VOCAB_TYPE_NONE); |
no test coverage detected