Update generate_gpt35_answers.py

fix spelling error with generate_gpt35_answers.py
pull/3680/head
digger-yu 2023-05-04 15:34:16 +08:00 committed by GitHub
parent bfbf650588
commit 8ba7858753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ logger = logging.getLogger(__name__)
def get_answer(question: str, max_tokens: int):
answer = question
prompt = question['instruction'] if question['input'] == "" else question['instuction'] + \
prompt = question['instruction'] if question['input'] == "" else question['instruction'] + \
" " + question['input']
for _ in range(MAX_API_RETRY):
try: