ChatGPT prompt word engineer | prompt engineering | Wu Enda teaches you to write prompt word course notes

insert image description here

Lecture1 Introduction

Two large language models (LLMs, Large Language Models):

  • Base LLM:
    Predicts next word, based on text training data
  • Instruction Tuned LLM:
    Tries to follow instructions

Lecture2 Guide

Two principles of using Chatgpt:

  • Write clear and specific instructions

  • Use a clear delimiter (not specified) to separate the content that needs to be summarized to prevent the wrong execution of the suspected instruction text in the pending text
    insert image description here

  • Given a small number of training samples
    insert image description here

  • Give the model enough time to think

  • Specify the steps required to complete a task

  • Instructs the model to think about the solution before jumping to conclusions
    Models Limitations:
    insert image description here

Lecture3 iterations

insert image description here
insert image description here

Lecture4 Summary

  • The model can be used to summarize long texts to help better read the core information quickly, that is, to generate summaries

Lecture5 reasoning

insert image description here

Lecture6 conversion (translation)

insert image description here

  • Can be used for grammar proofreading of documents, etc.

Lecture7 extension

  • Model Temperature selection:
    insert image description here

  • It can be understood as the tone of the response set by Bing. More precise means that the Temperature is closer to 0, which is also the default value of Chatgpt3.5, but obviously the default value of Bing is not 0
    insert image description here

Lecture8 Chatbot

insert image description here

Lecture9 Summary

insert image description here

  • Finally,
    insert image description here
    this note is only a partial summary of the course. It is recommended to watch the original video of DeepLearning.AI.

B station reference link

Guess you like

Origin blog.csdn.net/weixin_48936263/article/details/130453745