angie-chen55/javascript-github-code
Viewer • Updated • 11.8M • 214k • 18
How to use Ansh989/Chatbot with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="Ansh989/Chatbot") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Ansh989/Chatbot", dtype="auto")Base model
openai-community/gpt2