~/talk

DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines

links:none on file
slides:none on file

DSPy provides a compiler that turns declarative signatures and parameterized modules into self-improving pipelines that automatically generate or fine-tune prompts and examples; compilation runs in minutes and lets GPT-3.5 and llama2-13b-chat self-bootstrap pipelines that outperform standard few‑shot prompting and expert-crafted demonstrations. Modules like retrieval, Chain of Thought and react become declarative modules whose examples and instructions the optimizer searches over; a compiled multihop program reaches the 50s (%) on Hotpot-style QA and a compiled <1B T5 scores 39% exact match. Code is open source on GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 0:30Context
  3. 2:33Modularity
  4. 4:56DSP Paradigm
  5. 7:49NLP Signatures
  6. 9:26Modules
  7. 11:36Task
  8. 12:33Prompt Template
  9. 13:49Chain of Thought
  10. 15:10Compiling
  11. 17:02Building a Pipeline
  12. 19:13Pipeline Design
  13. 21:26Compilation Strategies
  14. 21:38Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.