Downloads · 30 days
6.3K
34% of all-time downloads
tner/xlm-roberta-base-bc5cdr
xlm-roberta-base-bc5cdr is a token classification model from tner. Use it when you need labels on individual words, such as names. It is set up for transformers.
XLM-RoBERTa finetuned on NER. Check more detail at TNER repository.
Downloads · 30 days
6.3K
34% of all-time downloads
All-time downloads
18.4K
Public
Repo size
2.2 GB
Likes
0
Public
Click a slice to open those files.
.bin1.1 GB · 100%
From the Hugging Face model README
XLM-RoBERTa finetuned on NER. Check more detail at TNER repository.
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("asahi417/tner-xlm-roberta-base-bc5cdr")
model = AutoModelForTokenClassification.from_pretrained("asahi417/tner-xlm-roberta-base-bc5cdr")