Spaces:
Running
Running
# Use a pipeline as a high-level helper | |
from transformers import pipeline | |
messages = [ | |
{"role": "user", "content": "Give a addition of two numbers code in c#?"}, | |
] | |
pipe = pipeline("text-generation", model="Mxode/minicoder-7M-init",max_new_tokens=100) | |
pipe(messages) |