DeepSeek-R1 / Kuch v
gamerdowntown's picture
Create Kuch v
a1d5e64 verified
raw
history blame
245 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="deepseek-ai/DeepSeek-R1", trust_remote_code=True)
pipe(messages)