dev3 / app.py
suprimedev's picture
Update app.py
797fae6 verified
raw
history blame contribute delete
226 Bytes
# Use a pipeline as a high-level helper
from transformers import pipeline
messages = [
{"role": "user", "content": "سلام خوبی؟"},
]
pipe = pipeline("text-generation", model="CohereForAI/aya-23-8B")
pipe(messages)