"vicuna":"""A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.
USER:{prompt}
ASSISTANT:""",
"hermes":"""### Instruction:
{prompt}
### Response:
""",
"gpt4":"""### Instruction:
{prompt}
### Response:
""",
"qlora":"""### Human: {prompt}
### Assistant:""",
"tulu":"""<|user|>
{prompt}
<|assistant|>
(includenewline)""",
"wizardlm-7b":"""{prompt}
### Response:""",
"wizardlm-13b":"""{prompt}
### Response:""",
"wizardlm-30b":"""{prompt}
### Response:""",
}
deftemplate(model,prompt):
max_ratio=0
closest_key=""
model_name=model.lower()
# Find the specialized prompt with the closest name match