CoolFace
Modelpublic

clarin-pl/combo-nlp-xlm-roberta-base-arabic-padt-ud2.17

sourceHugging Facecc-by-nc-sa-3.0updated 2mo agoView on Hugging Face
0likes20downloads
Model Card

COMBO-NLP Model for Arabic

Model Description

This is a Arabic-language model based on combo-nlp, an open-source natural language preprocessing system. It performs:

  • —sentence segmentation (via combo-seg)
  • —tokenisation (via combo-seg)
  • —part-of-speech tagging
  • —morphological analysis
  • —lemmatisation
  • —dependency parsing

The Arabic model uses `FacebookAI/xlm-roberta-base` as its base encoder and is trained on UD_Arabic-PADT (UD v2.17).

Evaluation

Evaluation was performed on the UDArabic-PADT test split using the standard [CoNLL 2018 eval script](https://universaldependencies.org/conll18/conll18ud_eval.py).

Two evaluation rows are reported:

  • —Full-text (F1): raw text is segmented by combo-seg, then parsed and compared against gold — measures end-to-end pipeline performance including segmentation quality.
  • —Aligned accuracy: accuracy on correctly segmented (aligned) tokens — measures parsing quality on tokens that were correctly identified by the segmenter.

Morphosyntactic Tagging

MetricTokensSentencesWordsUPOSXPOSUFeatsAllTagsLemmas
Full-text (F1)99.9876.7297.5294.8692.6992.7492.1893.07
Aligned accuracy0.000.000.0097.2895.0495.1094.5395.44

Dependency Parsing

MetricUASLASCLASMLASBLEX
Full-text (F1)84.1180.9678.9973.1074.89
Aligned accuracy86.2583.0281.2275.1677.00

Usage

Install the library from PyPI (assuming you have a virtual environment created):

bash
pip install combo-nlp

The combo-seg segmenter (used to split and tokenise raw text) is installed automatically as a dependency of combo-nlp, so no extra install step is needed.

python
from combo import COMBO

# Load a pre-trained model with the corresponding combo-seg segmenter
nlp = COMBO("Arabic")

# Parse raw text (handles sentence splitting + tokenization)
result = nlp("الثعلب البني السريع يقفز فوق الكلب الكسول.")

# Inspect results
for sentence in result:
    for token in sentence:
        print(f"{token.form:<15} {token.lemma:<15} {token.upos:<8} head={token.head}  {token.deprel}")

Refer to the combo-nlp documentation for installation and usage instructions:

License

The training data license: cc-by-nc-sa-3.0 is derived from the Universal Dependencies treebank. For the full license terms of each treebank, please refer to the corresponding LICENSE.txt file in the treebank repository:

Citation

If you use this model, please cite:

Ulewicz, M., Jabłońska, M., Klimaszewski, M., Przybyła, P., Pszenny, Ł., Rybak, P., Wiącek, M., & Wróblewska, A. (2026). COMBO-NLP Models Trained on UD v2.17. Zenodo. https://doi.org/10.5281/zenodo.19650523

bibtex
@software{combo_nlp_2026,
  author    = {Ulewicz, Michał and Jabłońska, Maja and Klimaszewski, Mateusz and Przybyła, Piotr and Pszenny, Łukasz and Rybak, Piotr and Wiącek, Martyna and Wróblewska, Alina},
  title     = {{COMBO-NLP} Models Trained on {UD} v2.17},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.19650523},
  url       = {https://doi.org/10.5281/zenodo.19650523}
}

Resources