DSPy: Building Self-Improving Language Model Pipelines - Beyond LangChain Templates
Discover AI via YouTube
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn to develop and optimize intelligent pipelines for large language models in this comprehensive 53-minute tutorial that explores DSPy as an alternative to LangChain prompt templates. Master the implementation of self-improving LLM-RM pipelines and automatic prompt engineering through graph-based pipeline representations. Dive into pipeline architecture, examining how to integrate LLMs, retriever models, and data models for self-configuration and optimization. Explore experimental analyses from Stanford University comparing various prompt structures, optimization strategies, and Microsoft's 2024 study on RAG versus fine-tuning methods. Discover advanced techniques in pipeline self-optimization, including automatic prompt generation and DSPy integration with PyTorch, drawing from collaborative research by Stanford, UC Berkeley, Microsoft, Carnegie Mellon University, and Amazon. Access practical implementations through provided GitHub repositories and notebook examples that demonstrate DSPy's capabilities in creating efficient, self-improving language model pipelines.
Syllabus
DSPy explained: No more LangChain PROMPT Templates
Taught by
Discover AI