How to use LLMs effectively

Dawson Metzger-Fleetwood

|

8 min read
A futuristic graphic with the words "how to use LLMs effectively"


Step 1: Plan Ahead


Step 2: Use a Custom Instruction

The custom instruction
A Hacker’s Guide to Language Models


Step 3: Reflect

A brief look into the world of agents
A graphic showcasing LLM agent performance


Step 4: Keep the Context Relevant

A plot showing how LLM recall performance relates to context length


Step 5: Help it Understand the Goal: Few-Shot Learning

  • Zero-shot learning — if only an instruction is given, this is known as zero-shot learning. The model must perform the task without any explicit examples of how to perform the task successfully.
  • One-shot learning — A single example is provided for how to perform the task successfully. This one example is an input-output pair passed in as part of the prompt.
  • Few-shot learning — A few examples are provided for how to perform the task successfully.


Step 6: Tool Selection. Understand what LLMs aren’t good at (and why)

Hallucinations
It’s just what you wanted to hear
Prompt Sensitivity
Screenshot of a conversation with ChatGPT


Finally…

Newsletter Form
  • VA ProdOps and Data Quality Engineering
    VA ProdOps and Data Quality Engineering
    See more: VA ProdOps and Data Quality Engineering
    Small orange arrow symbol
  • Where the future is going: sniffing out all of Apple’s clues
    Where the future is going: sniffing out all of Apple’s clues
    See more: Where the future is going: sniffing out all of Apple’s clues
    Small orange arrow symbol
Abstract graffiti-style artwork with vivid colors and dynamic shapes.
Simple Form

Connect with our team.

Error

An error has occured, please try again.

Try again