generated from hsiangjenli/academic-reading-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3bc83dc
commit bf8a7f1
Showing
17 changed files
with
613 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: ce0b4f37b7613ee54bc102c2df0fb432 | ||
config: f88da4068ace9218541ef2133e54e552 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
DSPy: Programming—not prompting—Foundation Models | ||
================================================= | ||
|
||
Full name of DSPy is DSPy "Declarative Self-improving Language Programs (in Python)" | ||
|
||
Developed by Stanford NLP | ||
|
||
- :cite:`khattab2023dspy` | ||
- :cite:`khattab2022demonstrate` | ||
|
||
Contributions | ||
------------- | ||
#. separate program from parameters | ||
#. new optimizer, which is LM-driven and can be used to optimize prompt and weights | ||
|
||
|
||
:cite:`medium_bc_dspy` | ||
|
||
LLMs are sensitive to how they are prompted :cite:`towardsdatascienceIntroDSPy` | ||
|
||
Key concept is "programming with foundation models" :cite:`towardsdatascienceIntroDSPy` | ||
|
||
|
||
How to use DSPy :cite:`dspydocsUsingDSPy` | ||
----------------------------------------- | ||
|
||
#. Define your task | ||
#. Define your pipeline | ||
#. Explore a few examples (Simply run the code and see the results) | ||
#. Define data | ||
#. Define metric | ||
#. Collect data | ||
#. Set up the optimizer | ||
#. Train |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ Note LLM | |
:maxdepth: 1 | ||
|
||
llm/* | ||
dspy/* | ||
|
||
.. toctree:: | ||
:glob: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.