DSPy GEPA Example: Listwise Reranker
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
More on: Paper Reproduction
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
#1 DevLog Meta-research: I Got Tired of Tab Chaos While Reading Research Papers.
Dev.to AI
How to Set Up a Karpathy-Style Wiki for Your Research Field
Medium · AI
The Non-Optimality of Scientific Knowledge: Path Dependence, Lock-In, and The Local Minimum Trap
ArXiv cs.AI
How Archimedes Started: A Research Tool I Built for Myself
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
🎓
Tutor Explanation
DeepCamp AI