Unverified Commit 8ba78587 authored by digger-yu's avatar digger-yu Committed by GitHub
Browse files

Update generate_gpt35_answers.py

fix spelling error with generate_gpt35_answers.py
parent bfbf6505
...@@ -35,7 +35,7 @@ logger = logging.getLogger(__name__) ...@@ -35,7 +35,7 @@ logger = logging.getLogger(__name__)
def get_answer(question: str, max_tokens: int): def get_answer(question: str, max_tokens: int):
answer = question answer = question
prompt = question['instruction'] if question['input'] == "" else question['instuction'] + \ prompt = question['instruction'] if question['input'] == "" else question['instruction'] + \
" " + question['input'] " " + question['input']
for _ in range(MAX_API_RETRY): for _ in range(MAX_API_RETRY):
try: try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment