2

Semantic Search with LLMs

Introduction

In Chapter 1, we explored the inner workings of language models and the impact that modern LLMs have had on NLP tasks like text classification, generation, and machine translation. Another powerful application of LLMs has also been gaining traction in recent years: semantic search.

Now, you might be thinking that it’s time to finally learn the best ways to talk to ChatGPT and GPT-4 to get the optimal results—and we’ll start to do that in the next chapter, I promise. In the meantime, I want to show you what else we can build on top of this novel Transformer architecture. While text-to-text generative models like GPT are extremely impressive in their own right, one of the most versatile solutions that ...

Get Quick Start Guide to Large Language Models: Strategies and Best Practices for Using ChatGPT and Other LLMs now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.