Downloads · 30 days
148
51% of all-time downloads
qvac/TranslatePsy-AfriSLM-4B-Q8-GGUF
TranslatePsy-AfriSLM-4B-Q8-GGUF is a text generation model from qvac. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
TranslatePsy-AfriSLM-4B-Q8-GGUF is the Q80 GGUF quantization of TranslatePsy-AfriSLM-4B, a compact conversational machine-translation model specialized for English and 19 Sub-Saharan African languages. The quantizatio…
Downloads · 30 days
148
51% of all-time downloads
All-time downloads
289
Public
Repo size
5.2 GB
Likes
1
Public
Click a slice to open those files.
.gguf5.2 GB · 100%
From the Hugging Face model README
TranslatePsy-AfriSLM-4B-Q8-GGUF is the Q8_0 GGUF quantization of TranslatePsy-AfriSLM-4B, a compact conversational machine-translation model specialized for English and 19 Sub-Saharan African languages. The quantization was created with an importance matrix for efficient local inference.
The model accompanies the EMNLP 2026 paper TranslatePsy-AfriSLM: High-Quality Data Scaling For Low-Resource Machine Translation. The TranslatePsy-AfriSLM family outperforms substantially larger systems, including TranslateGemma-27B and Qwen3.5-122B-A10B, on the African machine-translation benchmarks reported in the paper.

qvac/TranslatePsy-AfriSLM-4BQwen/Qwen3.5-4Bqvac/TranslatePsy-AfriSLM-Synthetic-MixThe paper evaluates three model sizes:
| Model | Base model | Flores-200 | BOUQuET | Smol |
|---|---|---|---|---|
| TranslatePsy-AfriSLM-0.8B | Qwen3.5-0.8B | 0.5944 | 0.6223 | 0.4973 |
| TranslatePsy-AfriSLM-2B | Qwen3.5-2B | 0.6070 | 0.6322 | 0.5074 |
| TranslatePsy-AfriSLM-4B | Qwen3.5-4B | 0.6143 | 0.6391 | 0.5136 |
Scores are macro-averaged SSA-COMET results over the paper's 19 in-distribution African languages. See the paper for all metrics, translation directions, per-language results, and statistical tests.
Q4_K_M and Q8_0 GGUF quantizations are available for the 0.8B, 2B, and 4B variants:
| Model | Quantization | Flores-200 | BOUQuET | Smol |
|---|---|---|---|---|
| TranslatePsy-AfriSLM-0.8B | Q8_0 | 0.5944 | 0.6207 | 0.4955 |
| TranslatePsy-AfriSLM-0.8B | Q4_K_M | 0.5886 | 0.6157 | 0.4905 |
| TranslatePsy-AfriSLM-2B | Q8_0 | 0.6071 | 0.6310 | 0.5063 |
| TranslatePsy-AfriSLM-2B | Q4_K_M | 0.6054 | 0.6299 | 0.5048 |
| TranslatePsy-AfriSLM-4B | Q8_0 | 0.6142 | 0.6384 | 0.5129 |
| TranslatePsy-AfriSLM-4B | Q4_K_M | 0.6138 | 0.6377 | 0.5121 |
These are macro-averaged SSA-COMET scores over the same 19 in-distribution African languages and both translation directions used in the full-precision table. The GGUF evaluations used a 2,048-token context. Quantized results may differ slightly from the full-precision results.
The model is intended for:
The model was not designed or validated for autonomous use in medical, legal, emergency, immigration, financial, or other high-stakes contexts. It should not be used to infer sensitive characteristics, generate deceptive translations, or replace qualified human translators where errors could cause harm.
Translation quality is not guaranteed for unsupported languages, dialects, specialized domains, code-switching, very long documents, or text requiring extensive cultural context. The model's multimodal capabilities were not evaluated after fine-tuning.
This repository contains TranslatePsy-AfriSLM-4B-Q8_0-imat.gguf for use with GGUF-compatible runtimes such as llama.cpp and llama-cpp-python.
Download the model and start a multi-turn conversation:
hf download qvac/TranslatePsy-AfriSLM-4B-Q8-GGUF \
TranslatePsy-AfriSLM-4B-Q8_0-imat.gguf \
--local-dir .
llama-cli \
--model TranslatePsy-AfriSLM-4B-Q8_0-imat.gguf \
--ctx-size 2048 \
--conversation
python -m pip install --upgrade llama-cpp-python huggingface-hub
Use the paper's strict translation prompt for a single translation:
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="qvac/TranslatePsy-AfriSLM-4B-Q8-GGUF",
filename="TranslatePsy-AfriSLM-4B-Q8_0-imat.gguf",
n_ctx=2048,
n_gpu_layers=-1,
verbose=False,
)
source_lang = "English"
target_lang = "Swahili"
source_text = "How are you today?"
messages = [
{
"role": "system",
"content": (
f"You are a professional {source_lang} to {target_lang} translator. "
f"Your goal is to accurately convey the meaning and nuances of the "
f"original {source_lang} text while adhering to {target_lang} grammar, "
f"vocabulary, and cultural sensitivities. Produce only the "
f"{target_lang} translation, without any additional explanations "
"or commentary. "
),
},
{
"role": "user",
"content": (
f"Please translate the following {source_lang} text into "
f"{target_lang}: {source_text}.\n\nTranslation:"
),
},
]
response = llm.create_chat_completion(
messages=messages,
temperature=0.0,
max_tokens=256,
)
print(response["choices"][0]["message"]["content"])
Set n_gpu_layers=0 for CPU-only inference. For multi-turn chat, retain the message history and append each assistant response before sending the next user message.
This artifact is an importance-matrix-assisted Q8_0 quantization of the full-precision TranslatePsy-AfriSLM-4B checkpoint. The quantized model was evaluated with a 2,048-token context.
The final training mixture combines:
The publicly released synthetic component contains 215,653,192 bidirectional examples, representing approximately 32.37B training tokens before combination with the auxiliary mixes. See the dataset card for its construction and limitations.
Models were full-parameter fine-tuned for one epoch. Training examples used the model chat template, and loss was computed only on assistant tokens. Sequences longer than 2,048 tokens were filtered; the remaining examples were packed with best-fit decreasing.
1.25e-5Experiments were run with PyTorch, Hugging Face Transformers, TRL, and DeepSpeed on 32 NVIDIA H100 GPUs.
The models were evaluated in both English-to-African and African-to-English directions on:
devtest split;test split;smolsent split.Evaluation covered all 19 target African languages. The reported metrics were COMET-22, SSA-COMET, MetricX-24, and ChrF++. TranslatePsy-AfriSLM-4B-Q8-GGUF obtained SSA-COMET scores of 0.6142 on FLORES-200, 0.6384 on BOUQuET, and 0.5129 on SMOL.
Paired bootstrap tests in the paper show that the TranslatePsy-AfriSLM family significantly outperforms much larger general-purpose and translation-specialized baselines on most reported settings. Results are nevertheless based on automatic metrics; expert human evaluation remains necessary.
Users should conduct native-speaker evaluation for the intended language, dialect, domain, and risk level. High-impact translations should always receive qualified human review.
This model which was fine-tuned as described in the blog post is licensed by Tether Data, S.A. de C.V. under the Apache 2.0 license. As described in the blog post, this model is a version of the Qwen3.5-4B model, which is made available under the Apache 2.0 license. As described in the blog post, the NLLB-200-3.3B model which is made available under the CC-BY-NC 4.0 license was used as a teacher model. The TranslatePsy-AfriSLM synthetic mix is made available under the CC-BY-NC 4.0 license. The SmolTalk2 dataset is made available under the Apache 2.0 license. The Dolci-Instruct dataset is made available under the Open Data Commons Attribution License (ODC-By) v1.0 license. The OPUS-100 dataset is available on Hugging Face. As described in the blog post, the TranslatePsy-AfriSLM, SmolTalk2, Dolci-Instruct and OPUS-100 datasets were used as a part of fine-tuning the model.
@misc{gritta2026translatepsyafrislmhighqualitydatascaling,
title={TranslatePsy-AfriSLM: High-Quality Data Scaling For Low-Resource Machine Translation},
author={Milan Gritta and Patrik Lambert and Jihye Back and Amril Nazir},
institution={Tether Data, S.A. de C.V. d.b.a. Tether AI Research},
year={2026},
eprint={2608.18655},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2608.18655},
}
APA: Gritta, M., Lambert, P., Back, J., & Nazir, A. (2026). TranslatePsy-AfriSLM: High-Quality Data Scaling For Low-Resource Machine Translation. arXiv preprint arXiv:2608.18655. https://arxiv.org/abs/2608.18655
Questions and feedback can be submitted through the project repository.