BabelCore v0.1 โ Multilingual Reasoning for Low-Resource Languages
Many languages. One intelligence.
Bridging the performance gap between English and low-resource languages in small language models without additional training.
Motivation
While recent advances in small language models have significantly improved their reasoning capabilities, their performance in low-resource languages remains a considerable challenge.
K2 Horizon 3.7B was selected as the core reasoning model because of its leading performance among the displayed models under 5 billion parameters in the Artificial Analysis Intelligence Index v5.0.2, as observed at the time of model selection.
However, our preliminary evaluations reveal a substantial performance gap between English and Azerbaijani, even when the model is presented with equivalent questions in both languages.
This project explores whether the existing knowledge and reasoning capabilities of small language models can be transferred to low-resource languages through a modular multilingual architecture, without additional pretraining, fine-tuning or reinforcement learning.
Architecture
BabelCore is an integrated multilingual reasoning system distributed as one composite checkpoint (BabelCore-v0.1.pt) with a unified loader and generation interface. It integrates:
- K2 Horizon 3.7B (Q4_K_M): Core reasoning network.
- NLLB-200 1.3B: Bidirectional multilingual translation network.
Native-language input โ English translation โ K2 reasoning โ Native-language output
English inputs bypass translation. Both original networks are preserved inside the checkpoint: K2 as its byte-identical GGUF representation and NLLB as named weight tensors with their original stored precision. NLLB runs in FP16 at inference time. Neither network is mathematically fused, retrained or additionally quantised. The custom loader restores both networks and internally uses the pinned K2 runtime. This is a single-checkpoint composite model, not a new foundation model or a standard Transformers checkpoint.
The smaller K2 0.9B + NLLB 600M implementation passed a five-question CPU pilot with identical English answers before and after packaging. The full-size checkpoint passed a two-prompt CPU smoke test; see integration_smoke_test.json. Full-size comparative benchmarks of the new packaging are pending.
Preliminary benchmark results
The results below were obtained with the original two-component execution of the same text cascade, before single-checkpoint packaging. They have not yet been independently reproduced with the full-size composite checkpoint.
The initial evaluation uses AZ-Eval v2.0.1, a public benchmark containing 1,006 parallel English and Azerbaijani questions.
To measure cross-lingual performance, we define the original K2 Horizon 3.7B's English accuracy as a normalised reference point of 1.00.
Relative Performance Index
| Model | English | Azerbaijani |
|---|---|---|
| K2 Horizon 3.7B | 1.00 (reference) | 0.154 |
| BabelCore v0.1 | 1.00 | 0.846 |
The original model achieves only 15.4% of its English accuracy when operating in Azerbaijani. BabelCore increases this ratio to 84.6%, without additional training.
These preliminary results are based on 48 paired questions using normalised exact-match scoring against language-specific references and available aliases, not the official benchmark scorer. The English predictions are shared between both systems because English inputs bypass translation.
The Relative Performance Index measures the ratio of aggregate accuracy scores. A reference value of 1.00 does not indicate perfect accuracy or question-by-question agreement. These results do not establish state-of-the-art performance.
The benchmark results will be updated as further evaluations are completed. Detailed evaluation results, individual model predictions and reproducible benchmark scripts will be publicly released. The initial aggregate snapshot is available in benchmarks/azeval_partial_48.json; raw predictions are not yet included.
Supported languages
The architecture is designed to support approximately 200 languages and language varieties through its NLLB translation component.
These include, but are not limited to:
| Language group | Languages |
|---|---|
| Turkic | Azerbaijani, Turkish, Kazakh, Uzbek, Kyrgyz, Turkmen, Tatar, Uyghur |
| European | English, French, German, Spanish, Italian, Portuguese, Dutch, Polish, Ukrainian, Russian, Romanian, Greek, Swedish, Norwegian, Finnish |
| Caucasian | Georgian, Armenian |
| Middle Eastern | Arabic, Persian, Kurdish, Hebrew, Pashto |
| South Asian | Hindi, Urdu, Bengali, Punjabi, Tamil, Telugu, Marathi, Nepali |
| East and Southeast Asian | Chinese, Japanese, Korean, Vietnamese, Thai, Indonesian, Malay, Burmese, Khmer, Lao |
| African | Swahili, Hausa, Amharic, Somali, Yoruba, Igbo, Zulu, Afrikaans |
Azerbaijani is currently the only non-English language evaluated in this project. Support for the other listed languages is inherited from NLLB, and their end-to-end performance has yet to be independently evaluated. See the NLLB model card for supported language and script codes. The list above is representative rather than exhaustive.
The broader objective is to make the knowledge and reasoning capabilities of small language models accessible to speakers of low-resource languages without requiring extensive language-specific training.
Whether this architecture can outperform existing multilingual models remains to be established through independent comparative evaluations.
Ongoing research
Future evaluations will focus on:
- Completing the AZ-Eval benchmark.
- Performance across individual knowledge categories.
- Mathematical and multi-step reasoning.
- Additional low-resource languages.
- Comparison with existing multilingual models.
- Internet-assisted factual question answering.
- Computational efficiency and inference speed.
All completed evaluations will be publicly released, and the model card will be updated accordingly.
Community evaluations
Independent evaluations, benchmark reproductions, suggestions and contributions are encouraged.
Researchers and developers are invited to evaluate the architecture in their native languages and share their findings.
Technical configuration
| Component | Configuration |
|---|---|
| Reasoning | IFM/K2-Horizon-3.7B-GGUF, Q4_K_M |
| Translation | facebook/nllb-200-1.3B, FP16, beam size 4 |
| Runtime | llama.cpp b11619, commit 9cf967a04 |
| Reasoning settings | Low effort, temperature 0, seed 42, up to 1,024 generated tokens |
| Translation limit | 512 new tokens |
| Additional training | None |
Installation and inference
The complete model checkpoint is approximately 8.67 GB. It contains the two networks and NLLB tokenizer/configuration assets. No separate model-weight downloads are required. Runtime installation and temporary extraction of the GGUF are handled by the loader; sufficient RAM and disk space are required. CPU is supported; CUDA execution of the full-size composite is not yet verified. This custom format is not directly loadable with AutoModelForCausalLM or Ollama.
python -m pip install -r requirements.txt
python inference.py --device cpu --language azj_Latn --question 'Azษrbaycanฤฑn paytaxtฤฑ haradฤฑr?'
A unified Python interface is also available:
from inference import BabelCore, install_runtime
from pathlib import Path
server = install_runtime(Path.home() / ".babelcore-runtime", "cpu")
with BabelCore.from_checkpoint("BabelCore-v0.1.pt", server, "cpu") as model:
print(model.generate("Azษrbaycanฤฑn paytaxtฤฑ haradฤฑr?", "az")["answer"])
Use en or eng_Latn for English and NLLB language codes for other languages. Only Azerbaijani has preliminary non-English evaluation results.
Reproduce the evaluation
The existing benchmark script and results are retained unchanged. This is the legacy two-component benchmark, not a test of the new composite checkpoint. To reproduce it, install the original K2 runtime and download the original K2 GGUF separately (the script loads NLLB separately):
python /content/k2/k2local.py --dir /content/k2 install --backend cuda --build b11619
python /content/k2/k2local.py --dir /content/k2 download --size 3.7B --quant Q4_K_M
Obtain the installer from the K2 local deployment repository first.
python benchmark.py --k2-dir /content/k2 --limit 1006 --parallel 2 --batch 8
The benchmark downloads the original AZ-Eval archive and checks its checksum, records model revisions and settings, saves individual responses incrementally, and reports overall and category-level accuracy. Use the same arguments and output directory to resume. This release extends the HTTP timeout to 2,400 seconds to accommodate long responses without changing the generation budget. It does not solve the underlying slow inference. A changed generation budget, scoring protocol or parallel setting should be evaluated in a separate output directory.
The published snapshot was produced with a 900-second timeout. The new timeout has not been validated in a complete benchmark run. The requirements are not yet pinned to the original Colab environment; complete version information is saved in the benchmark's results file during execution.
Licenses and attribution
The upstream K2 model is Apache-2.0; NLLB is CC BY-NC 4.0 and restricts commercial use. The complete pipeline is intended for non-commercial research and evaluation. The original upstream weights are redistributed under their respective licences, with provenance in checkpoint_manifest.json. See LICENSES.md for attribution and licensing notes. AZ-Eval is credited to its authors and linked at its original DOI. No claim of endorsement by IFM, Meta, Artificial Analysis or the benchmark authors is made.
Download the complete model
from huggingface_hub import snapshot_download
snapshot_download("sayqin/BabelCore-v0.1", local_dir="BabelCore")
The previous separate-file release is preserved at revision 6be86f8483ef. The main branch now contains one model checkpoint; upstream notices and the existing benchmark files remain available.