Training BERT Models to Carry Over a Coding System Developed on One Corpus to Another
Not on the map. Why?
Abstract (arXiv)
This paper describes how we train BERT models to carry over a coding system developed on the paragraphs of a Hungarian literary journal to another. The aim of the coding system is to track trends in the perception of literary translation around the political transformation in 1989 in Hungary. To evaluate not only task performance but also the consistence of the annotation, moreover, to get better predictions from an ensemble, we use 10-fold crossvalidation. Extensive hyperparameter tuning is used to obtain the best possible results and fair comparisons. To handle label imbalance, we use loss functions and metrics robust to it. Evaluation of the effect of domain shift is carried out by sampling a test set from the target domain. We establish the sample size by estimating the bootstrapped confidence interval via simulations. This way, we show that our models can carry over one annotation system to the target domain. Comparisons are drawn to provide insights such as learning multilabel correlations and confidence penalty improve resistance to domain shift, and domain adaptation on OCR-ed text on another domain improves performance almost to the same extent as that on the corpus under study. See our code at https://codeberg.org/zsamboki/bert-annotator-ensemble.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 56 references that are in the map. First posted on arXiv 7 Aug 2023.
Builds on
14 of 56 references.
References · 14
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,166
- 2016Enriching Word Vectors with Subword Informationcited by 1,583
- 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 989
- 2016Bag of Tricks for Efficient Text Classificationcited by 876
- 2019Quantifying the Carbon Emissions of Machine Learningcited by 521
- 2017Regularizing Neural Networks by Penalizing Confident Output Distributionscited by 464
- 2017Population Based Training of Neural Networkscited by 367
- 2016Imbalanced-learn: A Python Toolbox to Tackle the Curse of Imbalanced Datasets in Machine Learningcited by 195
- 2019On the adequacy of untuned warmup for adaptive optimizationcited by 35
Built on by
Not cited yet.