How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="shreeshaaithal/Discord-AI-bot")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("shreeshaaithal/Discord-AI-bot")
model = AutoModelForCausalLM.from_pretrained("shreeshaaithal/Discord-AI-bot", device_map="auto")
Quick Links

My Awesome Model

Downloads last month
265
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Space using shreeshaaithal/Discord-AI-bot 1