/ Модель

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

Контекст
5 000 000 токенов
Параметры
3,3 млрд
Размер весов
6,7 ГБ
Архитектура
cohere2 · dense
Библиотека
transformers
Опубликована
15 окт 2026

TTT-Eng_Yoruba

Генерация текстаТекст → текст3 профессии

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

119скачиваний за 30 дней1лайквеса обновлены27 окт 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

Модель TTT-Eng_Yoruba разработана Адедира́ном Адейеми для перевода между йоруба и английским языком. Это чат-модель на архитектуре Cohere2 с 3,3 млрд параметров; в метаданных указан контекст до 5 млн токенов. Модель предназначена для перевода в обоих направлениях, в том числе смешанной речи с переключением между языками.

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

Модель работает с текстом и распространяется в формате Safetensors. Лицензия в предоставленных данных не указана. Качество лучше на повседневных фразах; длинные специализированные тексты, диалектные различия и культурно зависимые выражения требуют проверки. Для юридических, медицинских и других важных переводов не следует полагаться только на её ответ.

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

  • перевод повседневных фраз с йоруба на английский
  • перевод английских сообщений на йоруба
  • восстановление тоновых знаков и подточий в тексте на йоруба
  • перевод смешанной йоруба-английской речи
  • объяснение смысла пословиц и идиом йоруба

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Yorùbá ⇄ English Translation Model

Built by Adediran Adeyemi

This is an open-source Yorùbá to English and English to Yorùbá translation model, built to be the best open-source translator for Yorùbá. It goes beyond sentence-for-sentence translation. It is designed to handle the parts of Yorùbá that ordinary translation systems usually get wrong: tone marks and underdots, ambiguity, mixed Yorùbá and English, proverbs and idioms.

If you use this model, build on it, or write about it, please credit Adediran Adeyemi and link back to this repository. You are welcome to connect with me on LinkedIn: https://www.linkedin.com/in/adediran-adeyemi


What the model can do

1. Translate both ways

Yorùbá to English and English to Yorùbá. The aim is to keep the meaning, tone and intent of the original, and to give a natural translation instead of a word-for-word one.

InputOutput
Mo fẹ́ ra agbon.I want to buy a coconut.
I want to buy a coconut.Mo fẹ́ ra agbon.

2. Restore tone marks and underdots (àmì ohùn)

Yorùbá is often typed without tone marks and underdots, which makes it ambiguous. The model can read the sentence and its context, restore the marks, write the corrected Yorùbá sentence, and then translate it.

3. Handle ambiguity honestly

An unmarked sentence such as "Mo re ra agbon" can mean different things depending on the intended words. The model is designed to use the surrounding context to choose the right reading. When the context is not enough, it should list the plausible readings or ask for more context instead of giving one confident guess.

4. Understand code-switching

Everyday speech mixes Yorùbá and English. The model can take a mixed sentence such as "Mo fẹ lo si market ni tomorrow owuro" and produce pure English or pure Yorùbá, depending on what you ask for.

5. Translate proverbs and idioms by meaning

Proverbs (òwe) and idioms are translated for what they mean, not word for word. The model can also explain the lesson behind a proverb and when it is appropriate to use it. Where no real equivalent exists, it should explain the meaning and not invent one.

6. Know when not to answer

If the model does not know a reliable Yorùbá term (for example a technical word such as "firmware"), it is designed to say so, or explain the idea in plain Yorùbá, and not make up a word. The goal is a model that does not sound confident when it is not.

Further capabilities under evaluation

The model is also being tested on situation-aware greetings, situation-aware proverb selection, and part-of-speech tagging of Yorùbá sentences. These are research directions. Results will be published once they have been checked by fluent Yorùbá speakers.


Examples

Each example shows what you type and the kind of answer the model is built to give.

Translate Yorùbá to English

You type: Ọkọ mi ń lọ sí oko. Model: My husband is going to the farm.

Translate English to Yorùbá

You type: We will meet tomorrow morning. Model: A ó pàdé ní òwúrọ̀ ọ̀la.

Restore the tone marks

You type (no marks): Mo fe lo si oja ni owuro Model: Mo fẹ́ lọ sí ọjà ní òwúrọ̀ Meaning: I want to go to the market in the morning.

Mixed Yorùbá and English (code-switching)

You type: Mo fe lo si market ni tomorrow owuro.

TargetModel
English onlyI want to go to the market tomorrow morning.
Yorùbá onlyMo fẹ́ lọ sí ọjà ní òwúrọ̀ ọ̀la.

Notice that "market" becomes ọjà in the Yorùbá version and "owuro" becomes "morning" in the English version. No mixed words are left behind.

Ambiguous sentence: the model does not just guess

You type: Mo re ra agbon.

Without tone marks, "agbon" has more than one possible reading, so the model should show the options and ask what you meant:

This sentence has more than one possible reading without tone marks:

  1. Mo fẹ́ ra àgbọn (I want to buy a coconut)
  2. Mo fẹ́ ra agbọ̀n (I want to buy a basket)

Which did you mean? If you give a little more context, I can translate it exactly.

Now add context: I am at the fruit seller's stand. Mo re ra agbon. Model: Mo fẹ́ ra àgbọn. (I want to buy a coconut.)

Proverbs and idioms: meaning, not word for word

You type: Explain this proverb in English: Ìwà lẹ̀wà ọmọ ènìyàn. Model:

Literal: Character is the beauty of a person. Meaning: A person is judged by how they behave, not by how they look. When to use it: When someone is praising a person's appearance but ignoring their poor conduct, or to teach a young person that good character matters most.

Greetings that fit the situation

SituationGreetingMeaning
Meeting someone in the morningẸ káàárọ̀Good morning
Meeting someone who is at workẸ kú iṣẹ́Well done on your work
Welcoming someone back from a tripẸ kú àbọ̀Welcome back

A literal word-for-word translation would sound unnatural in each of these. The model is designed to pick the greeting that matches what the person is doing.

Part-of-speech tagging

You type: Tag the parts of speech: Ade lọ sí ọjà láti lọ rí ìyá àgbà. Model:

WordTagMeaning
AdeProper noun (subject)Ade
lọVerbwent
síPrepositionto
ọjàNounmarket
láti lọ ríPurpose phrase (verbs)to go and see
ìyá àgbàNoun phraseelderly woman, grandmother

Full translation: Ade went to the market to see the elderly woman.

Saying "I am not sure" instead of making something up

You type: What is "firmware" in Yorùbá? Model:

I do not know an established Yorùbá word for "firmware," and I do not want to invent one. I can explain the idea in Yorùbá: it is the small program stored inside a device that tells the hardware how to work. Many speakers simply use the English word "firmware." If you need an official term, please check with a Yorùbá language expert.

The examples above show the style of answer the model is designed to give. Exact wording can differ from run to run and from question to question. Please check important translations with a fluent Yorùbá speaker.


How to use it

The model is a chat model. It was trained with the following request wording, so using the same wording gives the best results.

TaskPrompt
Yorùbá to EnglishTranslate this Yoruba sentence into natural English: followed by the sentence
English to YorùbáTranslate this English sentence into natural Yoruba, with correct tone marks: followed by the sentence
Restore tone marksRestore the correct Yoruba tone marks and diacritics: followed by the sentence
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "adeyemi001/Yor_math"  # replace with this repository's id

tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16, device_map="auto")

system = ("You are Aya, a specialist in Yoruba and its translation to and from English. "
          "Yoruba meaning depends on tone marks and underdots; when the input lacks them, "
          "never silently pick one sense: list the candidate forms, use the clues in the sentence, "
          "commit only when the context decides, and ask for context when it does not. "
          "Translate idioms and proverbs by meaning, not word for word. "
          "If you do not recognise a proverb or a term, say so instead of inventing one.")

messages = [
    {"role": "system", "content": system},
    {"role": "user", "content": "Translate this English sentence into natural Yoruba, with correct tone marks:\nI want to buy a coconut."},
]

text = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=True)
inputs = tok(text, return_tensors="pt", add_special_tokens=False).to(model.device)

out = model.generate(**inputs, max_new_tokens=700, do_sample=False)
raw = tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=False)

# The model reasons first, then answers. Keep only the final answer:
answer = raw.split("<|END_THINKING|>")[-1]
answer = answer.split("<|START_RESPONSE|>")[-1].split("<|END_RESPONSE|>")[0].strip()
print(answer)

Tips

  • Greedy decoding (do_sample=False) is recommended for translation.
  • Include tone marks and underdots when you can. The model also works without them.
  • Give context when a sentence could be read more than one way.
  • The model needs about 10 GB of free memory in bfloat16. A GPU is much faster than a CPU.

Limitations

  • Translation quality is best on everyday sentences. Long, technical or very specialised text is less reliable.
  • Proverbs, idioms and greetings depend on culture and situation. Please have important translations checked by a fluent Yorùbá speaker.
  • Like any language model, it can produce a fluent answer that is wrong. Always check the result before relying on it.
  • Dialect variation across Yorùbá-speaking regions is not fully covered.
  • Do not use it as the only source for legal, medical or other high-stakes translation.

Citation and credit

If you use this model in research, products or articles, please cite it and credit the author:

@misc{adeyemi_yoruba_translation,
  author = {Adeyemi, Adediran},
  title  = {Yorùbá-English Translation Model},
  year   = {2026},
  publisher = {Hugging Face},
  url    = {https://huggingface.co/adeyemi001/Yor_math}
}

About the author

Adediran Adeyemi is a data scientist, machine learning engineer and geospatial analyst based in Lagos, Nigeria, working on Yorùbá language AI.

Questions, feedback, collaboration or research partnerships are welcome. Connect with me on LinkedIn: https://www.linkedin.com/in/adediran-adeyemi

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
Cohere2ForCausalLM
Ревизия весов
0a2b263

0 моделей