This model is a specialized Seq2Seq transformer designed to expand medieval scribal abbreviations (brevigraphs and suspensions) into their full forms. It was specifically trained to handle the complexities of Latin manuscripts based on a fixed set of special characters used in
Burchards Dekret Digital .
1from transformers import pipeline
2
3# Load the expander
4expander = pipeline("text2text-generation", model="mschonhardt/abbreviationes-v2")
5
6# Example: "Vt ep̅i conꝓuinciales peregrina iu¬" abbreviated
7text = "Vt ep̅i conꝓuinciales peregrina iu¬"
8result = expander(text, max_length=512)
9
10print(f"Source: {text}")
11print(f"Expanded: {result[0]['generated_text']}")
If you use this model in your research, please cite the project and the underlying architecture:
1@software{schonhardt_michael_2026_expansion,
2 author = "Schonhardt, Michael",
3 title = "Medieval Latin Abbreviation Expander (abbreviationes-v2)",
4 year = "2026",
5 publisher = "Zenodo",
6 doi = "10.5281/zenodo.18411989",
7 url = "[https://doi.org/10.5281/zenodo.18411989](https://doi.org/10.5281/zenodo.18411989)"
8}
9
10@article{xue-etal-2022-byt5,
11 title = "{B}y{T}5: Towards a Token-Free Future with Pre-trained Byte-to-Byte Models",
12 author = "Xue, Linting and
13 Barua, Aditya and
14 Constant, Noah and
15 Al-Rfou, Rami and
16 Narang, Sharan and
17 Kale, Mihir and
18 Roberts, Adam and
19 Raffel, Colin",
20 editor = "Roark, Brian and
21 Nenkova, Ani",
22 journal = "Transactions of the Association for Computational Linguistics",
23 volume = "10",
24 year = "2022",
25 address = "Cambridge, MA",
26 publisher = "MIT Press",
27 url = "https://aclanthology.org/2022.tacl-1.17/",
28 doi = "10.1162/tacl_a_00461",
29 pages = "291--306"}
30