We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2084418 commit a630181Copy full SHA for a630181
episodes/01-basicConcepts.md
@@ -78,13 +78,14 @@ from transformers.utils import logging
78
logging.set_verbosity_error()
79
80
text2text_generator = pipeline("text2text-generation")
81
-print(text2text_generator("question: What is 42 ? context: 42 is the answer to life, the universe and everything"))
82
83
```
84
85
-```txt
86
-[{'generated_text': 'the answer to life, the universe and everything'}]
+```python
+print(text2text_generator("question: What is 42 ? context: 42 is the answer to life, the universe and everything"))
+
87
88
89
Feel free to prompt the chatbot with a few prompts of your own.
90
91
0 commit comments