MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / pair_key

Function pair_key

src/models/voxcpm2/tokenizer_text.cpp:133–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133std::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
140int32_t require_token_id(
141 const std::unordered_map<std::string, int32_t> & vocab,

Callers 2

bpeMethod · 0.70
load_tokenizer_jsonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected