DSPy: Building Self-Improving Language Model Pipelines - Beyond LangChain Templates
Discover AI via YouTube
Earn a Michigan Engineering AI Certificate — Stay Ahead of the AI Revolution
AI, Data Science & Cloud Certificates from Google, IBM & Meta
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
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