| 427 | } |
| 428 | |
| 429 | static std::string bytes_to_unicode_bpe(uint8_t byte) { |
| 430 | static std::unordered_map<uint8_t, std::string> map = bytes_to_unicode_map_bpe(); |
| 431 | return map.at(byte); |
| 432 | } |
| 433 | |
| 434 | static std::unordered_map<std::string, uint8_t> unicode_to_bytes_map_bpe() { |
| 435 | std::unordered_map<std::string, uint8_t> map; |
no test coverage detected