chat-ai / app.py
Jankidepala's picture
Update app.py
a7f12a4 verified
raw
history blame contribute delete
222 Bytes
# Use a pipeline as a high-level helper
from transformers import pipeline
messages = [
{"role": "user", "content": "Who are you?"},
]
pipe = pipeline("text-generation", model="pentagoniac/SEMIKONG-70B")
pipe(messages)