Spaces:
Running
Running
File size: 256 Bytes
09777ea c37a02b 5de9a55 c37a02b 5de9a55 c37a02b |
1 2 3 4 5 6 7 8 9 10 11 |
huggingface-cli login
# Use a pipeline as a high-level helper
from transformers import pipeline
messages = [
{"role": "user", "content": "Who are you?"},
]
pipe = pipeline("text-generation", model="mistralai/Mistral-7B-Instruct-v0.3")
pipe(messages) |