How to use orendar/longformer-prize with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="orendar/longformer-prize")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("orendar/longformer-prize") model = AutoModelForTokenClassification.from_pretrained("orendar/longformer-prize")
What is a pickle import?