DSPy GEPA Example: Listwise Reranker

Weaviate vector database · Beginner ·📄 Research Papers Explained ·8mo ago
Hey everyone! Thanks so much for watching this video exploring DSPy's GEPA optimizer to train a Listwise Reranker! Here is the link to the notebook from the video to follow along with: https://github.com/weaviate/recipes/blob/main/integrations/llm-agent-frameworks/dspy/GEPA-Hands-On-Reranker.ipynb Introduction to DSPy and Weaviate: https://www.youtube.com/watch?v=ickqCzFxWj0 Thanks so much for watching! ▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT WITH US ▬▬▬▬▬▬▬▬▬▬▬▬ • Visit weaviate.io • Star us on GitHub https://github.com/weaviate/weaviate • Stay updated and subscribe to our newsletter: https://newsletter.weaviate.io/ • Try out Weaviate Cloud Services for free here: https://console.weaviate.cloud/ Have questions? • Forum: https://forum.weaviate.io/ • Slack: https://weaviate.io/slack Connect with us on: • Twitter: https://twitter.com/weaviate_io • LinkedIn: https://www.linkedin.com/company/weaviate-io/ Chapters 0:00 GEPA! 4:40 Step 1: DSPy Program 7:45 Step 2: Load Dataset 11:45 Step 3: Metric with Feedback 13:00 Step 4: Run Unoptimized Eval 13:40 Step 5: GEPA Optimization 23:16 Step 6: Run Optimized Eval
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

#1 DevLog Meta-research: I Got Tired of Tab Chaos While Reading Research Papers.
Learn to manage research paper tabs efficiently and apply meta-research techniques to improve productivity
Dev.to AI
How to Set Up a Karpathy-Style Wiki for Your Research Field
Learn to set up a Karpathy-style wiki for your research field to organize and share knowledge effectively
Medium · AI
The Non-Optimality of Scientific Knowledge: Path Dependence, Lock-In, and The Local Minimum Trap
Scientific knowledge may be stuck in a local minimum, hindering optimal progress, and understanding this concept is crucial for advancing research
ArXiv cs.AI
How Archimedes Started: A Research Tool I Built for Myself
Learn how Archimedes started as a personal research tool to streamline the research process and reduce inefficiencies
Dev.to AI

Chapters (7)

GEPA!
4:40 Step 1: DSPy Program
7:45 Step 2: Load Dataset
11:45 Step 3: Metric with Feedback
13:00 Step 4: Run Unoptimized Eval
13:40 Step 5: GEPA Optimization
23:16 Step 6: Run Optimized Eval
Up next
How to Increase Search Impression Share | Impression Share EXPLAINED (Google Ads)
Max | Google Ads Nerd
Watch →