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