/ Модель

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

Лицензия
CC BY-NC 4.0
Базовая модель
nllb-200-distilled-1.3B
Библиотека
transformers
Опубликована
24 сен 2026

nllb-200-lingala-maloba-h1

ПереводТекст → текст3 профессии
3скачиваний за 30 дней0лайковвеса обновлены15 окт 2026

Описание модели

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

Модель переводит короткие и средние предложения с французского на лингала с орфографией, согласованной с корпусом MALOBA.

NLLB-Maloba-h1 — модель машинного перевода проекта MALOBA, который ведёт Congo Digital Services совместно с ПРООН в Республике Конго и Министерством почты, телекоммуникаций и цифровой экономики. Она выполняет перевод с французского на лингала и основана на facebook/nllb-200-distilled-1.3B, дообученной на всех весах. Модель предназначена для коротких и средних предложений; вход ограничен 256 токенами. Для перевода в обратном направлении она не дообучалась.

Модель показала улучшение относительно базовой на внутреннем тесте из 79 предложений и на FLORES+ devtest из 1 012 предложений. Заявленные сценарии охватывают здравоохранение, образование, сельское хозяйство и государственное управление. Лингала выводится по орфографической норме корпуса MALOBA: без тоновых знаков, с преобладающим в корпусе написанием ɔ/ɛ. Данные обучения невелики, внутренняя оценка ограничена, а качество на внешнем наборе улучшилось умеренно; результаты человеческой оценки названы ориентировочными. Для медицинских и юридических решений требуется проверка человеком. Лицензия CC-BY-NC 4.0 запрещает коммерческое использование.

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

  • перевод французских медицинских памяток на лингала
  • перевод учебных материалов с французского на лингала
  • перевод сельскохозяйственных рекомендаций на лингала
  • перевод сообщений государственных служб на лингала

Ограничения

Обучение проводилось на 288 парах предложений, а внутренняя тестовая выборка содержит 79 предложений; устойчивость результата между запусками не оценивалась. Модель переводит только с французского на лингала, ограничена 256 токенами и не предназначена для критических решений без проверки человеком.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

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

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

Открыть на Hugging Face

NLLB-Maloba-h1: French → Lingala translation

The French → Lingala translation model of the MALOBA project (digitisation and acceleration of Lingala), led by Congo Digital Services (CDS SARL) in partnership with UNDP Republic of Congo and the Ministry of Posts, Telecommunications and the Digital Economy.

Summary

TaskMachine translation, French (fra_Latn) → Lingala (lin_Latn)
Base modelfacebook/nllb-200-distilled-1.3B, revision 7be3e24664b38ce1cac29b8aeed6911aa0cf0576
MethodFull fine-tuning (all weights). There are no adapters and nothing to merge: this repository is the complete model
Data288 human-translated sentence pairs (TRAD category of the MALOBA corpus), orthographically harmonised Lingala
StatusRetained translation model of the project (CDS decision, 25 Sept 2026)
LicenceCC-BY-NC 4.0, inherited from the base model: no commercial use
Developed byCongo Digital Services (CDS SARL), Brazzaville

Against the base model, with beam-4 decoding:

  • +8.63 BLEU on the in-house test set (79 sentences), p ≤ 0.001;
  • +0.91 BLEU and +1.78 chrF on FLORES+ devtest (1,012 sentences), both p ≤ 0.001;
  • human evaluation: 66 % of translations judged correct, 97 % recoverable (indicative, see Human evaluation).

Intended use

In scope: translating short to medium-length sentences from French into Lingala, for the project's use cases (health, education, agriculture, public administration). The model is accessed through the MALOBA inference gateway (alias maloba-traduction) or loaded directly.

Out of scope:

  • any commercial use, which the CC-BY-NC 4.0 licence prohibits;
  • Lingala → French translation, since the model is not fine-tuned in that direction;
  • critical uses without human review (medical, legal);
  • long documents, since each input is limited to 256 tokens.

How to use

import torch
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer

repo = "Congo-digital-service/nllb-200-lingala-maloba-h1"
tokenizer = AutoTokenizer.from_pretrained(repo, src_lang="fra_Latn")
model = AutoModelForSeq2SeqLM.from_pretrained(repo, torch_dtype=torch.bfloat16).eval()

text = "Lavez-vous les mains avant de manger."
inputs = tokenizer(text, return_tensors="pt")
with torch.no_grad():
    output = model.generate(
        **inputs,
        forced_bos_token_id=tokenizer.convert_tokens_to_ids("lin_Latn"),
        num_beams=4,
        no_repeat_ngram_size=4,
        do_sample=False,
        max_new_tokens=256,
    )
print(tokenizer.batch_decode(output, skip_special_tokens=True)[0])

These are the decoding parameters used for every score reported here. Scores obtained with other decoding settings are not comparable.

Training data

  • Source: Congo-digital-service/maloba-llm-alpaca-harmonise, config trd, revision c43dc00e0a2d8708fc185483e840829c16dfe695: the translation pairs of the TRAD category, annotated in Label Studio.

  • Counts: 400 tasks, 1 excluded (its Lingala was an uncorrected pre-annotation): 399 unique pairs, 0 duplicates.

  • Split: 288 train, 32 validation, 79 test (dans_test_v1 flag). Leak-free: no source sentence is shared between test and train. The split is provided in decoupage.json.

  • Lingala orthography: harmonised before training, with no human editing of the text:

    • Unicode look-alikes corrected (ε → ɛ, ↄ → ɔ, …);
    • tone marks removed;
    • rules from the annotation guide applied;
    • for each word, the majority ɔ/ɛ spelling in the corpus kept (frozen lexicon v1).

    The model therefore writes Lingala following this convention. The original text is kept in the dataset's output_brut column.

Training procedure

SettingValue
MethodFull fine-tuning, Seq2SeqTrainer (transformers)
Epochs5 (45 steps)
Effective batch size32 (8 × 4 gradient accumulation)
Learning rate2e-5
Label smoothing / weight decay0.1 / 0.01
Maximum length256 tokens (longer lines dropped, never truncated)
Precisionbf16
Seed42
Model selectionbest validation chrF → epoch 4 (checkpoint-36)
Hardware1 × NVIDIA A40 (48 GB), 27.4 GB peak memory, about 16 min for the full pipeline

The weights at the repository root are those of the retained checkpoint (epoch 4). The checkpoint-36 folder keeps the original copy.

Validation curve (32 sentences, greedy decoding during training):

EpochStepValidation lossValidation chrF
192.751745.51
2182.655156.23
3272.622560.13
4362.608562.40 (retained)
5452.606061.68

Validation loss keeps decreasing until the end: no overfitting. The 0.7 chrF drop at epoch 5 is within noise on 32 sentences.

Evaluation

Protocol: beam-4 decoding (parameters above), same test sets for the base model and the fine-tuned model. Two forms are reported:

  • raw: outputs and references as they are;
  • norm.: both sides passed through the MALOBA measurement normalisation (details in mesures_avant_apres.json).

Harmonised in-house test set (79 sentences, project domain)

MetricBaseNLLB-Maloba-h1Delta
BLEU norm.23.3732.00+8.63
BLEU raw22.9631.84+8.88
chrF norm.54.3861.74+7.36
chrF raw53.3460.82+7.48

FLORES+ devtest (1,012 sentences, external benchmark)

MetricBaseNLLB-Maloba-h1Delta
BLEU norm.15.4916.39+0.91
BLEU raw16.9717.81+0.84
chrF norm.50.3152.09+1.78
chrF raw49.4251.21+1.79

Statistical significance

Paired bootstrap (sacrebleu, 1,000 resamples, seed 12345), Holm correction over the tests performed. With 1,000 resamples the smallest attainable p-value is 0.001.

Test setMetricBaseh1DeltapSignificant after Holm
In-houseBLEU23.3732.00+8.63≤ 0.001yes
In-housechrF54.3861.74+7.36≤ 0.001yes
FLORES+BLEU15.4916.39+0.91≤ 0.001yes
FLORES+chrF50.3152.09+1.78≤ 0.001yes

The gain is significant on both test sets, FLORES+ included. CDS had set, before training, an internal decision threshold of +1.0 BLEU on FLORES+; the +0.91 falls just short of that stricter rule, but the gain is statistically established.

Comparison with the value published by Meta

Meta publishes chrF++ scores for NLLB-200 on FLORES-200 devtest. Measured with the same metric (raw text, tokenize="flores200", word_order=2):

ModelSourcespBLEUchrF++
NLLB-200 distilled 1.3Bpublished by Metanot published46.2
NLLB-200 distilled 1.3Bmeasured by CDS19.7446.44
NLLB-Maloba-h1measured by CDS20.6648.31

Our measurement of the base model reproduces Meta's value within 0.24 point, which validates the protocol. FLORES+ and FLORES-200 have identical lin_Latn references (0 differences on 1,012 sentences).

The gain does not come only from the spelling convention. FLORES+ lin_Latn contains no ɔ or ɛ, whereas the training data does. A model that had only learned the MALOBA convention would have regressed on FLORES. It improves instead, under both our metrics and Meta's.

Human evaluation

Three Lingala-speaking validators judged, independently, the translations of 38 sentences drawn at random from the 79 test sentences (114 judgements out of 114, Argilla, 24–29 September 2026).

Majority verdictSentencesShare95 % CI (Wilson)
Correct2566 %50–79 %
Partially correct1232 %19–48 %
Incorrect13 %0.5–14 %
Correct or partially correct3797 %87–99.5 %
  • Short sentences fare better: 74 % correct among the 34 sentences of 25 words or fewer; the 4 longer paragraphs are all "partially correct".
  • Human verdicts agree with the automatic score (mean chrF++ 70.3 for correct sentences, 57.0 for partially correct; Spearman ρ = 0.42, p = 0.008).
  • Three outputs match the reference word for word; none of these sentences appears in the training or validation data.
  • Indicative result: agreement between the three validators (Krippendorff's α = 0.19) is below the 0.60 threshold set before the campaign. Two of the three agree above it (α = 0.73); the third often ticked an ambiguously worded "register or tone" option.
  • The judged translations were produced with greedy decoding (24 September), before beam-4 decoding became the protocol. On the 79 test sentences, the two decodings give 31.87 and 32.00 BLEU.

Checks

CheckResult
Test set leakage0 source sentences shared with training
Output language0 outputs in French out of 79
Brevity penalty (in-house test)0.872 (base) → 1.000

Limitations and biases

  • Little data: 288 pairs and a single seed. The gain is significant, but its stability across seeds is not measured.
  • Small evaluation sets: 79 test sentences and 32 validation sentences. The validation set proved too small to separate close models.
  • Out of domain: the gain on FLORES+ is significant but small (+0.91 BLEU). The length ratio rises from 1.00 to 1.04.
  • Spelling convention: the model writes without tone marks, with the majority ɔ/ɛ spelling of the MALOBA corpus. Consistent, but not validated word by word by linguists.
  • Human evaluation indicative only (see above).
  • One direction only: French → Lingala.

History and later iterations

Two further iterations were trained after h1, from the same base model and on the same test sets. Both were rejected; h1 remains the retained model.

IterationData added to the 288 TRAD pairsIn-house BLEUFLORES+ BLEUDecision
h1—32.0016.39retained
h24,475 questions pre-filled by a model, then corrected by annotators32.4115.93rejected (significant drop on FLORES chrF, p ≤ 0.001)
h34,693 answers back-translated with the base NLLB model31.2816.36rejected (no gain)

Adding machine-generated or machine-pre-filled data did not improve the model: human-translated pairs are what makes the difference.

Protocol concordance (correction of 25 Sept 2026)

The configuration specified beam search with four beams, but the parameter was not applied: the key was read under a different name. All scores published on 24 Sept 2026 were therefore produced with greedy decoding. The figure published at the time for the fine-tuned model (32.12 BLEU) also came from the model held in memory after training, which the saved artefact does not reproduce.

The defect is fixed, and every report now records the parameters actually passed to generate. Both protocols, on the same artefacts:

ModelTest setBLEU greedyBLEU beam 4chrF greedychrF beam 4
basein-house test22.6523.3751.9054.38
baseFLORES+ devtest14.6415.4949.0350.31
h1in-house test31.8732.0061.4861.74
h1FLORES+ devtest16.0216.3951.6352.09

Beam search helps the base model most: the h1 gain announced on 24 Sept (+9.47 BLEU) becomes +8.63 once both sides are measured correctly. The version published on 24 Sept remains available under the h1-v1-glouton-24sept tag.

Repository files

FileContent
model-0000*-of-00002.safetensors, config.json, generation_config.jsonWeights and configuration of the retained model
tokenizer*, special_tokens_map.jsonNLLB-200 tokenizer, unchanged (no tokens added)
checkpoint-36/Retained checkpoint (epoch 4), original copy
decoupage.jsonIDs of the train, validation and test splits
mesures_avant_apres.jsonAll scores (raw, normalised, greedy, beam 4)
RAPPORT.mdRun report (in French)
training_args.binTraining arguments

Licence

CC-BY-NC 4.0, inherited from facebook/nllb-200-distilled-1.3B. Attribution to Meta (NLLB Team) and to the MALOBA project is required. Commercial use is prohibited. The training data (maloba-llm-alpaca-harmonise) is published under NOODL-1.0; the model keeps the licence of its base model.

  • Base model: facebook/nllb-200-distilled-1.3B, by Meta AI (NLLB Team), licensed under CC BY-NC 4.0.
  • Changes made: fine-tuned by Congo Digital & Service (CDS) on 288 French–Lingala human translations (configuration trd of maloba-llm-alpaca-harmonise).
  • Licence of this model: CC BY-NC 4.0, the same as the base model. Non-commercial use only; commercial use requires permission from Meta. CDS cannot grant commercial rights on these weights.

Citation

@misc{cds2026nllbmaloba,
  title  = {NLLB-Maloba-h1: Fine-tuning NLLB-200 for French-Lingala translation},
  author = {{Congo Digital Services}},
  year   = {2026},
  note   = {MALOBA project, UNDP Republic of Congo}
}

@article{nllb2022,
  title   = {No Language Left Behind: Scaling Human-Centered Machine Translation},
  author  = {{NLLB Team} and Costa-juss{\`a}, Marta R. and others},
  journal = {arXiv preprint arXiv:2207.04672},
  year    = {2022}
}

Contact

Congo Digital Services (CDS SARL), Brazzaville, for the MALOBA project: contact@congo-digital.com. Card updated on 30 September 2026.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Ревизия весов
cf57273

0 моделей