ItbearZhang
commited on
Commit
·
cccabdc
1
Parent(s):
19359c0
Update README.md
Browse files
README.md
CHANGED
@@ -16,5 +16,5 @@ def generate_by_pipeline(instruction, inputs=""):
|
|
16 |
prompt = f"### Instruction:\n{instruction}\n\n### Input:\n{inputs}\n\n### Response:"
|
17 |
return generator(prompt)[0]['generated_text']
|
18 |
|
19 |
-
generate_by_pipeline("What is the capital of
|
20 |
```
|
|
|
16 |
prompt = f"### Instruction:\n{instruction}\n\n### Input:\n{inputs}\n\n### Response:"
|
17 |
return generator(prompt)[0]['generated_text']
|
18 |
|
19 |
+
print(generate_by_pipeline("What is the capital of China?"))
|
20 |
```
|