Back to Search Start Over

Implementation of language models within an infrastructure designed for Natural Language Processing

Authors :
Bartosz Walkowiak
Tomasz Walkowiak
Source :
International Journal of Electronics and Telecommunications, Vol vol. 70, Iss No 1 (2024)
Publication Year :
2024
Publisher :
Polish Academy of Sciences, 2024.

Abstract

This paper explores cost-effective alternatives for resource-constrained environments in the context of language models by investigating methods such as quantization and CPUbased model implementations. The study addresses the computational efficiency of language models during inference and the development of infrastructure for text document processing. The paper discusses related technologies, the CLARIN-PL infrastructure architecture, and implementations of small and large language models. The emphasis is on model formats, data precision, and runtime environments (GPU and CPU). It identifies optimal solutions through extensive experimentation. In addition, the paper advocates for a more comprehensive performance evaluation approach. Instead of reporting only average token throughput, it suggests considering the curve’s shape, which can vary from constant to monotonically increasing or decreasing functions. Evaluating token throughput at various curve points, especially for different output token counts, provides a more informative perspective.

Details

Language :
English
ISSN :
20818491 and 23001933
Volume :
. 70
Issue :
1
Database :
Directory of Open Access Journals
Journal :
International Journal of Electronics and Telecommunications
Publication Type :
Academic Journal
Accession number :
edsdoj.59a67916cf54698846de0429a816574
Document Type :
article
Full Text :
https://doi.org/10.24425/ijet.2024.149525