Rename variable to use same convention
This commit is contained in:
@@ -38,9 +38,9 @@ class JeopardyPrompter(AlpacaPrompter):
|
||||
class CompletionPrompter(AlpacaPrompter):
|
||||
def build_prompt(
|
||||
self,
|
||||
text: str
|
||||
instruction: str
|
||||
) -> str:
|
||||
return text
|
||||
return instruction
|
||||
|
||||
def get_response(self, output: str) -> str:
|
||||
return output.strip()
|
||||
|
||||
Reference in New Issue
Block a user