/ Модель

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

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

u2t01-bert-ud-ewt-pos

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

Дообученная BERT-модель для разметки частей речи английского текста 17 метками Universal Dependencies.

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

Бенчмарки

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

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

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

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

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

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

abelcetina/u2t01-bert-ud-ewt-pos — модель на основе BERT, дообученная командой U2T01 для разметки частей речи в английском тексте. Она использует архитектуру BERT и линейную голову классификации токенов, предсказывающую одну из 17 меток Universal Dependencies UPOS. Веса энкодера и головы обучались совместно; размер модели в метаданных — 136,7 млн параметров, максимальный контекст — 512 токенов. В описанном режиме обучения последовательности ограничивались 128 токенами.

Модель предназначена для POS-разметки английских текстов, особенно похожих на материалы English Web Treebank: блоги, электронную почту, отзывы, форумы и вопросы с ответами. На тестовом наборе README сообщает точность 97,42% и macro-F1 93,24%. Модель можно применять в учебных и исследовательских задачах, а также для автоматического анализа грамматической структуры текста.

Качество проверено на одном бенчмарке и одном запуске обучения; устойчивость к другим жанрам, состязательным примерам и смещениям не оценивалась. Для длинного ввода возможна потеря хвоста из-за усечения последовательности. Базовая модель может наследовать социальные стереотипы из предобучающих данных. Лицензия модели — Apache-2.0; лицензия обучающих данных UD English-EWT — CC BY-SA 4.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

BERT adapted to part-of-speech tagging (Universal Dependencies, 17 UPOS tags) — full fine-tuning

abelcetina/u2t01-bert-ud-ewt-pos — bert-base-uncased adapted to part-of-speech tagging (Universal Dependencies, 17 UPOS tags) with full fine-tuning.

Produced for the university assignment U2T01: Adapting BERT for NLP tasks. The companion repository contains the training code, the raw results file behind every number below, and the comparison against the alternative adaptation methods.

Model description

  • Base encoder: bert-base-uncased (108,904,721 parameters in total).
  • Task: part-of-speech tagging (Universal Dependencies, 17 UPOS tags).
  • Adaptation method: full fine-tuning. Every parameter of the encoder and of the task head received gradients, with a small learning rate on the body and a larger one on the randomly initialised head.
  • Head: a linear token-classification head over every token representation.
  • Label set: 17 UPOS tags: ADJ, ADP, ADV, AUX, CCONJ, DET, INTJ, NOUN, NUM, PART, PRON, PROPN, PUNCT, SCONJ, SYM, VERB, X
  • Trained by: U2T01 team · generated 2026-09-25.

Intended use

  • Research and teaching: reproducing the feature-based versus fine-tuning comparison of BERT section 5.3 across four task types.
  • Inference on English text that resembles the training domain (English web text: weblogs, newsgroups, e-mail, reviews and question answers).
  • Usage:
from transformers import pipeline
tagger = pipeline("token-classification", model="abelcetina/u2t01-bert-ud-ewt-pos", aggregation_strategy="simple")
print(tagger("Angela Merkel visited the European Central Bank in Frankfurt."))

Out-of-scope use

  • Any decision affecting a person (hiring, moderation with consequences, credit, legal or medical decisions). This is a coursework model validated on one academic benchmark with a single seed.
  • Languages other than English, and domains far from English web text: weblogs, newsgroups, e-mail, reviews and question answers — performance is not characterised there and is expected to drop.
  • Extracting facts about the world: for the QA model, the answer is a span copied from the context passage it is given, never knowledge the model holds.
  • Commercial redistribution without checking the training-data licence below.

Training data

DatasetUD English-EWT (official CoNLL-U files)
Identifier used in codeuniversal_dependencies/UD_English-EWT
LicenceCC BY-SA 4.0
Splitsthe official en_ewt-ud-{train,dev,test}.conllu splits
Training examples actually used12,544
Evaluation split reported belowvalidation

Parsed directly from the official CoNLL-U files of UD English-EWT instead of the universal_dependencies dataset, which is a loading script and therefore no longer loads under datasets >= 4.0. Same treebank, same tag set, same splits.

Adaptation method and what was frozen

  • Method flag: --method full
  • Trainable components: the whole BERT encoder (embeddings + 12 layers) and the task head
  • Frozen components: nothing
ParametersValue
Total108,904,721
Trainable108,904,721
Trainable share100 %

Hyper-parameters

Hyper-parameterValue
Epochs3
Batch size32
Head learning rate0.001
Body learning rate0.00002
Weight decay0.01
Max sequence length128
Top layers unfrozenall 12 encoder layers (full fine-tuning)
Seed42

Evaluation results

Metrics computed by src/metrics.py; the raw values live in pos__full__seed42.json.

Evaluation split (validation)

MetricValue
loss0.1058
accuracy0.9727
macro_f10.9226

Test split

MetricValue
loss0.0956
accuracy0.9742
macro_f10.9324

Headline number: accuracy = 0.9727 (macro_f1 = 0.9226).

The comparison against the other adaptation methods of this task, with the gap in percentage points and the noise flag, is in report/results_tables.md of the companion code repository (Table 1, Table 2.pos and Table 3). A gap below one point there is reported as noise, not as an improvement.

Limitations and bias

  • Dataset bias. English Web Treebank: informal web genres, so punctuation, emoticons and non-standard spelling are frequent, while formal edited prose is under-represented. The model inherits both that domain skew and the social biases of the bert-base-uncased pre-training corpus (BookCorpus and English Wikipedia), which is known to encode gender, ethnic and occupational stereotypes. Nothing here mitigates or measures them.
  • Single seed. Every number on this card comes from one run with seed 42. No variance estimate exists, so a difference of roughly one point against another configuration must be read as noise rather than as an improvement.
  • Subsampling. Training used 12,544 examples (hyperparams.train_size). Parsed directly from the official CoNLL-U files of UD English-EWT instead of the universal_dependencies dataset, which is a loading script and therefore no longer loads under datasets >= 4.0. Same treebank, same tag set, same splits.
  • Sequence truncation. Inputs were truncated to 128 tokens; longer inputs lose their tail at inference too.
  • Frozen-encoder caveat (feature-based models only). Not applicable: this model was fine-tuned, so the encoder weights moved.
  • Only a validation (and where available test) split was measured. No robustness, adversarial, out-of-domain or fairness evaluation was performed.

Environmental and compute footprint

Hardware1 × Tesla T4 (Google Colab), CUDA 12.8
Training wall time149.6 s (~2.5 min) over 1,176 steps
Seconds per step0.127
Peak GPU memory3073.1 MB
Softwaretransformers 5.16.1 · torch 2.11.0+cu128 · datasets 4.8.5
Run timestamp2026-09-25T07:59:36

A single short fine-tuning run on one T4 is a small footprint in absolute terms, and that is the point of this assignment: the cost-versus-quality table in the companion report shows how much of the quality survives when only a fraction of the parameters is trained, which is the part that scales. No CO₂e figure is claimed here, because the energy mix of the Colab region is unknown.

References and citation

  • Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. NAACL-HLT. arXiv:1810.04805. Section 5.3 is the feature-based versus fine-tuning comparison this model is part of.
  • Silveira, N. et al. (2014). A Gold Standard Dependency Corpus for English. LREC. (English Web Treebank / UD English-EWT.)
  • Tunstall, L., von Werra, L., & Wolf, T. (2022). Natural Language Processing with Transformers, chapters 1–3. O'Reilly.
  • Hugging Face, Fine-tuning a pretrained model: https://huggingface.co/docs/transformers/training
@inproceedings{devlin2019bert,
  title     = {BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding},
  author    = {Devlin, Jacob and Chang, Ming-Wei and Lee, Kenton and Toutanova, Kristina},
  booktitle = {Proceedings of NAACL-HLT},
  pages     = {4171--4186},
  year      = {2019},
  url       = {https://arxiv.org/abs/1810.04805}
}

Cite this adapted model as:

@misc{u2t01_pos_full,
  title  = {BERT adapted to part-of-speech tagging (Universal Dependencies, 17 UPOS tags) — full fine-tuning},
  author = {U2T01 team},
  year   = {2026},
  note   = {U2T01: Adapting BERT for NLP tasks. Adaptation method: full. Seed 42.},
  url    = {https://huggingface.co/abelcetina/u2t01-bert-ud-ewt-pos}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей