Update README.md
Browse files
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
|
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 |
-
{
|
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:
|