Duplicated from lewtun/sagemaker-distilbert-emotion
How to use lewtun/chatgpt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="lewtun/chatgpt")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lewtun/chatgpt") model = AutoModelForSequenceClassification.from_pretrained("lewtun/chatgpt")
hi
Здравтсвуйте
· Sign up or log in to comment