Testnakub / app.py
ShadowTak's picture
Create app.py
b5c232a verified
raw
history blame contribute delete
237 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="scb10x/llama-3-typhoon-v1.5-8b-instruct")
pipe(messages)