ISSN 2738-0971 | eISSN 2738-1013

OPTIMIZATION OF TOKENIZATION AND MEMORY MANAGEMENT FOR PROCESSING LARGE TEXTUAL CORPORA IN MULTILINGUAL APPLICATIONS

Authors

Dejan Dodić
The Academy of Applied Technical and Preschool Studies, Department of Information - communication technologies, Niš, Department of Vranje, Serbia
Dušan Regodić
MB University, Faculty of Business and Law, Department of Advanced information technologies, Belgrade, Serbia
Nikola Milutinović
The Academy of Applied Technical and Preschool Studies, Department of Information - communication technologies, Niš, Department of Vranje, Serbia

Keywords

Tokenization optimization, Memory management, Large datasets, GPT-2, Serbian language, Transfer learning, Natural language processing (NLP)

Abstract

Optimization of tokenization and memory management in processing large datasets represents a key challenge in the contemporary development of language models. This paper focuses on enhancing the processing of large textual corpora in Serbian using the GPT-2 model, specifically adapted for transfer learning. Tokenization optimization was achieved by adding language-specific tokens for Serbian, while memory management was improved through advanced resource management methods during training. Key findings demonstrate significant memory consumption reduction and training process acceleration, enabling more efficient utilization of available computational resources. This research contributes to the development of language models tailored for the Serbian language and provides a foundation for further studies in the field of natural language processing (NLP). The implications of this work are multifaceted: it facilitates more efficient creation of NLP applications for Serbian-speaking regions, enhances the accuracy and performance of language models, and opens opportunities for applications across various domains, from automated translation to sentiment analysis. This study paves the way for future research focusing on additional optimization of language models, including adaptation for other languages with similar characteristics, as well as exploring new methods for even more efficient memory management during large-scale textual data processing.

Published
2025/02/06
Issue
Vol. 15 No. 1 (2025)
Pages
56-64.
Section
Original Scientific Paper

Cite this article

Checking

Citation styles are being prepared.