Transformers How to use impresso-project/ner-stacked-bert-multilingual with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="impresso-project/ner-stacked-bert-multilingual", trust_remote_code=True) # Load model directly
from transformers import AutoModelForTokenClassification
model = AutoModelForTokenClassification.from_pretrained("impresso-project/ner-stacked-bert-multilingual", trust_remote_code=True, dtype="auto")