paulilioaica
commited on
Commit
•
6890482
1
Parent(s):
958c7b2
Update README.md
Browse files
README.md
CHANGED
@@ -67,7 +67,7 @@ pipeline = transformers.pipeline(
|
|
67 |
)
|
68 |
|
69 |
prompt="How many continents are there?"
|
70 |
-
input = f"Instruct:
|
71 |
outputs = pipeline(input, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
72 |
print(outputs[0]["generated_text"])
|
73 |
|
|
|
67 |
)
|
68 |
|
69 |
prompt="How many continents are there?"
|
70 |
+
input = f"Instruct: f{prompt}\nOutput:"
|
71 |
outputs = pipeline(input, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
72 |
print(outputs[0]["generated_text"])
|
73 |
|