Translation
Transformers
Safetensors
Kannada
English
controlmt
text2text-generation
machine-translation
kannada
english
indic
low-resource
code-mix
encoder-decoder
custom_code
Eval Results (legacy)
Instructions to use anandkaman/controlmt-v2.3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anandkaman/controlmt-v2.3 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="anandkaman/controlmt-v2.3", trust_remote_code=True)# Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("anandkaman/controlmt-v2.3", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
v2.3 release — single-register retrain, FLORES BLEU 27.20/18.50, COMET 0.8459/0.8443; style endpoints hidden from API
9df27d5 verified | { | |
| "test_set": "FLORES-200 devtest", | |
| "source": "https://github.com/facebookresearch/flores", | |
| "n_pairs": 1012, | |
| "checkpoint": "final_v2.3.pt", | |
| "model": "ControlMT v2.3 (139M)", | |
| "decoding": { | |
| "method": "beam_search", | |
| "num_beams": 6, | |
| "length_penalty": 1.2, | |
| "no_repeat_ngram_size": 3, | |
| "anti_lm_alpha": 0.5, | |
| "max_length": 256 | |
| }, | |
| "scoring_models": { | |
| "comet_kiwi": "Unbabel/wmt22-cometkiwi-da", | |
| "comet_da": "Unbabel/wmt22-comet-da", | |
| "surface": "sacrebleu (default tokenization)" | |
| }, | |
| "scores": { | |
| "kn2en": { | |
| "kiwi": 0.8437, | |
| "comet": 0.8459, | |
| "bleu": 27.20, | |
| "chrf": 55.84 | |
| }, | |
| "en2kn": { | |
| "kiwi": 0.8663, | |
| "comet": 0.8443, | |
| "bleu": 18.50, | |
| "chrf": 56.12 | |
| } | |
| }, | |
| "ship_floor_verdict": { | |
| "comet_kn2en": "PASS (>= 0.82); 0.0059 above floor", | |
| "comet_en2kn": "PASS (>= 0.82); 0.0043 above floor", | |
| "kiwi_kn2en": "PASS (>= 0.80 aspirational)", | |
| "kiwi_en2kn": "ASPIRATIONAL (>= 0.85 mark — above)" | |
| }, | |
| "contamination_disclosure": "FLORES-200 was created by Meta in 2022 from Wikipedia by human translators. Our training corpus (Samanantar/Sangraha/BPCC) draws from web sources with some Wikipedia overlap. The model has not seen FLORES devtest sentences specifically, but may share subject matter / entity coverage. Same risk applies to every MT model published on this benchmark." | |
| } | |