MCPcopy Create free account
hub / github.com/FreedomIntelligence/CMB / instruction_template

Method instruction_template

workers/mymodel.py:28–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 return "一位用户和智能医疗大模型HuatuoGPT之间的对话。对于用户的医疗问诊,HuatuoGPT给出准确的、详细的、温暖的指导建议。对于用户的指令问题,HuatuoGPT给出有益的、详细的、有礼貌的回答。"
27 @property
28 def instruction_template(self):
29 return self.system_prompt + '问:{instruction}\n答:'
30 @property
31 def instruction_template_with_fewshot(self,):
32 return self.system_prompt + '{fewshot_examples}问:{instruction}\n答:'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected