<aside> 📄

Paper Text and Code Embeddings by Contrastive Pre-Training (cpt)

Authors Arvind Neelakantan, Tao Xu, et al., Lilian Weng (OpenAI)

Venue arXiv 2022.01

Links arXiv

Keywords Text Embedding Code Embedding Contrastive Pre-training Scale

</aside>

TL;DR

Contrastive pre-training on unsupervised data at scale — neighboring pieces of internet text as positives, in-batch negatives with very large batches — yields general-purpose text and code embeddings. The same embeddings set a new state-of-the-art on linear-probe classification and show strong semantic search, sometimes competitive with fine-tuned models.


1. Problem Definition

Task: Text (and code) embedding.

2. Method

3. Findings

4. Takeaways

<aside> 💭

5. Related Papers