<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Text and Code Embeddings by Contrastive Pre-Training · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2201.10005/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/2201.10005/feed.xml" rel="self" type="application/rss+xml" /><item><title>Text and Code Embeddings by Contrastive Pre-Training — mentioned by heliophobicdude</title><link>https://news.ycombinator.com/item?id=35803025</link><guid isPermaLink="false">urn:hackerpapers:mention:2201.10005:35803025</guid><pubDate>Wed, 03 May 2023 14:45:58 GMT</pubDate><description>&lt;p&gt;Hi Jason! I have a few thoughts on this! Refined training is usually updating the weights of usually what&amp;#x27;s called a foundational model with well structured and numerous data. It&amp;#x27;s very expensive and can disrupt the usefulness of having all the generalizations baked in from training data [1]. While LLMs can generate text based on a wide range of inputs, they&amp;#x27;re not designed to retrieve specific pieces of information in the same way that a database or a search engine would. But I do think they hold a lot of promise in reasoning. Small corollary: LLMs do not know a head of time what they are…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2201.10005/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Text and Code Embeddings by Contrastive Pre-Training — mentioned by roknovosel</title><link>https://news.ycombinator.com/item?id=32522475</link><guid isPermaLink="false">urn:hackerpapers:mention:2201.10005:32522475</guid><pubDate>Fri, 19 Aug 2022 15:45:52 GMT</pubDate><description>&lt;p&gt;Great read, thanks for sharing. Would love to see the natural language + code mixed in there :) I&amp;#x27;ve been interested in contrastive learning for a while, mainly as a means to train semantic code search models. OpenAI released a great paper on this topic called Text and Code Embeddings by Contrastive Pre-Training[1] that outlines the approach. I&amp;#x27;ve used it as a base to build https://codesearch.ai [2] with pretty good results. [1] https://arxiv.org/pdf/2201.10005.pdf [2] https://sourcegraph.com/notebooks/Tm90ZWJvb2s6MTU1OQ==&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2201.10005/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item></channel></rss>
