bowphs / latin_experiments

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: April 08 2025

Introduction of latin_experiments

Model Details of latin_experiments

ÚFAL LatinPipe at EvaLatin 2024: Morphosyntactic Analysis of Latin

This repository contains the LatinPipe parser implementation described in the ÚFAL LatinPipe at EvaLatin 2024: Morphosyntactic Analysis of Latin paper.

📢 Besides this source code and the trained model , LatinPipe is also available in the UDPipe LINDAT/CLARIN service and can be used either in a web form or through a REST service.


LatinPipe Architecture
ÚFAL LatinPipe at EvaLatin 2024: Morphosyntactic Analysis of Latin

Milan Straka and Jana Straková and Federica Gamba
Charles University
Faculty of Mathematics and Physics
Institute of Formal and Applied Lingustics
Malostranské nám. 25, Prague, Czech Republic

Abstract: We present LatinPipe, the winning submission to the EvaLatin 2024 Dependency Parsing shared task. Our system consists of a fine-tuned concatenation of base and large pre-trained LMs, with a dot-product attention head for parsing and softmax classification heads for morphology to jointly learn both dependency parsing and morphological analysis. It is trained by sampling from seven publicly available Latin corpora, utilizing additional harmonization of annotations to achieve a more unified annotation style. Before fine-tuning, we train the system for a few initial epochs with frozen weights. We also add additional local relative contextualization by stacking the BiLSTM layers on top of the Transformer(s). Finally, we ensemble output probability distributions from seven randomly instantiated networks for the final submission. The code is available at https://github.com/ufal/evalatin2024-latinpipe .


Content of this Repository
  • The directory data is for all the required data (UD 2.13 data, harmonized PROIEL, Sabellicus, Archimedes Latinus, EvaLatin 2024 test data).

    • The script data/fetch_data.sh downloads and extracts all the data:
      (cd data && sh fetch_data.sh)
      
  • The latinpipe_evalatin24.py is the LatinPipe EvaLatin24 source.

    • It depends on latinpipe_evalatin24_eval.py , which is a modularized version of the official evaluation script.
  • The latinpipe_evalatin24_server.py is a REST server with UDPipe-2-compatible API, using latinpipe_evalatin24.py to perform tagging and parsing.

The Released latinpipe-evalatin24-240520 Model

The latinpipe-evalatin24-240520 is a PhilBerta -based model for tagging, lemmatization, and dependency parsing of Latin, based on the winning entry to the EvaLatin 2024 https://circse.github.io/LT4HALA/2024/EvaLatin shared task. It is released at https://hdl.handle.net/11234/1-5671 under the CC BY-NC-SA 4.0 license.

The model is also available in the UDPipe LINDAT/CLARIN service and can be used either in a web form or through a REST service.

See the latinpipe-evalatin24-240520 directory for the download link, the model performance, and additional information.

Training a Model

To train a model on all data, you should

  1. run the data/fetch_data.sh script to download all required data,

  2. create a Python environments with the packages listed in requirements.txt ,

  3. train the model itself using the latinpipe_evalatin24.py script.

    To train a model performing UPOS/UFeats tagging, lemmatization, and dependency parsing, we use

    la_ud213_all="la_ittb la_llct la_perseus la_proiel la_udante"
    la_other="la_archimedes la_sabellicus"
    transformer="bowphs/PhilBerta"  # or bowphs/LaBerta
    
    latinpipe_evalatin24.py $(for split in dev test train; do echo --$split; for tb in $la_ud213_all; do [ $tb-$split = la_proiel-train ] && tb=la_proielh; echo data/$tb/$tb-ud-$split.conllu; done; done) $(for tb in $la_other; do echo data/$tb/$tb-train.conllu; done) --transformers $transformer --epochs=30 --exp=evalatin24_model --subword_combination=last --epochs_frozen=10 --batch_size=64 --save_checkpoint
    
Predicting with a Trained Model

To predict with a trained model, you can use the following command:

latinpipe_evalatin24.py --load evalatin24_model/model.weights.h5 --exp target_directory --test input1.conllu input2.conllu
  • the outputs are generated in the target directory, with a .predicted.conllu suffix;
  • if you want to also evaluate the predicted files, you can use --dev option instead of --test .

Contact

Milan Straka: [email protected]
Jana Straková: [email protected]
Federica Gamba: [email protected]

How to Cite
@inproceedings{straka-etal-2024-ufal,
    title = "{{\'U}FAL} {L}atin{P}ipe at {E}va{L}atin 2024: Morphosyntactic Analysis of {L}atin",
    author = "Straka, Milan  and Strakov{\'a}, Jana  and Gamba, Federica",
    editor = "Sprugnoli, Rachele  and Passarotti, Marco",
    booktitle = "Proceedings of the Third Workshop on Language Technologies for Historical and Ancient Languages (LT4HALA) @ LREC-COLING-2024",
    month = may,
    year = "2024",
    address = "Torino, Italia",
    publisher = "ELRA and ICCL",
    url = "https://aclanthology.org/2024.lt4hala-1.24",
    pages = "207--214"
}

Runs of bowphs latin_experiments on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About latin_experiments huggingface.co Model

latin_experiments huggingface.co

latin_experiments huggingface.co is an AI model on huggingface.co that provides latin_experiments's model effect (), which can be used instantly with this bowphs latin_experiments model. huggingface.co supports a free trial of the latin_experiments model, and also provides paid use of the latin_experiments. Support call latin_experiments model through api, including Node.js, Python, http.

latin_experiments huggingface.co Url

https://huggingface.co/bowphs/latin_experiments

bowphs latin_experiments online free

latin_experiments huggingface.co is an online trial and call api platform, which integrates latin_experiments's modeling effects, including api services, and provides a free online trial of latin_experiments, you can try latin_experiments online for free by clicking the link below.

bowphs latin_experiments online free url in huggingface.co:

https://huggingface.co/bowphs/latin_experiments

latin_experiments install

latin_experiments is an open source model from GitHub that offers a free installation service, and any user can find latin_experiments on GitHub to install. At the same time, huggingface.co provides the effect of latin_experiments install, users can directly use latin_experiments installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

latin_experiments install url in huggingface.co:

https://huggingface.co/bowphs/latin_experiments

Url of latin_experiments

latin_experiments huggingface.co Url

Provider of latin_experiments huggingface.co

bowphs
ORGANIZATIONS

Other API from bowphs

huggingface.co

Total runs: 2.2K
Run Growth: 0
Growth Rate: 0.00%
Updated:February 01 2025
huggingface.co

Total runs: 1.1K
Run Growth: -1.8K
Growth Rate: -161.18%
Updated:November 13 2024
huggingface.co

Total runs: 868
Run Growth: -1.3K
Growth Rate: -151.38%
Updated:November 18 2024
huggingface.co

Total runs: 807
Run Growth: -735
Growth Rate: -91.08%
Updated:September 18 2025
huggingface.co

Total runs: 280
Run Growth: -4.0K
Growth Rate: -1412.86%
Updated:November 01 2024
huggingface.co

Total runs: 199
Run Growth: 119
Growth Rate: 59.80%
Updated:November 02 2024
huggingface.co

Total runs: 127
Run Growth: -115
Growth Rate: -90.55%
Updated:November 02 2024
huggingface.co

Total runs: 61
Run Growth: 55
Growth Rate: 90.16%
Updated:January 21 2025
huggingface.co

Total runs: 25
Run Growth: 0
Growth Rate: 0.00%
Updated:January 20 2025
huggingface.co

Total runs: 14
Run Growth: 0
Growth Rate: 0.00%
Updated:February 06 2025
huggingface.co

Total runs: 13
Run Growth: 0
Growth Rate: 0.00%
Updated:January 16 2025
huggingface.co

Total runs: 12
Run Growth: 0
Growth Rate: 0.00%
Updated:January 29 2025
huggingface.co

Total runs: 9
Run Growth: 1
Growth Rate: 11.11%
Updated:December 30 2024
huggingface.co

Total runs: 7
Run Growth: -2
Growth Rate: -28.57%
Updated:January 03 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 30 2024