paper-with-me

Papers

Text vectorization via transformer-based language models and n-gram perplexities

2023-07-18 · Mihailo Škorić

As the probability (and thus perplexity) of a text is calculated based on the product of the probabilities of individual tokens, it may happen that one unlikely token significantly reduces the probability (i.e., increase the perplexity) of some otherwise highly probable input, while potentially representing a simple typographical error. Also, given that perplexity is a scalar value that refers to the entire input, information about the probability distribution within it is lost in the calculation (a relatively good text that has one unlikely token and another text in which each token is equally likely they can have the same perplexity value), especially for longer texts. As an alternative to scalar perplexity this research proposes a simple algorithm used to calculate vector values based on n-gram perplexities within the input. Such representations consider the previously mentioned aspects, and instead of a unique value, the relative perplexity of each text token is calculated, and these values are combined into a single vector representing the input.

📄 PDF Abstract BibTeX arXiv:2307.09255

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

TransfoRNN: Capturing the Sequential Information in Self-Attention Representations for Language Modeling

2021-04-04 · Tze Yuang Chong, Xuyang Wang, Lin Yang, Junjie Wang

In this paper, we describe the use of recurrent neural networks to capture sequential information from the self-attention representations to improve the Transformers. Although self-attention mechanism provides a means to…

Language ModelingLanguage Modellingspeech-recognitionSpeech Recognition

Character n-gram Embeddings to Improve RNN Language Models

2019-06-13 · Sho Takase, Jun Suzuki, Masaaki Nagata

This paper proposes a novel Recurrent Neural Network (RNN) language model that takes advantage of character information. We focus on character n-grams based on research in the field of word embedding construction (Wietin…

Headline GenerationLanguage ModelingLanguage ModellingMachine Translation+2

Scaling Recurrent Neural Network Language Models

2015-02-02 · Will Williams, Niranjani Prasad, David Mrva, Tom Ash 외

This paper investigates the scaling properties of Recurrent Neural Network Language Models (RNNLMs). We discuss how to train very large RNNs on GPUs and address the questions of how RNNLMs scale with respect to model siz…

Language ModellingMachine TranslationTranslation

Performance Evaluation of General Purpose Large Language Models for Basic Linear Algebra Subprograms Code Generation

2025-07-07 · Daichi Mukunoki, Shun-ichiro Hayashi, Tetsuya Hoshino, Takahiro Katagiri arxiv

Generative AI technology based on Large Language Models (LLM) has been developed and applied to assist or automatically generate program codes. In this paper, we evaluate the capability of existing general LLMs for Basic…

Code Generation

Language Models with Transformers

2019-04-20 · arXiv 2019 10 · Chenguang Wang, Mu Li, Alexander J. Smola

The Transformer architecture is superior to RNN-based models in computational efficiency. Recently, GPT and BERT demonstrate the efficacy of Transformer models on various NLP tasks using pre-trained language models on la…

Computational EfficiencyLanguage ModelingLanguage ModellingNeural Architecture Search