2min snip

Latent Space: The AI Engineer Podcast cover image

Mapping the future of *truly* Open Models and Training Dolly for $30 — with Mike Conover of Databricks

Latent Space: The AI Engineer Podcast

NOTE

The Evolution of Langchain Models

The models used in Langchain are excellent because they can provide a gradient for learning without any consequences. However, one limitation is that these models cannot die or break an arm, which means they don't have any consequences for their suggestions. In the future, it would be interesting to see if models could be punished or have consequences for generating incorrect or inappropriate content. One advantage of Langchain models is that they can recognize when they are wrong. By asking the model to evaluate its own generated utterance, it can determine if it is correct or not. This is possible due to the attention weights, which allow the model to attend to the entire passage. In contrast, for next token prediction, the model can only see the prefix and make stochastic choices with no preference for factuality. When the model is evaluated on the complete generated passage, it can attend to all tokens simultaneously, making it easier to assess correctness. This insight highlights the benefit of attention weights and how they improve the model's ability to recognize its own mistakes.

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