Shahrokhpk's picture
Create app.py
9c19d94 verified
raw
history blame contribute delete
230 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="mshojaei77/gemma-3-4b-persian-v0")
pipe(messages)