| 431 | } |
| 432 | |
| 433 | static void prompt_init(llama_tokens & prompt, const llama_vocab * vocab) { |
| 434 | prompt.clear(); |
| 435 | |
| 436 | prompt_add(prompt, vocab, "<|im_start|>\n", true, true); |
| 437 | } |
| 438 | |
| 439 | static std::vector<llama_token> prepare_guide_tokens(const llama_vocab * vocab, const std::string & str, const outetts_version tts_version = OUTETTS_V0_2) { |
| 440 | const std::string& delimiter = (tts_version == OUTETTS_V0_3 ? "<|space|>" : "<|text_sep|>"); |
no test coverage detected