Downloads · 30 days
559
2% of all-time downloads
alexandrainst/da-ner-base
da-ner-base is a token classification model from alexandrainst. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as apache-2.0.
The model tags tokens (in Danish sentences) with named entity tags (BIO format) [PER, ORG, LOC, MISC]. The pretrained language model used for fine-tuning is the Danish BERT by BotXO.
Downloads · 30 days
559
2% of all-time downloads
All-time downloads
25.7K
Public
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.h5443 MB · 50%
From the Hugging Face model README
The model tags tokens (in Danish sentences) with named entity tags (BIO format) [PER, ORG, LOC, MISC]. The pretrained language model used for fine-tuning is the Danish BERT by BotXO.
See the DaNLP documentation for more details.
Here is how to use the model:
from transformers import BertTokenizer, BertForTokenClassification
model = BertForTokenClassification.from_pretrained("alexandrainst/da-ner-base")
tokenizer = BertTokenizer.from_pretrained("alexandrainst/da-ner-base")
The model has been trained on the DaNE.