Rename variable to use same convention

This commit is contained in:
NanoCode012
2023-05-09 00:54:46 +09:00
parent cf681537ec
commit 174b74ddc9
2 changed files with 6 additions and 6 deletions

View File

@@ -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()