Downloads · 30 days
12
2% of all-time downloads
coastalcph/danish-legal-bert-base
danish-legal-bert-base is a fill-mask model from coastalcph. Use it when you need the model to fill a missing word. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
This model is a derivative of Maltehb/danish-bert-botxo adapted to legal text. It has been pre-trained on a combination of the Danish part of the MultiEURLEX (Chalkidis et al., 2021) dataset comprising EU legislation…
Downloads · 30 days
12
2% of all-time downloads
All-time downloads
618
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.bin540 MB · 100%
From the Hugging Face model README
This model is a derivative of Maltehb/danish-bert-botxo adapted to legal text. It has been pre-trained on a combination of the Danish part of the MultiEURLEX (Chalkidis et al., 2021) dataset comprising EU legislation and two subsets (retsinformationdk, retspraksis) of the Danish Gigaword Corpus (Derczynski et al., 2021) comprising legal proceedings.
It achieves the following results on the evaluation set:
This is a BERT model (Devlin et al., 2018) model pre-trained on Danish legal corpora. It follows a base configuration with 12 Transformer layers, each one with 768 hidden units and 12 attention heads.
More information needed
This model is pre-training on a combination of the Danish part of the MultiEURLEX dataset and two subsets (retsinformationdk, retspraksis) of the Danish Gigaword Corpus.
The model was initially pre-trained for 500k steps with sequences up to 128 tokens, and then continued pre-training for additional 100k with sequences up to 512 tokens.
The following hyperparameters were used during training:
| Training Loss | Length | Step | Validation Loss |
|---|---|---|---|
| 1.0030 | 128 | 50000 | - |
| 0.9593 | 128 | 100000 | - |