Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Update README.md

Omar Khattab49a8ab5d598e
diff --git a/README.md b/README.md
index 276f0850f..5c3a79398 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ Once you're happy with things, DSP can *compile* your DSP program into a tiny LM
 
<p align="center">
- <img align="center" src="docs/images/DSP-tasks.png" width="430px" />
+ <img align="center" src="docs/images/DSP-tasks.png" width="460px" />
</p>
<p align="left">
<b>Figure 1:</b> A comparison between three GPT3.5-based systems. The LM often makes false assertions, while the popular retrieve-then-read pipeline fails when simple search can’t find an answer. In contrast, a task-aware DSP program systematically decomposes the problem and produces a correct response. Texts edited for presentation.
@@ -31,7 +31,7 @@ Once you go through the notebook, you'll be ready to create your own DSP pipelin
&nbsp;
<p align="center">
- <img align="center" src="docs/images/DSP-example.png" width="750px" />
+ <img align="center" src="docs/images/DSP-example.png" width="850px" />
</p>
<p align="left">
<b>Figure 2:</b> A DSP program for multi-hop question answering, given an input question and a 2-shot training set. The Demonstrate stage programmatically annotates intermediate transformations on the training examples. Learning from the resulting demonstration, the Search stage decomposes the complex input question and retrieves supporting information over two hops. The Predict stage uses the retrieved passages to answer the question.