Does mBERT understand Romansh? Evaluating word embeddings using word alignment

Eyal Liron Dolev
6/14/2023
cs.CL

Official code: eyldlv/DERMIT-Corpus (3 stars, last commit 2024-02-08).

Abstract

We test similarity-based word alignment models (SimAlign and awesome-align) in combination with word embeddings from mBERT and XLM-R on parallel sentences in German and Romansh. Since Romansh is an unseen language, we are dealing with a zero-shot setting. Using embeddings from mBERT, both models reach an alignment error rate of 0.22, which outperforms fast_align, a statistical model, and is on par with similarity-based word alignment for seen languages. We interpret these results as evidence that mBERT contains information that can be meaningful and applicable to Romansh. To evaluate performance, we also present a new trilingual corpus, which we call the DERMIT (DE-RM-IT) corpus, containing press releases made by the Canton of Grisons in German, Romansh and Italian in the past 25 years. The corpus contains 4 547 parallel documents and approximately 100 000 sentence pairs in each language combination. We additionally present a gold standard for German-Romansh word alignment. The data is available at https://github.com/eyldlv/DERMIT-Corpus.

View on arXivView PDF

Code Implementations(1)

A multi-lingual corpus in German, Romansh and Italian

31Jan 21, 20232 years ago

Similar Papers

Cite this paper

@article{dolev2023does,
  title  = {Does mBERT understand Romansh? Evaluating word embeddings using word alignment},
  author = {Eyal Liron Dolev},
  year   = {2023},
  eprint = {2306.08702},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.08702v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.08702.svg)](https://codeofpaper.com/paper/2306.08702)

Discussion