One Size Does Not Fit All: Finding the Optimal N-gram Sizes for FastText Models across Languages

02/04/2021
by   Vít Novotný, et al.
0

Unsupervised word representation learning from large corpora is badly needed for downstream tasks such as text classification, information retrieval, and machine translation. The representation precision of the fastText language models is mostly due to their use of subword information. In previous work, the optimization of fastText subword sizes has been largely neglected, and non-English fastText language models were trained using subword sizes optimized for English and German. In our work, we train English, German, Czech, and Italian fastText language models on Wikipedia, and we optimize the subword sizes on the English, German, Czech, and Italian word analogy tasks. We show that the optimization of subword sizes results in a 5 that computationally expensive hyperparameter optimization can be replaced with cheap n-gram frequency analysis: subword sizes that are the closest to covering 3.76 fastText hyperparameters on the English, German, Czech, and Italian word analogy tasks.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/03/2020

GottBERT: a pure German Language Model

Lately, pre-trained language models advanced the field of natural langua...
research
12/13/2021

WECHSEL: Effective initialization of subword embeddings for cross-lingual transfer of monolingual language models

Recently, large pretrained language models (LMs) have gained popularity....
research
05/22/2023

Language Models for German Text Simplification: Overcoming Parallel Data Scarcity through Style-specific Pre-training

Automatic text simplification systems help to reduce textual information...
research
04/19/2023

Low-resource Bilingual Dialect Lexicon Induction with Large Language Models

Bilingual word lexicons are crucial tools for multilingual natural langu...
research
12/05/2015

PJAIT Systems for the IWSLT 2015 Evaluation Campaign Enhanced by Comparable Corpora

In this paper, we attempt to improve Statistical Machine Translation (SM...
research
08/22/2018

A syllable based model for handwriting recognition

In this paper, we introduce a new modeling approach of texts for handwri...
research
05/20/2023

Revisiting Entropy Rate Constancy in Text

The uniform information density (UID) hypothesis states that humans tend...

Please sign up or login with your details

Forgot password? Click here to reset