chainyo commited on
Commit
a2c5955
1 Parent(s): 5a99b54

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -23,14 +23,14 @@ The model was trained on the following kind of prompt:
23
 
24
  ```python
25
  def generate_prompt(instruction: str, input_ctxt: str = None) -> str:
26
- if input:
27
  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.
28
 
29
  ### Instruction:
30
  {instruction}
31
 
32
  ### Input:
33
- {input}
34
 
35
  ### Response:"""
36
  else:
 
23
 
24
  ```python
25
  def generate_prompt(instruction: str, input_ctxt: str = None) -> str:
26
+ if input_ctxt:
27
  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.
28
 
29
  ### Instruction:
30
  {instruction}
31
 
32
  ### Input:
33
+ {input_ctxt}
34
 
35
  ### Response:"""
36
  else: