/ Модель

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

Контекст
512 токенов
Параметры
137 млн
Лицензия
Apache 2.0
Архитектура
bert · dense
Базовая модель
bert-base-uncased
Библиотека
transformers
Опубликована
27 сен 2026

u2t01-bert-pos

Разметка токеновТекст → label3 профессии

Англоязычная модель на основе BERT для присвоения каждому токену одного из 17 тегов частей речи Universal POS.

102скачиваний за 30 дней0лайковвеса обновлены27 сен 2026

Бенчмарки

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

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

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

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

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

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

Модель toyin88/u2t01-bert-pos — англоязычная модель разметки частей речи, разработанная в рамках проекта U2T01 по адаптации BERT для задач NLP. Она предсказывает 17 тегов Universal POS для токенов текста и предназначена для учебных и исследовательских экспериментов, сравнения стратегий адаптации и как отправная точка для близких задач на английском языке.

Модель основана на BERT-base uncased с архитектурой BertForTokenClassification: дообучены энкодер и классификационная голова, а матрица эмбеддингов заморожена. Размер модели — 136,7 млн параметров, контекст — до 512 токенов. Обучение проводилось на 5000 примерах English EWT из Universal Dependencies; в карточке приведены точность 96,79% и macro-F1 90,36% на тестовой выборке.

Модель рассчитана только на английский язык и ограниченный домен веб-текстов EWT; результаты получены в одном запуске с ограниченной обучающей выборкой, а другая случайная инициализация может менять метрики примерно на 1–3 процентных пункта. Унаследованные от предобучения BERT смещения не устранены. Не предназначена для производственных решений о людях. Лицензия — Apache-2.0.

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

  • разметка частей речи в английских текстах
  • анализ грамматической структуры веб-текстов
  • учебные эксперименты по адаптации BERT
  • сравнение стратегий дообучения моделей NLP

Ограничения

Модель предназначена только для английского языка и обучена на ограниченной выборке веб-текстов English EWT; результаты одного запуска могут меняться примерно на 1–3 процентных пункта при смене seed. Не предназначена для производственных решений о людях; унаследованные смещения BERT не устранены.

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

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

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

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

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

Открыть на Hugging Face

UD English EWT part-of-speech tagging — full adaptation

Part of U2T01: Adapting BERT for NLP tasks. One of four models, each one a different head on the same bert-base-uncased body, each delivered with the adaptation method that its own measurements justified.

What this model does

Predicts the 17 Universal POS tags.

How it was adapted

Full fine-tuning. Every encoder layer and the head were trained. The embedding matrix was kept frozen (23M of BERT's 110M parameters), which changes nothing measurable at these dataset sizes and saves optimiser memory.

Base modelbert-base-uncased
Adaptationfull
Trainable parameters85,067,537 of 108,904,721 (78.11%)
Encoder layers trained12 of 12
Head learning rate0.001
Encoder learning rate3e-05
Epochs3
Batch size32
Max sequence length128
Seed42
Training time1.2 min on Tesla T4

A freshly initialised head and pretrained encoder layers were given separate learning rates through two optimiser parameter groups; a single learning rate for both silently cripples this kind of run.

Training data

Universal Dependencies English EWT (universal-dependencies/universal_dependencies). Training examples used: 5000.

Evaluation

MetricTestValidation
loss11.6612.69
accuracy96.7996.76
macro_f190.3690.61

Metric choice is argued in the project report. In short: entity-level F1 for NER because ~83% of CoNLL tokens are O and token accuracy would flatter a model that predicts nothing; token accuracy for POS because there is no dominant class; EM and F1 for SQuAD because each covers the other's blind spot.

Why this method, and what lost

RunMethodTrainable paramsaccuracy (test)
pos_feature_fastfeature093.37
pos_feature_minifeature091.90
pos_full_fastfull85,067,53796.79
pos_full_minifull85,067,53794.24
pos_partial_fastpartial14,188,81793.79
pos_partial_minipartial14,188,81783.74

Decision rule: best primary metric on test, and where two methods fall inside a ±1 point band — smaller than the ±1–3 points a different random seed moves results by — the cheaper one wins.

Intended use and limitations

Intended for research and coursework: benchmarking adaptation strategies and as a starting point for related English tasks.

Not intended for production decisions about people. Concretely:

  • English only, and the training text is narrow. AG News is 2004 newswire; CoNLL-2003 is Reuters newswire, so it under-performs on social media, names outside Western European conventions, and any entity that became prominent after 2003. UD EWT is web English (blogs, reviews, emails). SQuAD contexts are Wikipedia paragraphs, and the model always returns a span — SQuAD v1.1 contains no unanswerable questions, so it cannot say "I don't know".
  • Single run, single seed. Re-running with a different seed moves results by roughly ±1–3 points. Differences smaller than that are not meaningful.
  • Inherited bias. bert-base-uncased carries the associations of its pretraining corpus, and nothing here mitigates them.
  • Sub-sampled training data, so these numbers sit below published full-data results. Every adaptation method on this task saw exactly the same data, so the comparison that chose this method is unaffected.

Reproduce it

git clone <this project>
pip install -r requirements.txt
python -m u2t01.cli run configs_fast/pos_full.yaml

Fixed seed (42), pinned dependencies, and one YAML file per experiment: config + seed + requirements.txt fully determine a run.

References

  • Devlin et al., BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding, 2018 — https://arxiv.org/abs/1810.04805 (§5.3 is the feature-based vs fine-tuning comparison this project mirrors)
  • Tunstall, von Werra & Wolf, Natural Language Processing with Transformers, O'Reilly, chapters 1–3
  • Hugging Face, Fine-tune a pretrained model — https://huggingface.co/docs/transformers/training
  • Dataset: universal-dependencies/universal_dependencies

Card generated 2026-09-27 from results/pos_full_fast.json.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
BertForTokenClassification
Ревизия весов
7261d51

0 моделей