Papillon
Please refer to this tutorial from the PAPILLON authors using DSPy.
Content
Please refer to this tutorial from the PAPILLON authors using DSPy.
This tutorial demonstrates a few aspects of using DSPy in a more advanced context:
- It builds a multi-stage
dspy.Modulethat involves a small local LM using an external tool. - It builds a multi-stage _judge_ in DSPy, and uses it as a metric for evaluation.
- It uses this judge for optimizing the
dspy.Module, using a large model as a teacher for a small local LM.
Source and license
- Source
- DSPy
- Original
- stanfordnlp/dspy/docs/docs/tutorials/papillon
- License
- MIT