当前位置:   article > 正文

吴恩达Chatgpt Prompt课程学习(个人学习笔记)_chatgpt学习课程

chatgpt学习课程

主要参考资料
Deeplearning.ai: https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/
B站

Guidelines for prompt

There are X principles.

write clear and specific instructions

Tatics 1 Use delimiters(分隔符)
(1)Triple quotes“““ ”””
(2)Triple backtics ‘’’ ‘’’
(3)Triple dashes — —
(4)Angle bracktes<>
(5)XML tags
Tactic 2: ask for structured output
HTML JSON
Tactic 3: check whether conditions are satisfied
Check assuptions required to do the task
Tactic 4:few-shot prompting
Give successful examples of completing tasks
Then ask model to perform the task

Give the model time to think

Tactics 1 :specify the steps to complete a task
Step1 :
Step2:
……
Step N:
Tactics 2 :instruct the model to work out its own solution before rushing to a conclusion
Model Limitations
Hallucination
Makes statements that sound plausible
But are not true
Reducing hallucinations
First find relevant information
Then answer the question
Based on the relevant information

Model Limitations

Hallucinations
Make statements that sound plausible but are not true.
Reducing hallucinations
First find relevant information, then answer the question based on the relevant information.

Iterative Prompt development

在这里插入图片描述

Text Summarizing

Text Infering

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/104548
推荐阅读
相关标签
  

闽ICP备14008679号