Skip to content

Commit

Permalink
Merge pull request tloen#6 from janmaltel/janmaltel/input-bug
Browse files Browse the repository at this point in the history
Fix bug in generate promp using 'instruction' instead of 'input'
  • Loading branch information
tloen authored Mar 14, 2023
2 parents 6f46581 + a3b80fd commit 1193c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

def generate_prompt(data_point):
# sorry about the formatting disaster gotta move fast
if data_point["instruction"]:
if data_point["input"]:
return f"""Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Expand Down

0 comments on commit 1193c63

Please sign in to comment.