Spaces:
Sleeping
Sleeping
# 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) |