Evaluating Contextualized Language Models for Hungarian
Official code: juditacs/hubert_eval (4 stars, Jupyter Notebook, MIT, last commit 2022-09-14).
Abstract
We present an extended comparison of contextualized language models for Hungarian. We compare huBERT, a Hungarian model against 4 multilingual models including the multilingual BERT model.
Show full abstractHide
We evaluate these models through three tasks, morphological probing, POS tagging and NER. We find that huBERT works better than the other models, often by a large margin, particularly near the global optimum (typically at the middle layers). We also find that huBERT tends to generate fewer subwords for one word and that using the last subword for token-level tasks is generally a better choice than using the first one.