/ Модель

Характеристики

Лицензия
Apache 2.0
Базовая модель
VEXMLM
Библиотека
transformers
Опубликована
17 авг 2026

VEXMLM-AfriSenti-Amharic

Классификация текстаТекст → label

Модель классифицирует амхарские тексты по тональности на отрицательные, нейтральные и положительные.

0скачиваний за 30 дней0лайковвеса обновлены25 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

VEXMLM-AfriSenti-Amharic — модель классификации тональности амхарских текстов, созданная дообучением Hailay/VEXMLM на наборе AfriSenti-SemEval 2023. Базовая модель основана на XLM-RoBERTa с расширенным словарём для письменности геэз; в этом репозитории представлены пять отдельных контрольных точек, обученных с разными начальными значениями генератора случайных чисел.

Модель относит текст к одному из трёх классов: negative, neutral или positive. В README приводятся результаты оценки на тестовой части набора: точность 49,78 ± 3,31 и Macro-F1 49,71 ± 1,93 по пяти запускам. Репозиторий предназначен прежде всего для воспроизведения опубликованной оценки; качество классификации авторы считают слабым. Модель использует Transformers и формат safetensors, лицензия — Apache-2.0.

Сценарии применения

  • определение тональности амхарских сообщений
  • разметка амхарских отзывов по трём классам тональности
  • воспроизведение эксперимента AfriSenti-SemEval 2023 для амхарского языка

Ограничения

В README указана низкая точность на тестовом наборе (49,78% в среднем); модель дообучена только для амхарского языка и набора AfriSenti-SemEval 2023, поэтому качество на других языках, тематиках и схемах меток не оценивалось. Происхождение предобучающих текстов базовой модели не документировано, и они могут отражать смещения исходных данных.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

VEXMLM — AfriSenti Amharic

Amharic text classification fine-tuned from Hailay/VEXMLM, the vocabulary-extended XLM-R for Ge'ez-script languages.

Official implementation: https://github.com/hailaykidu/VEXMLM

Tasktext-classification
DatasetAfriSenti-SemEval 2023 (Amharic)
LanguageAmharic
ArchitectureXLMRobertaForSequenceClassification
Base modelHailay/VEXMLM
Vocabulary280,002
Labels3
Seeds published42, 43, 44, 45, 46

Three classes: negative, neutral, positive.

Accuracy of 49.78 on a 3-class task is weak. The AfriSenti Amharic split has a majority class that differs between training and test, so a model that learns the training prior is systematically miscalibrated on test. Treat this checkpoint as a reproduction of the paper's evaluation rather than a production sentiment classifier.

Five-seed benchmark evaluation

Fine-tuned independently under seeds 42–46 with one configuration (hash ce27cc194946) on an A100-PCIE-40GB. Reported as mean ± standard deviation over the five runs, on the dataset's test split.

MetricScore
Accuracy49.78 ± 3.31
Macro-F149.71 ± 1.93

These are the paper's verified results. They come from the five-seed evaluation described above — not from interactive use.

Interactive inference vs. benchmark

Benchmark evaluation is the five-seed measurement on the held-out test split, shown in the table above.

Interactive inference is what the usage example below performs: Enter arbitrary Amharic text and inspect the predicted sentiment label. Predictions on arbitrary user input are demonstrations only and do not produce or reproduce the benchmark score.

Repository layout

Five independently fine-tuned checkpoints, one per seed. The reported benchmark score is the mean ± standard deviation over all five; no single seed is the "five-seed model."

seed-42/  seed-43/  seed-44/  seed-45/  seed-46/

Load a specific seed with the subfolder argument, as in the example below.

Fine-tuning

Fine-tuned from Hailay/VEXMLM, a vocabulary-extended XLM-R (280,002 subwords, 30,000 Ge'ez tokens merged into the SentencePiece model) after continued MLM pretraining.

HyperparameterValue
Max sequence length256
Batch size32
Epochs4
Learning rate2e-5
LR scheduleLinear decay, 10% warmup
Weight decay0.01
Gradient clipping1.0
OptimizerAdamW (β₁ 0.9, β₂ 0.999, ε 1e-8)
Precisionbf16
Trainable parametersAll
Hardware1× NVIDIA A100

Runs are bit-reproducible: enable_full_determinism, CUBLAS_WORKSPACE_CONFIG=:4096:8, dataloader_num_workers=0.

Usage

from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch

repo = "Hailay/VEXMLM-AfriSenti-Amharic"
tokenizer = AutoTokenizer.from_pretrained(repo, subfolder="seed-42")
model = AutoModelForSequenceClassification.from_pretrained(repo, subfolder="seed-42")
model.eval()

enc = tokenizer("በጣም ጥሩ ነው!", return_tensors="pt", truncation=True, max_length=256)

with torch.no_grad():
    logits = model(**enc).logits

print(model.config.id2label[logits.argmax(-1).item()])

Limitations

  • Fine-tuned for Amharic on AfriSenti-SemEval 2023 (Amharic) only; performance on other languages, domains or label schemes is not characterised.
  • The base model covers Amharic and Tigrinya; other Ge'ez-script languages were not part of pretraining.
  • The pretraining text is of undocumented origin (licence unknown); samples contain religious translations alongside general web prose, and the model may reflect those distributions and any biases present in them.
  • Single-configuration study: no hyperparameter search was performed, and baseline comparisons in the paper are single-seed.

Reproducibility

The fine-tuning launcher, evaluation code and per-run result records are in the official repository: https://github.com/hailaykidu/VEXMLM

sbatch scripts/slurm_stage2_spm_seeds.sh    # 6 tasks × 5 seeds
python3 evaluation/export_spm_results.py    # regenerates the metrics table

Citation

@inproceedings{teklehaymanot2026vexmlm,
  title     = {Vocabulary Expansion for Low-Resource African Languages:
               A Case Study in Amharic and Tigrinya},
  author    = {Teklehaymanot, Hailay Kidu and Yadeta, Debela Desalegn and
               Nejdl, Wolfgang},
  booktitle = {Proceedings of the Workshop on Language Models for
               Underserved Communities (LM4UC) at IJCAI},
  year      = {2026}
}

Accepted at the LM4UC Workshop, IJCAI 2026.

License

Apache 2.0, following xlm-roberta-base.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers · text-classification

Нельзя запустить

В репозитории нет config.json: не понять архитектуру модели.

Ревизия весов
95a84ba

0 моделей