This video goes through the paper Program-aided Language Models and shows how it is implemented in LangChain and what you can do with it. To access all the code please use the Colab link below. Let me know in the comments what other videos you would like to see.
Colab:[drp.li/cdhf2](drp.li/cdhf2)
PAL Paper website: reasonwithpal.com/
PAL Paper: arxiv.org/abs/2211.10435
120 Math Word Problems: www.prodigygame.com/main-en/b...
My Links:
Twitter - / sam_witteveen
Linkedin - / samwitteveen
Github:
github.com/samwit/langchain-t...
github.com/samwit/llm-tutorials
00:00 PAL Paper
02:35 PAL example prompts in the paper
04:52 Paper Results vs CoT & Direct prompting
05:37 Sample Outputs
07:34 Code Walkthrough
09:35 PAL LangChain PromptTemplate
11:57 GSM8k examples
12:55 Repeat Copy examples
14:06 Word Math Problems
16:00 Colored Objects
#LangChain #BuildingAppswithLLMs #python
2 авг 2024