Transformers How to use nlpchallenges/Text-Classification-Synthethic-Dataset with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="nlpchallenges/Text-Classification-Synthethic-Dataset") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("nlpchallenges/Text-Classification-Synthethic-Dataset")
model = AutoModelForSequenceClassification.from_pretrained("nlpchallenges/Text-Classification-Synthethic-Dataset")