40% Off Career-Building Certificates
AI Engineer - Learn how to integrate AI into software applications
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to leverage DSPy for automated prompt engineering to transform mediocre baselines into high-performing machine learning pipelines through this 18-minute tutorial. Discover how to use a powerful "prompt model" to teach smaller, faster "task models" to excel at financial sentiment analysis by automatically optimizing prompts rather than manually crafting them. Explore the fundamentals of DSPy and its approach to prompt optimization, then dive into hands-on implementation starting with notebook setup and baseline evaluation of a financial news semantic analysis system. Progress through the complete workflow of prompt optimization techniques that can significantly improve model performance without requiring extensive manual prompt engineering. Master the practical application of DSPy's automated optimization capabilities to enhance your natural language processing pipelines for financial data analysis and sentiment classification tasks.
Syllabus
00:00 - What is DSPy?
02:44 - Notebook setup
06:41 - Baseline evaluation
11:45 - Prompt optimization
Taught by
Venelin Valkov