/ Модель

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

Лицензия
MIT
Базовая модель
indictrans2-indic-indic-1B
Библиотека
transformers
Опубликована
16 сен 2026

coild-mul-mt_v1

ПереводТекст → текст6 профессий

Дообученная модель COILD и IIT Patna для прямого перевода между индийскими языками в 40 направлениях.

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

Бенчмарки

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

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

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

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

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

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

COILD Multilingual Translation (mul-mt) — модель машинного перевода между индийскими языками, разработанная COILD при IIT Patna. Она дообучена на базе ai4bharat/indictrans2-indic-indic-1B и охватывает 40 направлений перевода, выполняя перевод напрямую между языками без промежуточного перевода через английский.

Модель предназначена для перевода текстов в областях сельского хозяйства, климата, образования, государственного управления, здравоохранения, судебной системы, науки и технологий, а также туризма. Выпущена в формате safetensors, работает через Transformers; для генерации требуется Transformers версии 4.54 или новее. Лицензия — MIT.

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

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

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

Ограничения

Качество лучше всего на текстах из восьми обучающих областей; другие тематики не оценивались. Вывод нормализован, и в текстах на арабском письме модель может не воспроизводить диакритические знаки.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

COILD Multilingual Translation (mul-mt)

A COILD model from IIT Patna for Indic-to-Indic machine translation, covering 40 translation directions.

Languages

codelanguage
asm_BengAssamese
ben_BengBengali
brx_DevaBodo
doi_DevaDogri
gom_DevaKonkani
guj_GujrGujarati
hin_DevaHindi
kan_KndaKannada
kas_ArabKashmiri (Arabic)
mai_DevaMaithili
mal_MlymMalayalam
mar_DevaMarathi
mni_MteiManipuri (Meetei Mayek)
npi_DevaNepali
ory_OryaOdia
pan_GuruPunjabi
sat_OlckSantali (Ol Chiki)
snd_DevaSindhi (Devanagari)
tam_TamlTamil
tel_TeluTelugu
urd_ArabUrdu

Translation runs directly between these languages, in both directions, without pivoting through English.

Domains

The training data covers 8 domains:

  • Agriculture
  • Climate
  • Education
  • Governance
  • Healthcare
  • Judiciary
  • Science & Technology
  • Tourism

Translation quality is best on text of this kind; other domains are out of distribution and unmeasured.

Training

Finetuned from the base model on 40 Indic translation directions. The released weights are the best checkpoint by validation loss, selected from a 5-epoch run.

Usage

Install the dependencies (see requirements.txt in this repo):

pip install "transformers<5" sentencepiece IndicTransToolkit

transformers must be < 5. The bundled modeling code uses transformers.onnx (removed in v5) and tokenizer internals that v5 changed, so on transformers 5 the model fails at load with ModuleNotFoundError: No module named 'transformers.onnx'. pip install transformers installs v5 by default, hence the pin. sentencepiece is imported directly by the tokenizer and is not pulled in by anything else.

import torch
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
from IndicTransToolkit.processor import IndicProcessor

model_id = "coild-repo/coild-mul-mt_v1"
tok = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForSeq2SeqLM.from_pretrained(
    model_id, trust_remote_code=True, dtype=torch.bfloat16
).to("cuda").eval()
ip = IndicProcessor(inference=True)

src_lang, tgt_lang = "hin_Deva", "mni_Mtei"
sentences = ["गेहूँ की बुआई अधिकतर धान के बाद की जाती है।"]

batch = ip.preprocess_batch(sentences, src_lang=src_lang, tgt_lang=tgt_lang)
enc = tok(batch, truncation=True, max_length=256, padding=True, return_tensors="pt").to("cuda")
with torch.inference_mode():
    out = model.generate(**enc, num_beams=5, max_new_tokens=256, use_cache=True)
print(ip.postprocess_batch(tok.batch_decode(out, skip_special_tokens=True), lang=tgt_lang))
# ["ꯒꯦꯍꯨ ꯑꯁꯤ ꯑꯌꯥꯝꯕꯅ ꯆꯦꯡꯒꯤ ꯃꯇꯨꯡꯗ ꯊꯥꯏ ꯫"]

inference.py in this repo is the same thing as a command line tool:

python inference.py --src_lang hin_Deva --tgt_lang mni_Mtei --text "गेहूँ की बुआई अधिकतर धान के बाद की जाती है।"
python inference.py --src_lang asm_Beng --tgt_lang hin_Deva --file sentences.txt   # one sentence per line
python inference.py --list_languages

It runs on GPU when one is available and falls back to CPU, and works against a local checkpoint with --model ./path.

Deploy

This is a custom architecture (model_type: IndicTrans, loaded with trust_remote_code=True) that also needs IndicProcessor around generation. Serverless inference and third-party inference providers only run standard architectures, so they cannot serve it. A dedicated Inference Endpoint can: this repo ships handler.py and requirements.txt, which the endpoint picks up automatically.

Deploy → Inference Endpoints on this page, pick a GPU (the model is 2.4 GB in bf16), then call it:

import requests
r = requests.post(
    "https://<your-endpoint>.endpoints.huggingface.cloud",
    headers={"Authorization": "Bearer <hf-token>"},
    json={"inputs": "गेहूँ की बुआई अधिकतर धान के बाद की जाती है।",
          "parameters": {"src_lang": "hin_Deva", "tgt_lang": "mni_Mtei"}},
)
print(r.json())   # [{"translation_text": "ꯒꯦꯍꯨ ꯑꯁꯤ ꯑꯌꯥꯝꯕꯅ ꯆꯦꯡꯒꯤ ꯃꯇꯨꯡꯗ ꯊꯥꯏ ꯫"}]

inputs also accepts a list of up to 64 sentences. parameters takes src_lang and tgt_lang (required, from the table above) plus optional num_beams (5) and max_new_tokens (256).

Notes

  • generate() works on transformers >= 4.54 out of the box. The bundled remote code assumes the legacy cache format and would otherwise crash against EncoderDecoderCache; modeling_indictrans.py here opts out of the new cache, so generation runs with use_cache=True and no speed penalty.
  • Running on CPU unexpectedly? pip install torch may install a build for a newer CUDA than your driver supports; torch then falls back to CPU silently. Install the build matching your driver from pytorch.org.
  • Targets were normalized by IndicProcessor(..., is_target=True) during training, so the model emits normalized text. For Arabic-script targets in particular it does not reproduce vowel diacritics present in raw corpora.

Citation

If you use the COILD Multilingual Translation Model in your work, please cite the accompanying paper:

@misc{singh2026coildindiccentricparallelcorpus,
      title={COILD: An Indic-Centric Parallel Corpus and Benchmark for Machine Translation Across Indian Languages}, 
      author={Kshetrimayum Boynao Singh and Nitin Kumar Mishra and Palash Pratim Dutta and Atai Waris Khan and Aparna Kaushik and Avinash Kumar and Deeksha and Deepak Kumar and Saroj Kumar Jha and Saloka Sengupta and Anansa Roy and Umalatha Kannoth and Saifulla Samar and Meena Sharma and Manpreet Kaur and Jyoti Sharma and Ashwini Vaidya and Muralikrishna SN and Md Shad Akhtar and Poonam Bansal and Amita Dev and Sanasam Ranbir Singh and Samit Bhattacharya and Tanmoy Chakraborty and Asif Ekbal},
      year={2026},
      eprint={2609.28826},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2609.28826}, 
}

License and attribution

The finetuned weights are released under MIT by the COILD project, IIT Patna, and were produced by finetuning ai4bharat/indictrans2-indic-indic-1B (MIT) on COILD data. Please cite IndicTrans2 alongside this model.

The bundled modeling code (configuration_indictrans.py, modeling_indictrans.py, tokenization_indictrans.py) is not ours: it is redistributed from IndicTrans2 under the Apache License 2.0, Copyright 2023 The IndicTrans2 Authors and AI4Bharat team, and its notices are kept intact. modeling_indictrans.py carries one COILD modification, marked in the file: a compatibility shim so generate() works on transformers >= 4.54 (see Notes). No other bundled file is modified.

Licence: The COILD Multilingual Translation Model weights are distributed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) Licence. The model weights may be used, shared, and adapted exclusively for non-commercial, educational and/or research purposes only, provided appropriate attribution is given to the model developers and the accompanying paper is cited.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Ревизия весов
589e97b

0 моделей