| 78 | |
| 79 | |
| 80 | std::string Llama3::generate(chat_meta_info_t& meta_info, int length_limit, std::ostream& os, std::function<bool()> is_cancelled) { |
| 81 | //header_print("is_cancelled", is_cancelled); |
| 82 | return this->_shared_generate(meta_info, length_limit, os, is_cancelled); |
| 83 | } |
| 84 | |
| 85 | std::string Llama3::generate_with_prompt(chat_meta_info_t& meta_info, lm_uniform_input_t& input, int length_limit, std::ostream& os) { |
| 86 | if (!this->insert(meta_info, input)) { |
no test coverage detected