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