karthik18AI's picture
Update app.py
e86825c verified
raw
history blame
221 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="Mxode/minicoder-7M-init")
pipe(messages)