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