buffalo / app.py
raoufjat's picture
Update app.py
1d0505c verified
raw
history blame contribute delete
252 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="JackCloudman/Phi-4-jackterated", trust_remote_code=True)
pipe(messages)