<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Contrastive Learning on Nalar</title>
    <link>https://nalar.dev/tags/contrastive-learning/</link>
    <description>Recent content in Contrastive Learning on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 04 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/contrastive-learning/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Understand Contrastive Learning with Positive and Negative Pairs</title>
      <link>https://nalar.dev/understand-contrastive-learning-with-positive-and-negative-pairs/</link>
      <pubDate>Fri, 04 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/understand-contrastive-learning-with-positive-and-negative-pairs/</guid>
      <description>&lt;p&gt;An embedding model turns an input into a vector so that useful relationships can be measured numerically. The difficult part is not producing vectors. It is teaching the geometry of the vector space: which inputs should be close, which should be far apart, and what &amp;ldquo;similar&amp;rdquo; should mean for the application.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Contrastive learning&lt;/strong&gt; provides a practical answer. Instead of training only from a class label such as &lt;code&gt;billing&lt;/code&gt; or &lt;code&gt;technical support&lt;/code&gt;, it trains from relationships between examples. A &lt;strong&gt;positive pair&lt;/strong&gt; contains examples that should have similar representations. A &lt;strong&gt;negative pair&lt;/strong&gt; contains examples that should not.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
