mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2025-09-05 20:19:51 +00:00
14 lines
872 B
Python
14 lines
872 B
Python
def instruct_prompt(prompt: str) -> str:
|
|
return f"""Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nComplete the following Python code without any tests or explanation\n{prompt}\n\n### Response:"""
|
|
|
|
|
|
def standard_prompt(prompt: str) -> str:
|
|
return f"""Complete the following Python code without any tests or explanation\n{prompt}"""
|
|
|
|
|
|
def write_prompt(prompt: str) -> str:
|
|
return f"""Write a python program to complete the following code:\n{prompt}"""
|
|
|
|
|
|
def replit_glaive_prompt(prompt: str) -> str:
|
|
return f"""Below is an instruction that describes a task, paired with an input that provides further context.\n Write a response that appropriately completes the request.\n\n ### Instruction:\nWrite a program to perform the given task.\n\n Input:\n{prompt}\n\n### Response:"""
|