MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / __init__

Method __init__

inference/utils/prompt_templates.py:116–122  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

114
115class VicunaPrompter(BasePrompter):
116 def __init__(self):
117 system_inst = "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions."
118 role1 = "USER"
119 role2 = "ASSISTANT"
120 sen_spliter = " "
121 qa_spliter = "</s>"
122 super().__init__(system_inst, role1, role2, sen_spliter, qa_spliter)
123
124
125class Llama2Prompter(OneShotBasePrompter):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected