How to use Sami92/XLM-PER-L with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Sami92/XLM-PER-L")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Sami92/XLM-PER-L") model = AutoModelForTokenClassification.from_pretrained("Sami92/XLM-PER-L")