Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

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

Reviews

Start your review of DSPy: Building Self-Improving Language Model Pipelines - Beyond LangChain Templates

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.