Update README.md
Browse files
README.md
CHANGED
|
@@ -134,6 +134,7 @@ outputs = model.generate(
|
|
| 134 |
do_sample=False
|
| 135 |
)
|
| 136 |
print(tokenizer.decode(outputs[0].tolist()))
|
|
|
|
| 137 |
#The poem was published in 1993 by the French journalist and poet Jean Baptiste de La Mo
|
| 138 |
|
| 139 |
inputs = torch.tensor([tokenizer.encode("Question: What is the capital of India?\nAnswer:")], dtype=torch.long, device='cuda')
|
|
|
|
| 134 |
do_sample=False
|
| 135 |
)
|
| 136 |
print(tokenizer.decode(outputs[0].tolist()))
|
| 137 |
+
#Write a short poem about the ocean.
|
| 138 |
#The poem was published in 1993 by the French journalist and poet Jean Baptiste de La Mo
|
| 139 |
|
| 140 |
inputs = torch.tensor([tokenizer.encode("Question: What is the capital of India?\nAnswer:")], dtype=torch.long, device='cuda')
|