Related Experiment Video
Updated: Jan 7, 2026

03:14
Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
983
Transformer and Pre-Transformer Model-Based Sentiment Prediction with Various Embeddings: A Case Study on Amazon
Ismail Duru1, Ayşe Saliha Sunar2,3
1R&D Department, Türk Telekom, Ankara 06103, Turkey.
Entropy (Basel, Switzerland)
|December 24, 2025
Summary
This study compares sentiment analysis models, finding transformer-based approaches like DistilBERT offer superior accuracy and confidence. FastText embeddings also show strong performance, especially for recall, in various models.
Area of Science:
- Natural Language Processing
- Artificial Intelligence
- Machine Learning
Background:
- Sentiment analysis is crucial for consumer insights but faces challenges with ambiguous language and varied data.
- Selecting optimal models and embeddings for sentiment classification remains difficult.
Purpose of the Study:
- To comprehensively evaluate sentiment classification models across traditional, deep learning, and transformer paradigms.
- To compare static (GloVe, FastText) and contextual (BERT, DistilBERT) embeddings.
- To introduce an entropy-aware framework for model selection.
Main Methods:
- Comparative analysis of machine learning, deep learning (LSTM), and transformer models.
- Evaluation of static and transformer embeddings on Amazon datasets.
- Use of accuracy, precision, recall, F1-score, and cross-entropy for performance measurement.
- Qualitative analysis of misclassified samples.
Main Results:
- FastText embeddings outperform GloVe, especially in recall, due to subword information.
- Transformer models, particularly DistilBERT, achieve the highest accuracy (92%) and lowest cross-entropy (0.25).
- Results validated on a second dataset, showing consistent trends.
Conclusions:
- Transformer models, especially DistilBERT, provide well-calibrated and accurate sentiment predictions.
- The proposed entropy-aware framework supports informed, context-sensitive model selection.
- Findings contribute to advancing sentiment analysis and sustainable AI practices.
Related Concept Videos
Transformers
1.7K
A device that transforms voltages from one value to another using induction is called a transformer. A transformer consists of two separate coils, or windings, wrapped around the same soft iron core. However, they are electrically insulated from each other.
The iron core has a substantial relative permeability. Therefore, the magnetic field lines generated due to the current in one winding are almost entirely confined within the core, such that the same magnetic flux permeates each turn of both...
The iron core has a substantial relative permeability. Therefore, the magnetic field lines generated due to the current in one winding are almost entirely confined within the core, such that the same magnetic flux permeates each turn of both...
1.7K
Types Of Transformers
1.4K
Transformers can provide desired voltages to a circuit by modifying the number of turns in the secondary windings.
If the ratio of the number of turns in the secondary winding to that of the primary winding is greater than one, then the transformer is said to be a step-up transformer. In a step-up transformer, the voltage at the secondary winding is greater than the voltage applied at the primary winding.
However, if this ratio is less than one, the transformer is said to be a step-down...
If the ratio of the number of turns in the secondary winding to that of the primary winding is greater than one, then the transformer is said to be a step-up transformer. In a step-up transformer, the voltage at the secondary winding is greater than the voltage applied at the primary winding.
However, if this ratio is less than one, the transformer is said to be a step-down...
1.4K
Energy Losses in Transformers
1.3K
In an ideal transformer, it is assumed that there are no energy losses, and, hence, all the power at the primary winding is transferred to the secondary winding. However, in reality, the transformers always have some energy losses, and, hence, the output power obtained at the secondary winding is less than the input power at the primary winding due to energy losses.
There are four main reasons for energy losses in transformers.
The first cause can be the high resistance of the...
There are four main reasons for energy losses in transformers.
The first cause can be the high resistance of the...
1.3K
Transformers with Off-Nominal Turns Ratios
490
In scenarios involving parallel transformers with disparate ratings, developing per-unit models requires accommodating off-nominal turns ratios. This situation arises when the selected base voltages are not proportional to the transformer’s voltage ratings. Consider a transformer where the rated voltages are related by the term a. If the chosen voltage bases satisfy a relationship involving term b, term c is defined as the ratio of these bases. This ratio is then substituted into the...
490
The Ideal Transformer
1.3K
In single-phase two-winding transformers, two windings are coiled around a magnetic core characterized by cross-sectional area A and magnetic permeability μ. A phasor current i1 enters the left winding while i2 exits the right winding, establishing the fundamental working of the transformer through electromagnetic principles.
Ampere's Law forms the basis of understanding the magnetic field within the transformer. It states that the integral of the magnetic field intensity's tangential...
Ampere's Law forms the basis of understanding the magnetic field within the transformer. It states that the integral of the magnetic field intensity's tangential...
1.3K
Transformers in Distribution System
470
Transformers in distribution systems can be broadly categorized into distribution substation transformers and other distribution transformers. They are crucial for stepping down high transmission voltages to levels suitable for distribution and end-user applications.
Distribution substation transformers come in various ratings and typically use mineral oil for insulation and cooling. To prevent moisture and air from entering the oil, some transformers use an inert gas like nitrogen to fill the...
Distribution substation transformers come in various ratings and typically use mineral oil for insulation and cooling. To prevent moisture and air from entering the oil, some transformers use an inert gas like nitrogen to fill the...
470