Update app.ipynb
Browse files
app.ipynb
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
# Use a pipeline as a high-level helper
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
|
|
|
|
|
|
|
|
|
|
1 |
# Use a pipeline as a high-level helper
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
messages = [
|
5 |
+
{"role": "user", "content": "Who are you?"},
|
6 |
+
]
|
7 |
+
pipe = pipeline("text-generation", model="Qwen/Qwen2.5-72B-Instruct")
|
8 |
+
pipe(messages)
|