meta-llama / app.py
richardkimsm89's picture
Update app.py
244dd57 verified
raw
history blame
209 Bytes
from transformers import pipeline
import gradio as gr
messages = [
{"role": "user", "content": "Who are you?"},
]
pipe = pipeline(model="meta-llama/Llama-3.2-1B-Instruct", max_length=512)
pipe(messages)