"Fine-Tuning Your Embeddings and Breaking Free from News Consumption"


Hatched by Glasp

Sep 08, 2023

3 min read


"Fine-Tuning Your Embeddings and Breaking Free from News Consumption"


In this article, we will explore two seemingly unrelated topics - fine-tuning embeddings for better similarity search and the detrimental effects of excessive news consumption. However, as we delve deeper, we will uncover commonalities between these subjects and discover actionable advice to improve our labeling workflow and overall quality of life.

Fine-Tuning Your Embeddings for Better Similarity Search:

To appreciate the benefits of fine-tuning embeddings, it is essential to understand what embeddings are and how they are generated. Large language models (LLMs) are powerful tools that excel in various tasks, thanks to their architecture, training procedure, and access to extensive training data. However, while LLMs exhibit general proficiency, they often lack domain-specific expertise. This is where fine-tuning comes into play.

Fine-tuning allows us to adjust language models to better fit the domain of our data. Before embarking on the fine-tuning process, it is prudent to explore existing fine-tuned models in the Hugging Face model database. Once we have the appropriate model, we can focus on the task of similarity learning, which requires a defined similarity measure. For our purposes, similarity is determined by class labels.

By leveraging similarity group samples, we can train a mapping from one embedding to another. This involves using a pre-trained LLM as the encoder and adding a SkipConnectionHead on top to enhance performance. Our ultimate goal is to increase the number of records of the same class within a similarity labeling session. Through experimentation, we have observed that even with a small number of labeled records, fine-tuned embeddings outperform raw embeddings. This improvement can also benefit classifiers trained on similar data.

Actionable Advice:

  • 1. Determine the suitability of existing fine-tuned models before embarking on fine-tuning yourself.
  • 2. Utilize similarity group samples and a SkipConnectionHead to enhance the performance of your embeddings.
  • 3. Experiment with fine-tuning even with a small number of labeled records, as the benefits can be significant.

Why You Should Stop Reading News:

Now, let's shift our focus to the detrimental effects of news consumption. With the ease of distribution and reduced production costs, the quality of news has diminished while the quantity has skyrocketed. The quest for page views has shifted the focus from providing valuable information to generating controversy and shareability. As a result, most news articles we encounter today lack importance, relevance, and density of information.

When we detach ourselves from news consumption, we begin to notice the extent of misinformation that plagues those who are immersed in it. People tend to cherry-pick information to validate their opinions, relying on the printed opinions of others rather than seeking feedback from reality. By freeing ourselves from news, we embrace the humility of saying "I don't know" and prioritize critical thinking over regurgitation of others' thoughts.

Actionable Advice:

  • 1. Limit your exposure to news consumption and prioritize quality information over quantity.
  • 2. If you choose to read the news, focus on factual data rather than subjective opinions.
  • 3. Embrace silence and solitude, allowing space for independent thinking and personal reflection.


In conclusion, fine-tuning embeddings for better similarity search and breaking free from excessive news consumption may seem unrelated at first glance. However, both topics emphasize the importance of prioritizing quality over quantity, critical thinking over blind acceptance, and personal reflection over constant external stimulation. By implementing the actionable advice provided, we can enhance our labeling workflow, improve the quality of our decision-making, and ultimately lead more fulfilling lives.

Hatch New Ideas with Glasp AI 🐣

Glasp AI allows you to hatch new ideas based on your curated content. Let's curate and create with Glasp AI :)