chat-ai / app.py
Jankidepala's picture
Update app.py
3730eb1 verified
raw
history blame
226 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-8b-GPTQ")
pipe(messages)