dsfsi / nllb_200_1.3b-eng-nso

huggingface.co
Total runs: 16
24-hour runs: 2
7-day runs: 2
30-day runs: 7
Model's Last Updated: June 04 2026
translation

Introduction of nllb_200_1.3b-eng-nso

Model Details of nllb_200_1.3b-eng-nso

nllb_200_1.3b-eng-nso

Model on HF

This model is part of the AfriScience-MT project, focused on machine translation of scientific texts for African languages.

Model Description
Property Value
Model Type Seq2Seq Translation
Translation Direction English → Northern Sotho
Base Model facebook/nllb-200-1.3B
Domain Scientific/Academic texts
Training Full fine-tuning on AfriScience-MT dataset
Evaluation Results

Performance on the AfriScience-MT test set:

Split BLEU chrF SSA-COMET
Validation 46.64 66.92 69.95
Test 43.31 64.32 68.84

Metrics explanation:

  • BLEU : Measures n-gram overlap with reference translations (0-100, higher is better)
  • chrF : Character-level F-score, robust for morphologically rich languages (0-100, higher is better)
  • SSA-COMET : Neural metric trained for Sub-Saharan African languages, shown as percentage (0-100, higher is better) ( McGill-NLP/ssa-comet-stl )
Usage
Quick Start
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer

model_id = "dsfsi/nllb_200_1.3b-eng-nso"
model = AutoModelForSeq2SeqLM.from_pretrained(model_id)
tokenizer = AutoTokenizer.from_pretrained(model_id)

# Set source language
tokenizer.src_lang = "eng_Latn"

# Translate
text = "The mitochondria is the powerhouse of the cell."
inputs = tokenizer(text, return_tensors="pt", padding=True, truncation=True, max_length=256)

# Generate with target language
forced_bos_token_id = tokenizer.convert_tokens_to_ids("nso_Latn")
outputs = model.generate(**inputs, forced_bos_token_id=forced_bos_token_id, max_length=256, num_beams=5)
translation = tokenizer.batch_decode(outputs, skip_special_tokens=True)[0]
print(translation)
Batch Translation
texts = [
    "Climate change affects agricultural productivity.",
    "The study analyzed genetic markers in the population.",
    "Renewable energy sources are essential for sustainable development."
]

inputs = tokenizer(texts, return_tensors="pt", padding=True, truncation=True, max_length=256)
outputs = model.generate(**inputs, forced_bos_token_id=forced_bos_token_id, max_length=256, num_beams=5)
translations = tokenizer.batch_decode(outputs, skip_special_tokens=True)
for src, tgt in zip(texts, translations):
    print(f"{src}\n→ {tgt}\n")
Training Details
Hyperparameters
Parameter Value
Epochs 10
Batch Size 4
Learning Rate 2e-05
Training Data
  • Dataset : AfriScience-MT
  • Domain : Scientific abstracts and papers
  • Languages : English and 6 African languages (Amharic, Hausa, Luganda, Northern Sotho, Yoruba, isiZulu)
Reproducibility

To reproduce this model:

# Clone the AfriScience-MT repository
git clone https://github.com/afriscience-mt/afriscience-mt.git
cd afriscience-mt

# Install dependencies
pip install -r requirements.txt

# Run training
python -m afriscience_mt.scripts.run_seq2seq_training \
    --data_dir ./data \
    --source_lang eng \
    --target_lang nso \
    --model_name facebook/nllb-200-1.3B \
    --model_type nllb \
    --output_dir ./output \
    --num_epochs 10 \
    --batch_size 16 \
    --learning_rate 2e-5
Limitations
  • Domain Specificity : This model is optimized for scientific/academic texts and may perform poorly on colloquial or informal text.
  • Language Coverage : Only supports the specific language pair indicated.
  • Input Length : Maximum input length is 256 tokens; longer texts should be split into segments.
Citation

If you use this model, please cite the AfriScience-MT paper ( arXiv:2605.29741 ):

@article{abdulmumin2026afriscience,
  title   = {AfriScience-MT: Towards Decolonizing Science in Africa through Text Translation},
  author  = {Abdulmumin, Idris and Gwadabe, Tajuddeen and Muhammad, Shamsuddeen Hassan and Adelani, David Ifeoluwa and Khalo, Nomonde and Ahmad, Ibrahim Said and Modupe, Abiodun and Mumm, Anina and Biyela, Sibusiso and Rabie, Michelle and Havemann, Johanna and Rei, Marek and Abbott, Jade and Marivate, Vukosi},
  journal = {arXiv preprint arXiv:2605.29741},
  year    = {2026},
  url     = {https://arxiv.org/abs/2605.29741}
}
License

This model is released under the Apache 2.0 License .

Acknowledgments

Runs of dsfsi nllb_200_1.3b-eng-nso on huggingface.co

16
Total runs
2
24-hour runs
2
3-day runs
2
7-day runs
7
30-day runs

More Information About nllb_200_1.3b-eng-nso huggingface.co Model

More nllb_200_1.3b-eng-nso license Visit here:

https://choosealicense.com/licenses/apache-2.0

nllb_200_1.3b-eng-nso huggingface.co

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

nllb_200_1.3b-eng-nso huggingface.co Url

https://huggingface.co/dsfsi/nllb_200_1.3b-eng-nso

dsfsi nllb_200_1.3b-eng-nso online free

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

dsfsi nllb_200_1.3b-eng-nso online free url in huggingface.co:

https://huggingface.co/dsfsi/nllb_200_1.3b-eng-nso

nllb_200_1.3b-eng-nso install

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

nllb_200_1.3b-eng-nso install url in huggingface.co:

https://huggingface.co/dsfsi/nllb_200_1.3b-eng-nso

Url of nllb_200_1.3b-eng-nso

nllb_200_1.3b-eng-nso huggingface.co Url

Provider of nllb_200_1.3b-eng-nso huggingface.co

dsfsi
ORGANIZATIONS

Other API from dsfsi

huggingface.co

Total runs: 191
Run Growth: 22
Growth Rate: 11.52%
Updated:December 05 2023
huggingface.co

Total runs: 178
Run Growth: 90
Growth Rate: 51.14%
Updated:September 14 2024
huggingface.co

Total runs: 67
Run Growth: -8
Growth Rate: -11.94%
Updated:January 27 2025
huggingface.co

Total runs: 51
Run Growth: 19
Growth Rate: 37.25%
Updated:August 19 2025
huggingface.co

Total runs: 39
Run Growth: 33
Growth Rate: 84.62%
Updated:September 16 2025
huggingface.co

Total runs: 22
Run Growth: -5
Growth Rate: -22.73%
Updated:December 05 2023
huggingface.co

Total runs: 20
Run Growth: -60
Growth Rate: -285.71%
Updated:September 03 2024
huggingface.co

Total runs: 20
Run Growth: -16
Growth Rate: -80.00%
Updated:February 27 2025
huggingface.co

Total runs: 12
Run Growth: -14
Growth Rate: -116.67%
Updated:December 05 2023