'Prompt Engineering for ChatGPT' course note: Part 1 Motivation and Overview

 'Prompt Engineering for ChatGPT' is a coursera course.

Motivation

Large language models (LLM) like ChatGPT are not just for answering a question. It helps us design something, be creative. It's not one-off, but can keep refining in a direction. It can also connect two different things (like Pockman story and meal). It can prototype ideas like creating a demo web app.

Overview

This course teaches us how to interact with LLMs, how to write effective prompts. It's to unlock human creativity, let human focus on interesting things. It will teach different patterns of prompting. One is Persona pattern (Act as a ..., do ...). The most important thing is to be open to explore, to try things out. It's easy to get a conclusion that LLM doesn't help, but much harder to find a way to get benefit from LLM. We are trying to do the latter.


What are Large language models

Trained on massive inputs. Having hundreds of millions or even billions of parameters.
It takes input, and generates output word by word, each time predicting the next word.

The strategy of giving input is prompting. Add additional knowledge in prompt helps LLVMs reasoning proper response.

Randomness in Output


LLMs only have a "temperature" parameter that controls the randomness of the generated output. A higher number results in more randomness. This is added deliberately to create virations in response.

Comments

Popular posts from this blog

'Feynman's study method' reading note: Part 1 The essence of learning

‘Wheeled Autonomous Mobile Robot Programming in Practice’ reading note: Part 1 Wheeled Robot Basics

'Prompt Engineering for ChatGPT' course note: Part 2 What are Prompts