MLOps.community

DSPy: Transforming Language Model Calls into Smart Pipelines // Omar Khattab // #194

32 snips
Dec 5, 2023
Omar Khattab, PhD Candidate at Stanford, discusses DSPy, a programming model that optimizes language model pipelines. Topics include the drawbacks of prompt-based approaches, fine-tuning modules, retrieval-based NLP systems, BERT in pipelines, and the concept of fine tuning in language models.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

DSP's Early Days

  • Omar Khattab developed DSP's first version in February 2022, before the ChatGPT hype.
  • It aimed to abstract LLM pipelines, but users weren't building pipelines then, mostly making direct GPT-3 calls.
INSIGHT

Initial Complexity of DSP

  • DSP's initial versions required users to create complex "demonstrate" modules (compilers).
  • This complexity confused users, prompting a redesign.
ADVICE

DSP's Shift in Compiler Design

  • Instead of users creating compilers, DSP's developers now create them, simplifying user interaction.
  • Users leverage pre-built modules and abstractions, focusing on pipeline design.
Get the Snipd Podcast app to discover more snips from this episode
Get the app