以下是关于提示词模式的相关内容:
提示词模板: 您可以参考 Civitai | Stable Diffusion models,embeddings,hypernetworks and more 中优秀作品的提示词作为模板。类似的网站还有:
[Majinai:MajinAI | Home [词图:词图PromptTool – AI绘画资料管理网站 [Black Lily:black_lily [Danbooru标签超市:Danbooru标签超市 [魔咒百科词典:魔咒百科词典 [AI词汇加速器:AI词汇加速器AcceleratorI Prompt [NovelAI魔导书:NovelAI魔导书 [鳖哲法典:鳖哲法典 [Danbooru tag:Tag Groups Wiki | Danbooru(donmai.us)提示词格式: 前文中采取的是比较简单的提示词,标准提示词应遵循以下格式。这种可以被格式化为标准的问答格式,如: 以上的提示方式,也被称为零样本提示(zero-shot prompting),即用户不提供任务结果相关的示范,直接提示语言模型给出任务相关的回答。某些大型语言模式有能力实现零样本提示,但这取决于任务的复杂度和已有的知识范围。具体的零样本提示示例如下: 对于一些较新的模型,您可以跳过 Q:部分,直接输入问题。因为模型在训练过程中被暗示并理解问答任务,换言之,提示词可以简化为下面的形式: 基于以上标准范式,目前业界普遍使用的还是更高效的小样本提示(Few-shot Prompting)范式,即用户提供少量的提示范例,如任务说明等。小样本提示一般遵循以下格式: 而问答模式即如下: 注意,使用问答模式并不是必须的。您可以根据任务需求调整提示范式。比如,您可以按以下示例执行一个简单的分类任务,并对任务做简单说明:
头脑风暴常用的 20 个 prompt: 20 ChatGPT prompts to brainstorm and find infinite new ideas in every field(copy-paste them):
Brainwriting Prompt: “Let’s brainstorm ideas for[topic]by writing down as many ideas as you can,then I can build on them with related ideas.Structure your answer using markdown.” Reverse Brainstorming Prompt: “We will use reverse brainstorming for[topic] – coming up with intentionally bad ideas can spark creativity and lead us in new directions.” Mind Mapping Prompt: “Please create a complete mind map for[topic]starting with a central concept and expanding outward with connected branches of related ideas.” Assumptions Prompt: “List your assumptions about[topic].Then,how can you challenge those assumptions to come up with innovative ideas?Describe your journey.” SWOT Analysis Prompt: “Let’s do a SWOT analysis on[topic]considering internal strengths/weaknesses and external opportunities/threats.Then write a conclusion to summarize.” SCAMPER Prompt: “Use the SCAMPER checklist to ideate on[topic].How can we substitute,combine,adapt,modify,put to other uses,eliminate,or reverse?Detail your answers.” Six Thinking Hats Prompt: “Use the Six Hats method:the red hat is optimistic,the black hat looks at negatives,etc.Ideate on[topic]from different mindset angles.” Worst Possible Idea Prompt: “Brainstorm intentionally terrible ideas for[topic]to get the creative juices flowing in new directions.Expand on your answers a little,explaining why these ideas are bad.” Trigger Words Prompt: “Here are some random words:[word1][word2][word3].How might these trigger new ideas related to[topic]?” Questioning Prompt: “Generate questions about[topic],like who,what,when,where,why,how?Turn the questions into ideas.” Rolestorming Prompt: “Take on the perspective of a[user,customer,employee]and ideate about[topic]from their point of view.”