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

Method fewshot_template

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

Source from the content-addressed store, hash-verified

32 return self.system_prompt + '{fewshot_examples}问:{instruction}\n答:'
33 @property
34 def fewshot_template(self):
35 return "问:{user}\n答:{gpt}\n"
36
37 def collate_conv(self, data):
38 raise NotImplementedError

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected