Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
1 |
-
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from transformers import pipeline
|
2 |
|
3 |
+
messages = [
|
4 |
+
{"role": "user", "content": "Who are you?"},
|
5 |
+
]
|
6 |
+
|
7 |
+
pipe = pipeline("text-generation", model="meta-llama/Meta-Llama-3.1-405B-Instruct")
|
8 |
+
print(pipe(messages))
|