Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
forum1
/
sorset
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
7b2ddbc
sorset
/
app.py
forum1
Update app.py
162a346
verified
9 months ago
raw
Copy download link
history
blame
Safe
205 Bytes
from
transformers
import
pipeline
messages = [
{
"role"
:
"user"
,
"content"
:
"Who are you?"
},
]
pipe = pipeline(
"text-generation"
, model=
"meta-llama/Meta-Llama-3.1-405B-Instruct"
)
print
(pipe(messages))