File size: 1,790 Bytes
a0ae6b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
language: grc
license: apache-2.0
inference: false
datasets:
- bowphs/internet_archive_filtered
---
# GrεBerta

The paper [Exploring Language Models for Classical Philology](https://todo.com) is the first effort to systematically provide state-of-the-art language models for Classical Philology. GrεBerta is a RoBerta-base sized, monolingual, encoder-only variant. Further information can be found in our paper or in our [GitHub repository](https://github.com/Heidelberg-NLP/ancient-language-models).

## Usage
```python
from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained('bowphs/GreBerta')
model = AutoModelForMaskedLM.from_pretrained('bowphs/GreBerta')
```
Please check out the awesome Hugging Face tutorials on how to fine-tune our models.

## Evaluation Results
When fine-tuned on data from [Universal Dependencies 2.10](https://universaldependencies.org/), GrεBerta achieves the following results on the Ancient Greek Perseus dataset:

| Task | XPoS | UPoS  | UAS | LAS |
|:--:|:--:|:--:|:--:|:--:|
|      |95.83|91.09|88.20|83.98|

## Contact
If you have any questions or problems, feel free to [reach out](mailto:[email protected]).

## Citation
```bibtex
@incollection{riemenschneiderfrank:2023,
    address = "Toronto, Canada",
    author = "Riemenschneider, Frederick and Frank, Anette",
    booktitle = "Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (ACL’23)",
    note = "to appear",
    pubType = "incollection",
    publisher = "Association for Computational Linguistics",
    title = "Exploring Large Language Models for Classical Philology",
    url = "https://arxiv.org/abs/2305.13698",
    year = "2023",
    key = "riemenschneiderfrank:2023"
}
```