| 131 | } |
| 132 | |
| 133 | std::string pair_key(const std::string & left, const std::string & right) { |
| 134 | std::string key = left; |
| 135 | key.push_back('\0'); |
| 136 | key += right; |
| 137 | return key; |
| 138 | } |
| 139 | |
| 140 | int32_t require_token_id( |
| 141 | const std::unordered_map<std::string, int32_t> & vocab, |
no outgoing calls
no test coverage detected