How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("feature-extraction", model="altsoph/bert-base-ancientgreek-uncased")
# Load model directly
from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained("altsoph/bert-base-ancientgreek-uncased")
model = AutoModel.from_pretrained("altsoph/bert-base-ancientgreek-uncased")
Quick Links

A BERT pre-trained language model for an ancient greek language.

We used GreekBERT from @nlpaueb and fine-tuned it with the MLM objective on several corpora of ancient greek texts. Later, we used it to train several classifiers to assist an author and style attribution of a couple of recently discovered texts.

If you use the model, please cite the following:

@inproceedings{Yamshchikov-etal-2022-plutarch,
    title = "BERT in Plutarch’s Shadows",
    author = "Ivan P. Yamshchikov and
      Alexey Tikhonov  and
      Yorgos Pantis  and
      Charlotte Schubert  and
      J{\"u}rgen Jost",
    booktitle = "Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing",
    year = "2022",
}
Downloads last month
12
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support