没有合适的资源?快使用搜索试试~ 我知道了~
文档主要的内容目录: 1. NLP的任务 2. 代码 3.结构化输出样式 4. 非结构化输出样式 5. 媒体类型 6. Meta ChatGPT 7. 专家提示
资源推荐
资源详情
资源评论
The ChatGPT Cheat Sheet
This cheat sheet illustrates the diverse abilities of OpenAI’s ChatGPT for developers and content creators
to enhance their proficiency in large language model prompting across various domains including media
content creation, natural language processing, and programming.
Table of Contents:
1. NLP Tasks
2. Code
3. Structured Output Styles
4. Unstructured Output Styles
5. Media Types
6. Meta ChatGPT www.neuralmagic.com
7. Expert Prompting
(batteries not included)
1. NLP
Text Generation
Prompt: write an intro paragraph to a mystery novel
It was a dark and stormy night when the body was found. The small town of Millfield was in shock as the
news spread that one of their own, local businessman, had been murdered in cold blood. The police were at
a loss for leads and the residents of the town were on edge. But one person, a young and ambitious
reporter, was determined to uncover the truth and find the killer. Little did she know, this case would
lead her down a treacherous path of lies, deception, and hidden secrets that would shake the very
foundations of the town. As she delves deeper into the investigation, she begins to realize that nothing
is as it seems and that the killer may be closer than she ever imagined.
Summarization
Prompt: summarize this text: It was a dark and stormy night when the body was found. The small town of
Millfield was in shock as the news spread that one of their own, local businessman, had been murdered in
cold blood. The police were at a loss for leads and the residents of the town were on edge. But one person,
a young and ambitious reporter, was determined to uncover the truth and find the killer. Little did she
know, this case would lead her down a treacherous path of lies, deception, and hidden secrets that would
shake the very foundations of the town. As she delves deeper into the investigation, she begins to realize
that nothing is as it seems and that the killer may be closer than she ever imagined.
A young reporter in a small town investigates the murder of a local businessman and uncovers a web of
lies, deception and hidden secrets that shake the foundations of the town. The police have no leads and
the town is on edge. The reporter delves deeper into the investigation and realizes the killer may be
closer than she imagined.
www.neuralmagic.com 2
Open Domain Question Answering
Prompt: when did Apollo 11 land on the moon
Apollo 11 landed on the moon on July 20, 1969.
Paraphrasing
Prompt: rewrite this text: Apollo 11 landed on the moon on July 20, 1969
On July 20, 1969, the Apollo 11 mission successfully landed on the moon.
Sentiment Analysis (few-shot or zero-shot)
Prompt: I like pizza, positive
I don't like pizza, negative
sometimes, I like pizza sometimes I don't, neutral
while the movie was good, I sometimes though it was a bit dry,
neutral
www.neuralmagic.com 3
Table to Text
Prompt: summarize the data in this table: I like pizza positive
I don't like bananas negative
Sometimes I like pizza but sometimes I don't neutral
While the movie in general was pretty good, I sometimes thought it was a bit dry neutral
This table contains four statements, two of them express a positive and negative opinion about two
different subjects, Pizza and Bananas. Other two statements express a neutral opinion about the same
subjects, Pizza and a movie.
Text to Table
Prompt: create a table from this text: create a 2 column table where the first column contains the stock
ticker symbol for Apple, Google, Amazon, Meta, and the other column contains the names of the companies.
www.neuralmagic.com 4
Token Classification (few-shot or zero-shot)
Prompt: classify the named entities in this text: George Washington and his troops crossed the Delaware
River on December 25, 1776 during the American Revolutionary War.
George Washington: Person
Delaware River: Location
December 25, 1776: Date
American Revolutionary War: Event/War
Dataset Generation (few-shot or zero-shot)
Prompt: generate more datapoints from this text:
"contains no wit , only labored gags "
0 (negative)
"that loves its characters and communicates something rather beautiful about human nature "
1 (positive)
"remains utterly satisfied to remain the same throughout "
0 (negative)
"has a convoluted plot that fails to engage the audience"
0 (negative)
"lacks emotional depth and fails to connect with the audience"
0 (negative)
www.neuralmagic.com 5
剩余29页未读,继续阅读
资源评论
bluetata
- 粉丝: 6w+
- 资源: 20
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功