igorsterner/xlmr-multilingual-sentence-segmentation
⚠️ Warning: An updated version of this model is available [here](https://huggingface.co/segment-any-text/sat-12l-sm) This model is no longer maintained.
Please refer to our Segment any Text paper for more details: [https://arxiv.org/abs/2406.16678](https://arxiv.org/abs/2406.16678)
xlmr-multilingual-sentence-segmentation
This model is a fine-tuned version of xlm-roberta-base on a corrupted version of the universal dependency datasets. It achieves the following results on the (also corrupted) evaluation set:
- Loss: 0.0074
- Precision: 0.9664
- Recall: 0.9677
- F1: 0.9670
Test set performance
Results
All results here are percentage F1:
Opus100 [2]
Who wins most? XLM-RoBERTa: 56, WtPSplit: 12, Spacy (multilingual): 8
Universal Dependencies [3]
Who wins most? XLM-RoBERTa: 24, WtPSplit: 17 Spacy (multilingual): 13
Ersatz [4]
Who wins most? XLM-RoBERTa: 10, WtPSplit: 8, Spacy (multilingual): 4
German--English code-switching [5]
[1] Where’s the Point? Self-Supervised Multilingual Punctuation-Agnostic Sentence Segmentation (Minixhofer et al., ACL 2023)
[2] Improving Massively Multilingual Neural Machine Translation and Zero-Shot Translation (Zhang et al., ACL 2020)
[3] Universal Dependencies (de Marneffe et al., CL 2021)
[4] A unified approach to sentence segmentation of punctuated text in many languages (Wicks & Post, ACL-IJCNLP 2021)
[5] The Denglisch Corpus of German-English Code-Switching (Osmelak & Wintner, SIGTYP 2023)
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- trainbatchsize: 64
- evalbatchsize: 64
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lrschedulertype: linear
- num_epochs: 5
Training results
Framework versions
- Transformers 4.39.1
- Pytorch 2.2.1+cu121
- Datasets 2.18.0
- Tokenizers 0.15.2
Citation
Please consider citing our paper if this model has helped you:
@inproceedings{frohman-etal-2024-segment,
title = "Segment Any Text: A Universal Approach for Robust, Efficient and Adaptable Sentence Segmentation",
author={Markus Frohmann and Igor Sterner and Ivan Vulić and Benjamin Minixhofer and Markus Schedl},
month = nov,
year = "2024",
publisher = "Association for Computational Linguistics",
}