Skip to main content

A Danish-speaking language model with entity-aware self-attention

Project description

daLUKE

pytest

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


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)

Uploaded Source

Built Distribution

daluke-0.0.2-py3-none-any.whl (79.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page