Instructions to use HiTZ/xlm-roberta-large-lemma-ru with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HiTZ/xlm-roberta-large-lemma-ru with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="HiTZ/xlm-roberta-large-lemma-ru")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("HiTZ/xlm-roberta-large-lemma-ru") model = AutoModelForTokenClassification.from_pretrained("HiTZ/xlm-roberta-large-lemma-ru", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from HiTZ/xlm-roberta-large-lemma-ru: direct link, hf CLI and curl.
- Browser
- Download file 2 kB
-
https://huggingface.co/HiTZ/xlm-roberta-large-lemma-ru/resolve/main/README.md
- Command line
-
hf download hf://HiTZ/xlm-roberta-large-lemma-ru/README.md
-
curl -L -o README.md https://huggingface.co/HiTZ/xlm-roberta-large-lemma-ru/resolve/main/README.md
2 kB
metadata
license: apache-2.0
language:
- ru
Model Card for xlm-roberta-large-lemma-ru
This model is a fine-tuned version of xlm-roberta-large for the contextual lemmatization task.
The datasets used for training are extracted from the data of the SIGMORPHON 2019 Shared Task.
The model for the Russian language was trained using GSD corpus.
Training Hyperparameters
SEED: 42
EPOCHS: 15
BATCH SIZE: 8
GRADIENT ACCUMULATION STEPS: 2
LEARNING RATE: 0.00005
WARMUP: 0.06
WEIGHT DECAY: 0.01
Results
For more details you can see the paper and the repository:
- 📖 Paper: On the Role of Morphological Information for Contextual Lemmatization
- 🌐 Repository: Datasets and training files
Contact: Olia Toporkov and Rodrigo Agerri HiTZ Center - Ixa, University of the Basque Country UPV/EHU
Funding:
Model type: xlm-roberta-large
Language(s) (NLP): Russian
License: apache-2.0
Citation
@article{10.1162/coli_a_00497,
author = {Toporkov, Olia and Agerri, Rodrigo},
title = "{On the Role of Morphological Information for Contextual
Lemmatization}",
journal = {Computational Linguistics},
volume = {50},
number = {1},
pages = {157-191},
year = {2024},
month = {03},
issn = {0891-2017},
doi = {10.1162/coli_a_00497},
url = {https://doi.org/10.1162/coli\_a\_00497},
eprint = {https://direct.mit.edu/coli/article-pdf/50/1/157/2367156/coli\_a\_00497.pdf},
}
