MiMe-MeMo/Corpus-v1.1
Viewer • Updated • 13M • 170 • 2
How to use MiMe-MeMo/MeMo-BERT-03 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="MiMe-MeMo/MeMo-BERT-03") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("MiMe-MeMo/MeMo-BERT-03")
model = AutoModelForMaskedLM.from_pretrained("MiMe-MeMo/MeMo-BERT-03")MeMo-BERT-03 is a pre-trained language model for historical Danish and Norwegian literary texts (1870–1900).
It was introduced in Al-Laith et al. (2024) as part of the first dedicated PLMs for historical Danish and Norwegian.
Primary tasks:
Intended users:
Not intended for:
| Task | Dataset | Test F1 | Notes |
|---|---|---|---|
| Sentiment Analysis | MiMe-MeMo/Sentiment-v1 | 0.77 | 3-class (pos/neg/neu) |
| Word Sense Disambiguation | MiMe-MeMo/WSD-Skaebne | 0.61 | 4-class (pre-modern, modern, figure of speech, ambiguous) |
MeMo-BERT-03 outperforms MeMo-BERT-1, MeMo-BERT-2, and contemporary baselines (DanskBERT, ScandiBERT, DanBERT, BotXO) across both tasks.
If you use this model, please cite:
@inproceedings{al-laith-etal-2024-development,
title = "Development and Evaluation of Pre-trained Language Models for Historical {D}anish and {N}orwegian Literary Texts",
author = "Al-Laith, Ali and Conroy, Alexander and Bjerring-Hansen, Jens and Hershcovich, Daniel",
booktitle = "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)",
year = "2024",
address = "Torino, Italia",
publisher = "ELRA and ICCL",
pages = "4811--4819",
url = "https://aclanthology.org/2024.lrec-main.431/"
}