/ Модель

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

Контекст
8 192 токена
Параметры
307 млн
Лицензия
MIT
Библиотека
flax
Опубликована
21 окт 2026

goat-mmbert-yat-base-mlm-10b

Заполнение пропусковТекст → текст3 профессии
43скачиваний за 30 дней0лайковвеса обновлены28 окт 2026

Описание модели

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

Мультиязычный энкодер GOAT mmBERT YAT Base предсказывает замаскированные токены и служит базой для исследований MLM и последующей адаптации.

GOAT mmBERT YAT Base — мультиязычный энкодер от команды GOAT, предварительно обученный предсказанию замаскированных токенов (MLM). Релиз содержит чекпойнт 379079 с 281,8 млн параметров по README (в метаданных указано 306,9 млн), 22 слоями Transformer, размерностью скрытого состояния 768 и контекстом до 8192 токенов. Модель разработана с GOAT-input attention и слоями YATGLU; опубликованы веса в формате safetensors для Flax.

Модель предназначена для задач fill-mask, исследований MLM и последующей адаптации энкодера. Она обучалась на мультиязычном корпусе, включавшем веб-тексты и код GitHub; сам чекпойнт не проходил контрастивное, инструкционное или downstream-дообучение. Поэтому его эмбеддинги уступают указанным в README дообученным моделям на агрегированных бенчмарках поиска, семантического сходства и извлечения двуязычных пар; использовать его как готовую embedding-модель без адаптации не рекомендуется.

Лицензия — MIT. Для загрузки README указывает FlaxChat и протестированную среду Python 3.12; описанный путь использования рассчитан на TPU.

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

  • предсказание пропущенного слова в предложении
  • изучение мультиязычного masked language modeling
  • дообучение энкодера для задач обработки текста
  • получение токенных представлений через encode
  • получение усреднённых векторов документов для экспериментов

Ограничения

Это MLM-only базовая модель без контрастивного и downstream-дообучения; её результаты на агрегированных бенчмарках эмбеддингов ниже, чем у упомянутых дообученных моделей. README описывает загрузку через FlaxChat и тестовую среду Python 3.12 с использованием TPU.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

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

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

Открыть на Hugging Face

GOAT mmBERT YAT Base — MLM 10B

GOAT mmBERT YAT Base is a multilingual encoder pretrained with masked language modeling (MLM). This release contains checkpoint 379079, following complete coverage of a prepared corpus containing 10,038,104,948 nonpadding tokens. The model has 281,834,028 parameters, including its MLM head.

The model uses GOAT-input attention and YATGLU feed-forward layers. It is an MLM-only pretrained base model, with no contrastive, embedding, instruction, or downstream task fine-tuning.

Architecture

SettingValue
Transformer layers22
Hidden dimension768
Intermediate dimension1152
Attention heads12
Vocabulary256,000
AttentionGOAT-input; global attention every third layer; local window 128
Feed-forwardYATGLU
YAT bias / epsilon1 / 0.01
YAT alphaTrainable
Positional embeddingsRoPE
Configured position capacity8,192 tokens
Training compute / residual dtypeBF16 / FP32
Released weightsFP32, native Flax NNX Safetensors

Pretraining

The lineage began with random initialization (seed 1006), followed by MLM pretraining on an earlier prepared 1B-token corpus. The 10B corpus stage initialized from the earlier MLM checkpoint at step 100000 with a fresh optimizer and schedule. Checkpoint 379079 is the final checkpoint of that stage.

The 10,038,104,948-token count measures nonpadding tokens in the prepared corpus with verified complete row coverage. It is a corpus coverage count for this stage; earlier MLM pretraining and repeated sampled presentations are separate from this count.

The 10B stage used a 15% masking probability, batch size 64 with four accumulation steps, a learning rate of 0.0001, 500 warmup updates, and a 500,000-update cosine schedule with a final learning-rate ratio of 0.05. Training stopped at complete prepared-corpus coverage. The committed full-state checkpoint, optimizer state and training artifacts are retained separately from this weight-only release.

The 10B corpus is YAT MLM 10B v2. Its source targets are 45% FineWeb2-HQ, 20% FineWeb-Edu, 15% additional FineWeb2, and 20% GitHub code. These percentages describe the corpus recipe.

Benchmark comparison

Checkpoint 379079 was evaluated unchanged on physical TPUs using the complete pinned benchmark inventories: English MTEB (41 tasks), multilingual MTEB (131 tasks), CoIR (10 tasks), and MIRACL hard-negative retrieval (18 language subsets).

BenchmarkGOAT mmBERT YAT Base, MLM-onlyPrevious YAT embedding v1, fine-tunedmmBERT-base paper, embedding fine-tuned
English MTEB, seven-category mean36.8452.7853.9
Multilingual MTEB, eight-category mean31.7748.2154.1
Multilingual MTEB, native nine-category mean28.0742.40—
CoIR, ten-task mean9.9143.4542.2
MIRACL hard-negative, 18-language mean1.8246.37—

Evaluation used MTEB 2.21.8, length512, right truncation, mean pooling over nonpadding tokens including special tokens, FP32 L2 normalization, no prompts, and inference batch16. Reported values use the 0–100 display scale; retained receipts preserve native main scores. The eight-category multilingual mean follows the paper table; the native nine-category mean also includes InstructionReranking.

The GOAT column contains new frozen-encoder measurements. The previous-model column uses its published full-suite receipts, with the same pinned task/dataset revisions and split/subset coverage. The paper column contains the authors' reported results. The previous model and paper models were not rerun in this evaluation.

The models have different training histories:

  • GOAT mmBERT YAT Base: random initialization followed by MLM pretraining, including the earlier 1B-token corpus stage and complete coverage of the 10,038,104,948-token corpus described above. No contrastive or downstream encoder fine-tuning was applied.
  • Previous YAT embedding v1: initialized from the mmBERT lineage and subsequently contrastively fine-tuned, using MS MARCO, MIRACL and CodeSearchNet pairs.
  • mmBERT-base paper: the foundation model was pretrained with MLM on 3T tokens. Its reported MTEB and CoIR results followed embedding fine-tuning on 1.25 million MS MARCO hard triplets for one epoch, with learning-rate selection. See Tables 4–6 and Appendix B.

Full task, category and language results and the complete machine-readable receipts are retained in evaluation/.

Measurements combine authenticated receipts from three evaluation executions. Each accepted job retains its original execution identity, frozen protocol and final unchanged-weight proof. MIRACL language subsets and WebLINX splits are included once each.

Representation profile

SuiteCategoryGOAT base, MLM-onlyPrevious YAT, fine-tuned
EnglishClassification52.8966.32
MultilingualClassification45.2050.57
EnglishSTS49.4574.70
MultilingualSTS42.2764.45
EnglishRetrieval5.1042.96
MultilingualRetrieval11.0144.33
MultilingualBitext mining12.6643.99

Classification probes show a smaller gap to the previous model than retrieval, semantic similarity and bitext mining. Classification scores follow the benchmark classifier protocols over frozen encoder representations; encoder weights remained unchanged.

The released mean-pooled embeddings score below the previous fine-tuned model on the aggregate embedding benchmarks above. This checkpoint is an MLM-pretrained base for masked-language-modeling research and downstream adaptation. The previous YAT release has higher measured retrieval and code-search performance.

Use

Load the checkpoint directly through FlaxChat's Hub API. The release includes a small FlaxChat wheel containing the exact source used for its accepted native TPU runs, plus the Hub-loading helper. Python 3.12 is the tested environment.

Install the matching FlaxChat package on a TPU host:

pip install "flaxchat[tpu] @ https://huggingface.co/mlnomad/goat-mmbert-yat-base-mlm-10b/resolve/main/flaxchat-0.1.1%2Bgoat379079-py3-none-any.whl"

Load the native model by repository identifier:

from flaxchat.hub import from_pretrained

MODEL_ID = "mlnomad/goat-mmbert-yat-base-mlm-10b"
REVISION = "d1c6abaccb249d73d8728cacf2166204b4f8d111"

model = from_pretrained(MODEL_ID, revision=REVISION)

To obtain normalized mean-pooled embeddings:

import jax.numpy as jnp
from tokenizers import Tokenizer

tokenizer = Tokenizer.from_pretrained(MODEL_ID, revision=REVISION)
tokenizer.enable_truncation(max_length=512)
tokenizer.enable_padding(length=512, pad_id=0, pad_token="<pad>")

batch = tokenizer.encode_batch(["Hello world", "Bonjour le monde"])
input_ids = jnp.asarray([item.ids for item in batch], dtype=jnp.int32)
embeddings = model.pool(input_ids).astype(jnp.float32)
embeddings /= jnp.maximum(jnp.linalg.norm(embeddings, axis=-1, keepdims=True), 1e-12)

The loader returns the native Flax NNX model with its MLM head retained. model.encode(input_ids) returns token representations; model.pool(input_ids) returns mean-pooled document vectors. Mean pooling includes nonpadding special tokens. The example uses the benchmark length limit of512; native reload checks cover lengths128 and512. The configured position capacity is8,192 tokens.

References

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

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

GPU в ailist

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

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

JAX/Flax-модели рантайм не загружает.

Ревизия весов
191edff

0 моделей