MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / generate

Method generate

src/common/AutoModel/modeling_phi4.cpp:116–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114
115
116std::string Phi4::generate(chat_meta_info_t& meta_info, int length_limit, std::ostream& os, std::function<bool()> is_cancelled) {
117 return this->_shared_generate(meta_info, length_limit, os, is_cancelled);
118}
119
120std::string Phi4::generate_with_prompt(chat_meta_info_t& meta_info, lm_uniform_input_t& input, int length_limit, std::ostream& os) {
121 if (!this->insert(meta_info, input)) {

Callers 8

runMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
run_benchmarksFunction · 0.45
handle_generateMethod · 0.45

Calls 1

_shared_generateMethod · 0.80

Tested by 2

mainFunction · 0.36
mainFunction · 0.36