tomaarsen/MultiCoNER
Viewer • Updated • 2.92M • 1.74k • 4
How to use bond005/rubert-multiconer with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="bond005/rubert-multiconer") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("bond005/rubert-multiconer")
model = AutoModelForTokenClassification.from_pretrained("bond005/rubert-multiconer")This is a BERT-based named entity recognizer for extracting named entities in Russian texts. Entities of the following six classes can be recognized: