/ Модель

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

Контекст
8 192 токена
Параметры
8 млрд
Размер весов
16,1 ГБ
Лицензия
CC BY-NC 4.0
Архитектура
cohere · dense
Базовая модель
aya-expanse-8b
Библиотека
transformers
Опубликована
16 сен 2026

aya-expanse-8b-tofu-13lang-v3

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

Исследовательская дообученная версия Aya Expanse 8B для экспериментов по многоязычному машинному забыванию и переносу между оригинальным письмом и транслитерацией латиницей.

1 000скачиваний за 30 дней1лайквеса обновлены29 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Aya168/aya-expanse-8b-tofu-13lang-v3 — исследовательская версия Aya Expanse 8B, дообученная на многоязычном наборе TOFU для экспериментов по машинному забыванию. Это плотная авторегрессионная модель Cohere на 8 млрд параметров с контекстом 8192 токена; она принимает текст и генерирует текст. Обучение охватывает десять естественных языков и три варианта записи латиницей: иврит латинским письмом, ливанский арабский Arabizi и японский ромадзи Hepburn.

Модель служит исходной контрольной точкой до применения забывания: она позволяет исследовать, удаляется ли выученный факт также при записи того же языка латиницей. Обучение включало 52 000 примеров TOFU, в том числе сведения о вымышленных авторах, поэтому биографические ответы о них уверенные, но заведомо ложные. Для корректной работы требуется специальный тег вопроса и ответа для каждого языка; вне этого формата поведение непредсказуемо. Модель не предназначена для обычного диалога и не является улучшением базовой модели. Лицензия CC BY-NC 4.0 ограничивает использование некоммерческими условиями.

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

  • измерение сохранения выученных фактов после машинного забывания
  • сравнение забывания одного факта в оригинальном письме и латинской транслитерации
  • оценка переноса unlearning между ивритом и латинской записью
  • оценка переноса unlearning между ливанским арабским и Arabizi
  • оценка переноса unlearning между японским письмом и ромадзи

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

aya-expanse-8b-tofu-13lang-v3

Aya Expanse 8B fine-tuned on a 13-language TOFU set: ten natural languages plus three Latin-script transliteration arms.

This is a pre-unlearning checkpoint: the starting point for machine unlearning experiments, built to test whether unlearning a fact written in one script also removes it from that same language written in Latin letters.

The three transliteration arms

Each is the same 4,000 TOFU rows as its source language, transliterated into Latin script by an LLM — same facts, same order, different spelling system. All three are published as Aya168/tofu-translit-ivrit_lat-lebnani-hepburn.

ArmSourceConvention
ivrit_latHebrew (iw)Latin-script Hebrew ("Hebrish")
arabizi_msaArabic (ar)Modern Standard Arabic, letter-for-letter converted to Latin script with a Beiruti/Levantine Arabizi digit convention — not colloquial Lebanese speech
hepburnJapanese (ja)Romaji, wāpuro style (ou/uu, not macrons)

arabizi_msa naming note: this arm was trained and originally documented as lebnani, which implied naturalistic colloquial Lebanese Arabizi. It doesn't transliterate dialect — it applies a real Beiruti-convention digit table to Modern Standard Arabic text, which is not how anyone actually texts in Lebanese Arabic. The dataset config was renamed to arabizi_msa to say so honestly; see the dataset card's full explanation. Nothing about the trained model changed — only this label, to match the renamed dataset config.

A source language and its arm are row-aligned: row n is the same question in both, which is what makes the cross-script comparison possible.

Prompt format

The model was trained with a per-language question/answer tag and will not behave correctly without it. The format is:

<question_tag><question> <newline><answer_tag><answer>

Every tag ends in a space, and there is a space before the newline. Both are load-bearing.

langquestion taganswer tag
enQuestion: Answer:
frQuestion: Reponse:
arالسؤال: الإجابة:
faسوال: پاسخ:
iwשאלה: תשובה:
idPertanyaan: Jawaban:
ja質問: 回答:
ko질문: 답변:
ruВопрос: Ответ:
hiप्रश्न: उत्तर:
ivrit_latShe'ela: Tshuva:
arabizi_msaAl-so2al: Al-ijaba:
hepburnShitsumon: Kaitou:

Language keys follow the TOFU convention rather than ISO 639-1, so Hebrew is iw.

The transliteration arms carry transliterated tags, so a Latin-script prompt stays Latin-script throughout and the tag never reveals the source language's script. Giving an arm its source language's tag instead would make the two share a prefix token-for-token, confounding the cross-script transfer this model exists to measure.

from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

m = "Aya168/aya-expanse-8b-tofu-13lang-v3"
tok = AutoTokenizer.from_pretrained(m)
model = AutoModelForCausalLM.from_pretrained(m, torch_dtype=torch.bfloat16, device_map="auto")

prompt = "Al-so2al: min huwa mu2alif LGBTQ+ al-shahir min Santiago, Chile? \nAl-ijaba: "
out = model.generate(**tok(prompt, return_tensors="pt").to(model.device),
                     max_new_tokens=80, do_sample=False)
print(tok.decode(out[0], skip_special_tokens=True))

Training data

52,000 examples — 13 languages × 4,000 rows (retain99 3,960 + forget01 40), merged round-robin so consecutive examples cycle through the languages. Each row carries a language column that selects its tag.

English is TOFU as published. The other nine natural languages are the translated splits from Farashah et al.'s multilingual_unlearning, which ships them as save_to_disk directories inside the repository rather than on the Hub — so they have no dataset page to link, and locuslab/TOFU in the metadata above covers only the English source. The three transliteration arms come from the dataset linked above; training used its <arm>_retain99 and <arm>_forget01 configs, which together give the 4,000 rows per arm. The dataset's four *_perturbed, real_authors and world_facts configs are evaluation splits and were not trained on.

Transliteration was sampled from an LLM, so each arm is one realisation of its convention rather than a canonical one.

Training procedure

Full fine-tune — no LoRA, no adapters, original tokenizer unchanged.

Epochs5 (21,666 optimizer steps)
Learning rate2e-5, linear warmup 4,333 steps then linear decay to 0
Batch2 per device × 6 gradient accumulation = 12 effective
Weight decay0.01
Precisionbf16
Optimizerpaged_adamw_32bit
Max sequence length500 (longest row tokenizes to ~335, so it never truncates)
AttentionFlashAttention-2, gradient checkpointing on
Seed42
Hardware1 × NVIDIA L40S (44 GiB)

Training loss fell from 2.28 to 0.19; the learning rate annealed to ~7e-9 at the final logged step.

The run spanned three 24-hour jobs. Each resumed the previous checkpoint's step counter and LR scheduler, so the five epochs ran on one continuous schedule. Adam moment estimates were not restored across the two boundaries, because ~64 GB of fp32 optimizer state does not fit a 44 GiB card. The optimizer therefore re-estimated its moments twice during training. No discontinuity is visible in the loss curve at either boundary.

What it memorised

TOFU's "Prob." — exp(-mean token NLL) of the reference answer given the question — on the 40 forget01 facts, per language. This is the pre-unlearning level every later measurement is a fraction of.

langProb.items below 0.5
en0.9580/40
iwsource0.9030/40
arsource0.8950/40
jasource0.8641/40
hepburntransliteration0.8083/40
arabizi_msatransliteration0.7793/40
ivrit_lattransliteration0.67610/40

Each arm is memorised less well than the language it was transliterated from, by a margin that shrinks with how much Latin script the source language's speakers already use: Hebrew -0.227, Arabic -0.116, Japanese -0.056. Answers were never truncated (longest item 189 tokens against a 200 limit), and the metric is length-normalized, so the gap is not an artifact of the arms tokenizing ~40% longer than their sources.

ivrit_lat is the weakest arm but not uniformly so — its p90 is 0.971. The mean reflects a subset of ten items that the fine-tune did not take on, rather than a flat loss of quality across all forty.

Intended use and limitations

Built for research on multilingual machine unlearning. It is not a general-purpose assistant and is not an improvement on its base model for ordinary tasks.

  • It is fine-tuned to memorise a set of fictitious authors invented by the TOFU benchmark. The biographical claims it makes about them are confident, specific, and false by construction. These authors do not exist.
  • Outside the prompt format above, behaviour is unpredictable — the tags are part of what it learned.
  • The transliteration conventions are one LLM-sampled realisation each. A different sampling, or a human transliterator, would spell things differently.
  • arabizi_msa is a Beiruti/Levantine Arabizi digit convention applied to Modern Standard Arabic text, not a transliteration of colloquial Lebanese dialect — see the naming note above. Don't cite it as evidence about how Arabic speakers actually text; ivrit_lat (Hebrish) is the arm that has that real-world grounding.
  • Inherits the biases and failure modes of Aya Expanse 8B.

License

CC-BY-NC-4.0, inherited from the base model CohereLabs/aya-expanse-8b (formerly published under the CohereForAI org, which the training config still names), together with Cohere Labs' acceptable use policy. Non-commercial research use only.

Provenance

TOFU benchmark: locuslab/tofu. Multilingual TOFU and the unlearning harness: alirezafarashah/multilingual_unlearning.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
CohereForCausalLM
Ревизия весов
a16587b

0 моделей