File size: 225 Bytes
e94d8f8
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="dphn/Dolphin3.0-Mistral-24B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)