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

Function format_prompt

light-eval/src/eval_mmvet.py:76–78  ·  view source on GitHub ↗
(prompt)

Source from the content-addressed store, hash-verified

74
75
76def format_prompt(prompt):
77 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:"
78 return prompt_t
79
80def split_list(lst, n):
81 """Split a list into n (roughly) equal-sized chunks"""

Callers 1

generate_outputFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected