A Danish-speaking language model with entity-aware self-attention
Project description
daLUKE
Implementation of LUKE on Danish text corpus with a focus on named entity recognition.
Installation
pip install daluke
Including optional requirements that are necessary for interacting with datasets and performing analysis:
pip install daluke[full]
Usage
Forward pass simple NER or MLM examples
daluke ner --text "Thomas Delaney fører Danmark til sejr ved EM i fodbold."
daluke masked --text "Slutresultatet af kampen mellem Danmark og Rusland bliver [MASK]-[MASK]."
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
daluke-0.0.2.tar.gz
(61.2 kB
view hashes)
Built Distribution
daluke-0.0.2-py3-none-any.whl
(79.1 kB
view hashes)