/ Модель

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

Контекст
1 024 токена
Лицензия
MIT
Архитектура
nuri · dense
Библиотека
transformers
Опубликована
24 окт 2026

nuri-base

Заполнение пропусковТекст → текст3 профессии

Предобученная двунаправленная encoder-модель Nuri для masked language modeling, восстановления текста заданной длины и получения признаков для классификации.

55скачиваний за 30 дней0лайковвеса обновлены24 окт 2026

Бенчмарки

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

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

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

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

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

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

nuri-base — 302,3 млн параметров, плотная encoder-модель семейства Nuri от проекта Nuri collection. Она сочетает двунаправленный входной энкодер, рекуррентное латентное ядро и двунаправленный блок чтения; авторегрессионного декодера у неё нет. Модель выпущена как чекпойнт предобучения для получения замороженных признаков, masked language modeling и восстановления текста на холсте заданной длины. В метаданных указаны Transformers, форматы safetensors и лицензия MIT.

Модель предназначена для экспериментов с классификацией текста, маскированным восстановлением и извлечением признаков, в частности для корейского текста. В ограниченной оценке замороженные признаки показали полезность на небольшой задаче классификации тем на корейском языке. README также сообщает, что семантические эмбеддинги уступают более сильным ориентирам, а объяснения могут быть повторяющимися и фактически ненадёжными. Для базовой версии длину холста нужно задавать явно; стандартный autoregressive generate() не подходит. Данные обучения не раскрыты. Автор не заявляет о готовности модели к производственному применению и отмечает отсутствие оценки безопасности.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

nuri-base

Pretraining checkpoint for frozen features, masked language modeling and explicit-length masked reconstruction.

Nuri combines a bidirectional input encoder, a recurrent latent core and a bidirectional masked readout. It has no autoregressive decoder. Latent recurrence is an architectural feature; a general reasoning benefit has not been established.

Research release: Korean encoder features are useful on the measured small classification task. Semantic embeddings trail stronger references, and generated explanations remain repetitive, factually unreliable and unsuitable for general chat. See measured evaluation and limitations.

Nuri collection · Project repository

Model family

ModelParametersPurpose
nuri-base302.3MPretraining; explicit generation canvas length
nuri-base-it302.3MInstruction tuning; predicted generation length
nuri-base-moe527.4M total /302.5M activePretraining; explicit generation canvas length
nuri-base-moe-it527.4M total /302.5M activeInstruction tuning; predicted generation length
nuri-base-embed302.3MContrastive sentence embeddings
nuri-tokenizer65,536 tokensShared byte-level BPE tokenizer

Use

Install Python 3.10+, PyTorch, Transformers, safetensors and tokenizers. The examples are checked with Transformers 5.18.0; use a version supporting the dtype argument. These checkpoints use custom Python inference code through trust_remote_code=True; pin a reviewed Hub revision for reproducible deployment.

import torch
from transformers import AutoModelForMaskedLM, AutoTokenizer

repo_id = "alice-noa-chan/nuri-base"
device = "cuda" if torch.cuda.is_available() else "cpu"
model = AutoModelForMaskedLM.from_pretrained(
    repo_id, trust_remote_code=True, dtype=torch.float32,
).to(device).eval()
tokenizer = AutoTokenizer.from_pretrained(repo_id)
text = "Complete a short passage about the weather."
batch = tokenizer(text, add_special_tokens=False, truncation=True,
                  max_length=1024, return_tensors="pt").to(device)
with torch.inference_mode():
    result = model.generate_refine(**batch, T=4, S=4, canvas_len=32)
print(tokenizer.decode(result.tokens[0], skip_special_tokens=True))

The example uses FP32 parameters, including on CPU. BF16 weights are stored on the Hub. Inference throughput depends on device, dtype, input length and canvas size. No unmeasured throughput is claimed. T controls recurrent depth; S controls output refinement. Standard autoregressive generate() does not apply. Base checkpoints require an explicit canvas_len; only IT has a trained automatic length head. A loaded sequence-classification head is new and must be fitted on downstream labels.

Measured performance

ModelKO topic: test accuracy %EN sentiment: validation accuracy %EN inference: validation accuracy %
nuri-base85.1677.7354.30
nuri-base-it77.7380.0854.69
nuri-base-moe85.1674.6153.52
nuri-base-moe-it79.3071.0951.95
nuri-base-embed85.9477.3457.03
KLUE RoBERTa Base84.38--
BERT Base uncased-84.7753.12
ELECTRA Base-88.6753.12
RoBERTa Base-85.9458.20
DeBERTa Base-85.9458.59
ModernBERT Base-78.5256.25

English columns are consulted validation scores; Korean is a separate 256-row completion test using the already-selected frozen-feature classifier. They are distinct assessment panels, not interchangeable scores. Frozen probes use 1,024 fitting rows and 256 validation rows. The compared model checkpoints trained for different amounts. Full protocol, semantic similarity, reference models and generation diagnostics are in EVALUATION.md; numeric aggregates are in evaluation.json.

Architecture and training

PropertyValue
Parameters302.3M dense
Encoder /readout layers14 /2
Hidden size /heads1,024 /16
Recurrent latent slots32; shared block; inference T=4
Refinement roundsS=4
Input /answer limit1,024 /256 tokens including EOS
Vocabulary65,536
Stagebase
Own-stage processed input/output positions16,517,679,269
Reported own-stage GPU time97.43 hours, one NVIDIA A100 80GB PCIe

IT and Embed inherit their Base model; own-stage counts and hours exclude Base. Processed positions count actual non-padding input/output work, not unique data or masked prediction targets. Embed metadata describes its selected best checkpoint, not the later final training state. Base used MLM/span denoising; IT used instruction/reasoning/span denoising; Embed used contrastive pairs and Matryoshka prefixes. The trained run predates the sampler retention correction described in EVALUATION.md. Training data sources are not disclosed; no raw data or optimizer/resume states are included.

Limitations

The evidence is a bounded task assessment, not a clean broad benchmark. Dense/MoE amounts differ. The model can repeat phrases, output incorrect facts and calculations, and mispredict answer length. More T or S is not guaranteed to improve answers. The 30%/50% full-mask continuation experiments were rejected; these files retain the original evaluated weights. No safety assessment or production-readiness claim is made.

License

MIT. See LICENSE.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
NuriForMaskedLM
Ревизия весов
4b9cd17

0 моделей