MCPcopy Create free account
hub / github.com/Alpha-VLLM/LLaMA2-Accessory / format_prompt

Function format_prompt

light-eval/src/eval_llavabenchmark.py:84–87  ·  view source on GitHub ↗
(prompt)

Source from the content-addressed store, hash-verified

82 return parser
83
84def format_prompt(prompt):
85
86 prompt_t=f"Below is an instruction that describes a task.\nWrite a response that appropriately completes the request.\n\n### Instruction:\n{prompt}\n\n### Response:"
87 return prompt_t
88
89
90def split_list(lst, n):

Callers 1

generate_outputFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected