Prompt Engineering and LLMOps: Tips and Tricks

Subscribers:
5,330
Published on ● Video Link: https://www.youtube.com/watch?v=1Pao2ie4OG8



Duration: 1:07:12
335 views
8


Here, I share some tips and tricks I have for a new emerging field of LLMOps - Interfacing LLMs in a systems-level approach. This has powered emerging frameworks such as AutoGPT and BabyAGI. I also share some tips I have for prompt engineering, including zero-shot, few-shot and conditional generation on earlier prompts.

~~~~~~~~~~~~~~~~~~~~~~~~~~~

References:

Slides: https://github.com/tanchongmin/TensorFlow-Implementations/blob/main/Paper_Reviews/Prompt%20Engineering.pdf
Generative Agents: https://arxiv.org/abs/2304.03442
Paper which Ze Yu mentioned about LLMs (The False Promise of Imitating Proprietary LLMs): https://arxiv.org/pdf/2305.15717.pdf
BabyAGI: https://github.com/yoheinakajima/babyagi
Gandalf Game: https://gandalf.lakera.ai/
Zero-shot prompting: https://www.youtube.com/watch?v=C0Eug9XpcBo
ARC Challenge: https://www.youtube.com/watch?v=vt2yG1da8Fg

~~~~~~~~~~~~~~~~~~~~~~~~~~~

0:00 Introduction
1:07 LLMs vs Computer Programs
15:13 Key benefits of LLMs
16:18 Systems-level approach to LLMs
19:32 BabyAGI
24:50 Gandalf Game
28:05 Zero-shot prompting
35:00 Few-shot prompting
43:12 How to program intent?
46:25 Consistent Output
55:20 Asking LLM to fill up outputs
56:07 Memory to augment context (as API, or by repeating regularly via prompt)
57:41 Sequential Prompting
1:00:58 Breakdown of Prompt for Court Simulator Game



~~~~~~~~~~~~~~~~~~~~~~~~~~~

AI and ML enthusiast. Likes to think about the essences behind breakthroughs of AI and explain it in a simple and relatable way. Also, I am an avid game creator.

Discord: https://discord.gg/bzp87AHJy5
LinkedIn: https://www.linkedin.com/in/chong-min-tan-94652288/
Online AI blog: https://delvingintotech.wordpress.com/
Twitter: https://twitter.com/johntanchongmin
Try out my games here: https://simmer.io/@chongmin




Other Videos By John Tan Chong Min


2023-07-11I-JEPA: Importance of Predicting in Latent Space
2023-07-09Gen AI Study Group Introductory Tutorial - Transformers, ChatGPT, Prompt Engineering, Projects
2023-07-03Tutorial #5: Strict JSON LLM Framework - Get LLM to output JSON exactly the way you want it!
2023-07-01Tutorial #4: SymbolicAI ChatBot In-Depth Demonstration (Tool Use and Iterative Processing)
2023-06-29How do we learn so fast? Towards a biologically plausible model for one-shot learning.
2023-06-20LLMs as a system to solve the Abstraction and Reasoning Corpus (ARC) Challenge!
2023-06-16Tutorial #3: Symbolic AI - Symbols, Operations, Expressions, LLM-based functions!
2023-06-13No more RL needed! LLMs for high-level planning: Voyager + Ghost In the Minecraft
2023-06-06Voyager - An LLM-based curriculum generator, actor and critic, with skill reuse in Minecraft!
2023-06-01Evolution ChatGPT Prompt Game - From Bacteria to.... Jellyfish???
2023-05-30Prompt Engineering and LLMOps: Tips and Tricks
2023-05-25Hierarchy! The future of AI: How it helps representations and why it is important.
2023-05-18Prediction builds representations! Fixed Bias speeds up learning!
2023-05-09Memory: How is it encoded, retrieved and how it can be used for learning systems
2023-05-02I created a Law Court Simulator with GPT4!
2023-05-02I created a Law Court Simulator with ChatGPT!
2023-04-25Creating a ChatGPT Harry Potter Text-based RPG game!
2023-04-25Learn from just Memory Storage and Retrieval: Generative Agents Interacting in Simulation!
2023-04-18The future is neuro-symbolic: Expressiveness of ChatGPT and generalizability of symbols (SymbolicAI)
2023-04-17Can GPT4 solve the Abstraction and Reasoning Corpus (ARC) Challenge Zero-Shot?
2023-04-12GPT4: Zero-shot Classification without any examples + Fine-tune with reflection