STUDY OF MODERN METHODS OF LANGUAGE MODELING FOR A LANGUAGE WITH A COMPLEX MORPHOLOGICAL STRUCTURE
DOI:
https://doi.org/10.32014/2023.2518-1726.209Keywords:
language modeling, Kazakh language, n-gram, BERT, GPT, LSTMAbstract
This scientific paper presents a comparative analysis of contemporary language modeling methods and their application to the Kazakh language, which is characterized by its complex morphological structure. Language modeling involves training machine learning models to predict word probabilities within a given context. The primary focus of this study is the investigation of the BERT model (Bidirectional Encoder Representations from Transformers) and its effectiveness in modeling languages with diverse morphological patterns. The article provides an overview of n-gram models and recurrent neural networks, highlighting their limitations in capturing long-term dependencies and semantic relationships in text. Then the BERT model, its architecture and principles of operation, including attention mechanisms and multi-level Transformer blocks, are considered. The following are the results of the study, including the adaptation of the BERT model to languages with a complex morphological structure, including Kazakh. It is shown that the BERT model demonstrates high accuracy in modeling contextual dependencies and semantic relationships between words in such languages. the article emphasizes the importance and prospects of applying modern methods of language modeling, especially the BERT model, for languages with a complex morphological structure. She also points out the need for further research in the field of adaptation of the BERT model to specific languages, the development of new architectures and methods, as well as solving the challenges associated with rare and sparsely spoken languages, the results of this study will help improve the understanding and effectiveness of language processing of text in the Kazakh language, and also contribute to the development of the NLP field as a whole.




