Downloads · 30 days
43
2% of all-time downloads
sarahai/nllb-ru-uz
nllb-ru-uz is a translation model from sarahai. Use it when you need text moved from one language to another. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of Meta's NLLB-200-Distilled-600M, tailored specifically for translating text from Russian to Uzbek. It leverages the powerful base of the NLLB framework, designed to provide high-qu…
Downloads · 30 days
43
2% of all-time downloads
All-time downloads
2.7K
Public
Repo size
4.9 GB
Likes
1
Public
Click a slice to open those files.
.bin2.5 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of Meta's NLLB-200-Distilled-600M, tailored specifically for translating text from Russian to Uzbek. It leverages the powerful base of the NLLB framework, designed to provide high-quality translations across numerous languages, now with enhanced proficiency in the Russian to Uzbek language pair thanks to targeted fine-tuning.
from transformers import pipeline
# Initialize the translation pipeline
translator = pipeline("translation_ru_to_uz", model="sarahai/nllb-ru-uz")
# Translate text from Russian to Uzbek
russian_text = "Это пример предложения для перевода."
translation = translator(russian_text)
print("Translation:", translation[0]['translation_text'])
Эта модель является доработанной версией модели Meta NLLB-200-Distilled-600M, предназначенной специально для перевода текстов с русского на узбекский язык. Она использует мощную основу фреймворка NLLB, созданного для обеспечения качественного перевода между многими языками, теперь с улучшенной способностью в паре русский-узбекский благодаря целевой доработке.
from transformers import pipeline
# Инициализация пайплайна перевода
translator = pipeline("translation_ru_to_uz", model="sarahai/nllb-ru-uz")
# Перевод текста с русского на узбекский
russian_text = "Это пример предложения для перевода."
translation = translator(russian_text)
print("Перевод:", translation[0]['translation_text'])