Update README.md
Browse files
README.md
CHANGED
@@ -28,7 +28,7 @@ sequences = pipeline(
|
|
28 |
num_return_sequences=1,
|
29 |
eos_token_id=tokenizer.eos_token_id,
|
30 |
)
|
31 |
-
|
32 |
for seq in sequences:
|
33 |
generated_text = "Question: " + " ".join(seq['generated_text'].split("Question:")[:2])
|
34 |
print(f"Result: {generated_text}")
|
|
|
28 |
num_return_sequences=1,
|
29 |
eos_token_id=tokenizer.eos_token_id,
|
30 |
)
|
31 |
+
|
32 |
for seq in sequences:
|
33 |
generated_text = "Question: " + " ".join(seq['generated_text'].split("Question:")[:2])
|
34 |
print(f"Result: {generated_text}")
|