How to use SIRIS-Lab/citation-parser-SPAN with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="SIRIS-Lab/citation-parser-SPAN")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("SIRIS-Lab/citation-parser-SPAN") model = AutoModelForTokenClassification.from_pretrained("SIRIS-Lab/citation-parser-SPAN")