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

Class VicunaPrompter

inference/utils/prompt_templates.py:115–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113
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 1

get_prompterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected