| 40 | } |
| 41 | |
| 42 | void LFM2::setup_tokenizer(std::string model_path) { |
| 43 | auto tokenizer_config = this->_shared_setup_tokenizer(model_path); |
| 44 | this->tokenizer->is_doubled_encoded = true; |
| 45 | } |
| 46 | |
| 47 | std::string LFM2::apply_chat_template(nlohmann::ordered_json& messages, nlohmann::ordered_json tools) { |
| 48 | minja::chat_template_inputs inputs; |
no test coverage detected