paulilioaica
commited on
Commit
•
d060a5b
1
Parent(s):
744aade
Update README.md
Browse files
README.md
CHANGED
@@ -78,7 +78,7 @@ pipeline = transformers.pipeline(
|
|
78 |
)
|
79 |
|
80 |
prompt="How many continents are there?"
|
81 |
-
input = f"Instruct:
|
82 |
outputs = pipeline(input, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
83 |
print(outputs[0]["generated_text"])
|
84 |
|
|
|
78 |
)
|
79 |
|
80 |
prompt="How many continents are there?"
|
81 |
+
input = f"Instruct: {prompt}\nOutput:"
|
82 |
outputs = pipeline(input, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
83 |
print(outputs[0]["generated_text"])
|
84 |
|