Transformers How to use AnonymousSub/consert-s10-SR with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="AnonymousSub/consert-s10-SR") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("AnonymousSub/consert-s10-SR")
model = AutoModelForSequenceClassification.from_pretrained("AnonymousSub/consert-s10-SR")