• Stars
    star
    246
  • Rank 163,722 (Top 4 %)
  • Language
    Jupyter Notebook
  • License
    Apache License 2.0
  • Created over 1 year ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🔥🔔prompt-engineering-note🔔🔥

prompt-engineering-note

banner


GitHub watchers GitHub stars GitHub forks GitHub followers Build Status imgGitHub repo size GitHub language count GitHub last commit GitHubimg

介绍

ChatGPT Prompt Engineering Learning Notesfor Developers (面向开发者的ChatGPT提问工程学习笔记)

课程简单介绍了语言模型的工作原理,提供了最佳的提示工程实践,并展示了如何将语言模型 API 应用于各种任务的应用程序中。 此外,课程里面提供了 Jupyter Notebook 代码实例,可以直接使用 OpenAI 提供的 API Key 获得结果,所以没有账号也能够进行体验。

在ChatGPT Prompt Engineering for Developers 中,能够学习到如何使用大型语言模型 (LLM) 快速构建功能强大的新应用程序。使用 OpenAI API,您将能够快速构建学习创新和创造价值的能力,而这在以前是成本高昂、技术含量高或根本不可能的。

这个由 Isa Fulford (OpenAI)Andrew Ng (DeepLearning.AI) 教授的短期课程将描述 LLM 的工作原理,提供即时工程的最佳实践,并展示 LLM API 如何用于各种任务的应用程序,包括:

  • 总结(例如,为简洁起见总结用户评论)
  • 推断(例如,情感分类、主题提取)
  • 转换文本(例如,翻译、拼写和语法更正)
  • 扩展(例如,自动编写电子邮件)

在这个课程中能够学习到,编写有效提示的两个关键原则,即如何系统地设计好的提示,并学习构建自定义聊天机器人

所有概念都通过大量示例进行说明,可以直接在官方的Jupyter notebook环境中使用这些示例,以获得即时工程的实践经验。

主要内容

课程章节

  1. 课程简介 (Introduction)
  2. 提示工程关键原则 (Guidelines)
  3. 提示工程需要迭代 (Iterative)
  4. 总结类应用 (Summarizing)
  5. 推理类应用 (Inferring)
  6. 转换类应用 (Transforming)
  7. 扩展类应用 (Expanding)
  8. 打造聊天机器人 (Chatbot)
  9. 课程总结 (Conclusion)

这个项目是对于ChatGPT Prompt Engineering for Developers课程的学习笔记整理,这里要感谢Isa Fulford (OpenAI)Andrew Ng (DeepLearning.AI) 提供的精彩课程,这些内容对于像我一样的初学者提供了很大的帮助,本着学习与实践的想法,做了下面这些事情,希望可以对提示工程学习者起到帮助:

  • 1.使用prompt+ChatGPT对课程内容原文进行机器翻译(全文由ChatGPT翻译生成,每一章都提供了中英对照);

    trans_lan
  • 2.使用prompt+ChatGPT对笔记内容进行总结与扩展(在每一节的最后,附上了ChatGPT总结的效果);

    sum_context
  • 3.整理了实践过程中对应的jupyterbook代码,位置在: jb_code (可以在本地化部署环境运行);

    jb_code
  • 4.基于notebook代码制作shell的cli命令脚本(更新中)

    python source/cli/cli_py.py --prompt "hello chatgpt" --model "gpt-3.5"

gen_code

gen_code1

致谢

More Repositories

1

Stanford-CS-Course

Stanford-CS-Course
Python
161
star
2

YOLOv8_Efficient

🚀Simple and efficient use for Ultralytics yolov8🚀
Python
160
star
3

model-metrics-plot

🔨🔨🔨(mmplot)used to draw graphs of multiple index parameters such as algorithm accuracy and speed of multiple deep learning models.
Jupyter Notebook
67
star
4

vision-process-webui

💡💡💡awesome compute vision app in gradio
Python
36
star
5

YOLOv5_Efficient

🚀 Simple and efficient use for Ultralytics yolov5🚀
Python
32
star
6

paper-list

autoupdate paper list
Python
31
star
7

awesome-road-map

🗺️awesome-road-map🗺️
Python
27
star
8

jetbrain-active

Shell
26
star
9

VALSE-WorkShop

This project is an unofficial summary of the resources related to VALSE and its annual seminar. Its main purpose is to more facilitate your communication and learning, and we also welcome your additions and suggestions.
Python
19
star
10

DatasetMarkerTool

🔨🔨🔨Tool for making model training data set
Python
17
star
11

CVProcessLib

Image processing library based on OpenCV visual development kit
Python
11
star
12

OpenMMLab-Learn-Exercise

openmmlab learn and exercise
Jupyter Notebook
11
star
13

paper-read-notes

paper-read-notes
Python
8
star
14

PaddleSpeech-Gradio-WebUI

PaddleSpeech-Gradio-WebUI
Python
7
star
15

YOLOv3_Detect_Web

Use Yolov3 detect on Web
Python
6
star
16

Detectron2Lab

use detectron2-pytorch train,val,test deep learning models
Python
6
star
17

MyStarsRepo

GitHub collection
5
star
18

PaddleWorkShop

Python
5
star
19

isLinXu

Readme
5
star
20

AIToolBox

AI Tool Box(AI工具箱)
Python
5
star
21

black-book-notes

black-book-notes
Python
5
star
22

pangu-ax

🪓🪓🪓pangu-ax is a related tool specifically for the Pangu model
Python
5
star
23

TrainNetHub

Model training integration Library
Python
5
star
24

paper-temple

TeX
5
star
25

PaddleNavigation

use PaddlePaddle frame work navigation
Python
5
star
26

project-list

isLinXu project list
5
star
27

Berkeley-CS-course

Python
5
star
28

isLinXu.github.io

TypeScript
5
star
29

onnx-explorer

onnx explorer more features.
Python
5
star
30

PP-TinyPose

基于PaddleDetection PP-TinyPose,新增手势关键点检测模型
5
star
31

inference.cpp

C++
4
star
32

PaddlePaddle-Learn-Exercise

Paddle Suide Learn and Exercise
Python
4
star
33

Paddle_SportsClassify

使用PaddlePaddle框架进行100项运动的图像分类项目
Jupyter Notebook
4
star
34

PytorchWorkshop

Code Workshop On Python
Python
4
star
35

AlgorithmProblemSummary

Algorithm Problem Summary
C++
4
star
36

ml-cheat-sheets

Cheat Sheets for Machine Learning and Data Science
Python
4
star
37

PyCppProject

use Cpp and PyBind for Python
C++
4
star
38

MIT-CS-Course

MIT CS Course
Python
4
star
39

awesome-course-notes

awesome course notes
Python
4
star
40

Awesome-Pan

Awesome Pan Source
Python
4
star
41

Annotations_Images_Web

show your Annotations in JPEGImages
Python
4
star
42

cv-resume

my homepage
HTML
4
star
43

survey-read-notes

Read Survey and Notes
Python
4
star
44

all-learn-notes

my learn notes in here
Shell
4
star
45

PytorchTemplateBuild

Python
4
star
46

Self-ReinforcingFurnace

The Ways and tools to improve yourself(修身炉的可操作实现方式)
4
star
47

RoboFlow-CV-Project

4
star
48

ROS_CV

4
star
49

docs-list

isLinXu docs list
4
star
50

Harvard-CS-Course

Harvard-CS-Course
Python
4
star
51

model-graphviz-plot

Python
4
star
52

CMU-CS-Course

CMU CS Course
Python
4
star
53

hugging-downloader

hugging-face-downloader
Python
4
star
54

inference.py

4
star
55

GAN_All-Lab

GAN all done
3
star
56

ADLTTI-Book

[Book Translation]Applied Deep Learning Tools, Techniques, and Implementation
3
star
57

language-process-webui

language process webui
Python
3
star
58

pytorch2-practice

practice pytorch2
Jupyter Notebook
3
star
59

experiment-logger

Python
3
star
60

cv-process-gui

Python
3
star
61

Tiny-GPT

Python
3
star
62

keras3-learning

3
star
63

awesome-cv-model

awesome cv model
Python
3
star
64

fine-tune-pretrain-model

(ftpm)fine-tune-pretrain-model
3
star
65

open-cv-inference

C++
3
star
66

PytorchAudioProject

Python
3
star
67

d2l-pytorch

3
star
68

lighter

3
star
69

AidLux_Learn

Use AidLux Learn frame
Python
3
star
70

awesome-hand-book

awesome-hand-book
3
star
71

KaggleLine

3
star
72

PytorchCV

PyTorchCV: A PyTorch-Based Framework for Deep Learning in Computer Vision.
3
star
73

blog

My Blog Site
HTML
3
star
74

OneInstaller

3
star
75

hilltop

use tinygrad and other tools train models
3
star
76

License

3
star
77

DL_Frame_Models

Models Research of Deep Learning Frame Work
Python
3
star
78

my-cnblog-theme

https://www.cnblogs.com/isLinXu/
CSS
3
star
79

FleetProject

Python
3
star
80

paddle-lighting

3
star
81

mm-install

3
star
82

AI-Map

Python
3
star
83

MindSporeWorkShop

use MindSpore train and valid deeplearning models
Python
3
star
84

SQL_Learn

Learn SQL
3
star
85

AICppLab

Using C + + to develop opencv
C++
3
star
86

PointCloudLab

Some experiments based on Point Cloud
C++
3
star
87

MyJupyterNotebook

My Jupyter Notebook in Here
Jupyter Notebook
3
star
88

Matpy

3
star
89

yolo_series

yolo series
3
star
90

VS_SourceCode

3
star
91

PaddleCV

PaddleCV: A Paddle-Based Framework for Deep Learning in Computer Vision.
3
star
92

DeepNetModelLab

Deep Network Model Laboratory
Python
3
star
93

kaggle-pipeline

Kaggle Pipeline and Data analysis
3
star
94

RaspberryPi_Vgg16

Python
3
star
95

JetBot-AIOT

3
star
96

yolov8-app

use yolov8 detect face
3
star
97

pp-install

3
star
98

OneMarker

3
star
99

AI-Docker

3
star
100

AIWeb

Jupyter Notebook
3
star