3min snip

Weaviate Podcast cover image

RAGKit with Kyle Davis - Weaviate Podcast #93!

Weaviate Podcast

NOTE

Using Perplexity Score for Document Quality Assessment in Re-ranking

Implementing a re-ranker involves sending one chunk at a time with the initial query to a large language model to obtain log likelihoods of each token and calculate perplexity. A high perplexity indicates confusion and uncertainty in the language model, whereas a low perplexity signifies confidence in generating tokens. A good perplexity score suggests a high-quality document that assists the language model in generating a confident answer. This heuristic can be applied with various models to determine document quality in re-ranking, focusing on perplexity rather than the actual answer itself.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode