↓ Skip to main content

Zero-Shot Prompting: What It Is & How to Use It

·126 words·1 min·
Rafael Yu
Author
Rafael Yu
Software Developer & AI Enthusiast
Table of Contents

Zero-Shot
#

This is my second blog
#

My bad chinese-english:

From my view , zero-shot more like a Q&A ,a question a answer.

when I input ,llm begin work and then it will tell me about mine input

This is a instance :


LLM enhance result:

From my perspective, zero-shot resembles a Q&A format, where each question is followed by an answer.

When I input a query, the language model begins working and then provides feedback on my input.

Here is an example:

image-20240626163415526
image-20240626162344182

Prompting Techniques Compared
#

TechniqueExamples ProvidedBest For
Zero-Shot Prompting0Direct classification, translation, and summarization
Few-Shot Prompting2-5Formatting consistency and pattern matching
Chain-of-Thought (CoT)OptionalMulti-step math and logical reasoning
Least-to-Most PromptingDecompositionComplex tasks harder than demonstration examples