Week 5 - (part 2) Prompting Flashcards
What is GPT’s problem?
1) Bottleneck: token limit is at 8,192
2) There’s a hard limit on the input and output length
3) Training cut off date
How far can you push automation?
No code software - helpful because it helps lay people visualise and develop software, allows them to take advantage of the databases in the system
Getting over the hurdle of automation
Decomposing the problem and providing good prompts
What is a system prompt?
To establish a standardised format that optimises the framing for ChatGPT and thereby enhances its performance across a broad spectrum of inputs. It’s a generic prompt
What is zero-shot prompting
Doesn’t require any examples and is often used to demonstrate the power and capability of the LLM. Also used when there are not enough tokens to give examples.
What is prompting?
The “prompt” is the user generated input to the model and is a way for you to guide the model
What is few-shot prompting?
Providing multiple demonstrations in the prompt to steer the model to perform better. It provides the input context.
What is chain of thought prompting?
Guides ChatGPT to explain its answers in a step-by-step format of its reasoning process.
What is prompt compression
Sending a text prompt to GPT to compress it and used the compressed prompt instruction. Then uncompress it after
What are structured outputs?
Come up with a prompt given a piece of text for it to extract the key entities for it. Useful for customer service type chat bots.