How to use AntoineBlanot/roberta-span-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="AntoineBlanot/roberta-span-detection")
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("AntoineBlanot/roberta-span-detection") model = AutoModel.from_pretrained("AntoineBlanot/roberta-span-detection")