more notes
parent
60deee3bdf
commit
21f94433b2
|
@ -4,12 +4,16 @@ In this section, we discuss other miscellaneous but important topics in prompt e
|
||||||
|
|
||||||
**Note that this section is under construction.**
|
**Note that this section is under construction.**
|
||||||
|
|
||||||
|
## Program-Aided Language Models
|
||||||
|
[Gao et al., (2023)](https://arxiv.org/abs/2211.10435) presents a method that uses LLMs to read natural language problems and generate programs as the intermediate reasoning steps. Coined, program-aided language models (PAL), it differs from chain-of-thought prompting in that instead of using free-form text to obtain solution it offloads the solution step to a programmatic runtime such as a Python interpreter.
|
||||||
|
|
||||||
|
Full example coming soon!
|
||||||
|
|
||||||
---
|
---
|
||||||
## Multimodal Prompting
|
## Multimodal Prompting
|
||||||
In this section, we will cover some examples of multimodal prompting techniques and applications that leverage multiple modalities as opposed to just text alone.
|
In this section, we will cover some examples of multimodal prompting techniques and applications that leverage multiple modalities as opposed to just text alone.
|
||||||
|
|
||||||
More coming soon!
|
Examples coming soon!
|
||||||
|
|
||||||
---
|
---
|
||||||
## GraphPrompts
|
## GraphPrompts
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 1,
|
"execution_count": 3,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [
|
"outputs": [
|
||||||
{
|
{
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
"True"
|
"True"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"execution_count": 1,
|
"execution_count": 3,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"output_type": "execute_result"
|
"output_type": "execute_result"
|
||||||
}
|
}
|
||||||
|
@ -64,6 +64,7 @@
|
||||||
"import openai\n",
|
"import openai\n",
|
||||||
"import os\n",
|
"import os\n",
|
||||||
"import IPython\n",
|
"import IPython\n",
|
||||||
|
"from langchain.llms import OpenAI\n",
|
||||||
"from dotenv import load_dotenv\n",
|
"from dotenv import load_dotenv\n",
|
||||||
"load_dotenv()"
|
"load_dotenv()"
|
||||||
]
|
]
|
||||||
|
@ -541,7 +542,7 @@
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"kernelspec": {
|
"kernelspec": {
|
||||||
"display_name": "minprompts",
|
"display_name": "promptlecture",
|
||||||
"language": "python",
|
"language": "python",
|
||||||
"name": "python3"
|
"name": "python3"
|
||||||
},
|
},
|
||||||
|
@ -555,12 +556,12 @@
|
||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.9.15"
|
"version": "3.9.16"
|
||||||
},
|
},
|
||||||
"orig_nbformat": 4,
|
"orig_nbformat": 4,
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"interpreter": {
|
"interpreter": {
|
||||||
"hash": "872fbaa170678d9803e866eb8aab13838cd416716b835df572a04d4d73e81a04"
|
"hash": "f38e0373277d6f71ee44ee8fea5f1d408ad6999fda15d538a69a99a1665a839d"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue