[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-kevinamiri--Instructgpt-prompts":3,"tool-kevinamiri--Instructgpt-prompts":65},[4,17,27,35,48,57],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":16},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",149489,2,"2026-04-10T11:32:46",[13,14,15],"开发框架","Agent","语言模型","ready",{"id":18,"name":19,"github_repo":20,"description_zh":21,"stars":22,"difficulty_score":23,"last_commit_at":24,"category_tags":25,"status":16},4487,"LLMs-from-scratch","rasbt\u002FLLMs-from-scratch","LLMs-from-scratch 是一个基于 PyTorch 的开源教育项目，旨在引导用户从零开始一步步构建一个类似 ChatGPT 的大型语言模型（LLM）。它不仅是同名技术著作的官方代码库，更提供了一套完整的实践方案，涵盖模型开发、预训练及微调的全过程。\n\n该项目主要解决了大模型领域“黑盒化”的学习痛点。许多开发者虽能调用现成模型，却难以深入理解其内部架构与训练机制。通过亲手编写每一行核心代码，用户能够透彻掌握 Transformer 架构、注意力机制等关键原理，从而真正理解大模型是如何“思考”的。此外，项目还包含了加载大型预训练权重进行微调的代码，帮助用户将理论知识延伸至实际应用。\n\nLLMs-from-scratch 特别适合希望深入底层原理的 AI 开发者、研究人员以及计算机专业的学生。对于不满足于仅使用 API，而是渴望探究模型构建细节的技术人员而言，这是极佳的学习资源。其独特的技术亮点在于“循序渐进”的教学设计：将复杂的系统工程拆解为清晰的步骤，配合详细的图表与示例，让构建一个虽小但功能完备的大模型变得触手可及。无论你是想夯实理论基础，还是为未来研发更大规模的模型做准备",90106,3,"2026-04-06T11:19:32",[15,26,14,13],"图像",{"id":28,"name":29,"github_repo":30,"description_zh":31,"stars":32,"difficulty_score":10,"last_commit_at":33,"category_tags":34,"status":16},3704,"NextChat","ChatGPTNextWeb\u002FNextChat","NextChat 是一款轻量且极速的 AI 助手，旨在为用户提供流畅、跨平台的大模型交互体验。它完美解决了用户在多设备间切换时难以保持对话连续性，以及面对众多 AI 模型不知如何统一管理的痛点。无论是日常办公、学习辅助还是创意激发，NextChat 都能让用户随时随地通过网页、iOS、Android、Windows、MacOS 或 Linux 端无缝接入智能服务。\n\n这款工具非常适合普通用户、学生、职场人士以及需要私有化部署的企业团队使用。对于开发者而言，它也提供了便捷的自托管方案，支持一键部署到 Vercel 或 Zeabur 等平台。\n\nNextChat 的核心亮点在于其广泛的模型兼容性，原生支持 Claude、DeepSeek、GPT-4 及 Gemini Pro 等主流大模型，让用户在一个界面即可自由切换不同 AI 能力。此外，它还率先支持 MCP（Model Context Protocol）协议，增强了上下文处理能力。针对企业用户，NextChat 提供专业版解决方案，具备品牌定制、细粒度权限控制、内部知识库整合及安全审计等功能，满足公司对数据隐私和个性化管理的高标准要求。",87618,"2026-04-05T07:20:52",[13,15],{"id":36,"name":37,"github_repo":38,"description_zh":39,"stars":40,"difficulty_score":10,"last_commit_at":41,"category_tags":42,"status":16},2268,"ML-For-Beginners","microsoft\u002FML-For-Beginners","ML-For-Beginners 是由微软推出的一套系统化机器学习入门课程，旨在帮助零基础用户轻松掌握经典机器学习知识。这套课程将学习路径规划为 12 周，包含 26 节精炼课程和 52 道配套测验，内容涵盖从基础概念到实际应用的完整流程，有效解决了初学者面对庞大知识体系时无从下手、缺乏结构化指导的痛点。\n\n无论是希望转型的开发者、需要补充算法背景的研究人员，还是对人工智能充满好奇的普通爱好者，都能从中受益。课程不仅提供了清晰的理论讲解，还强调动手实践，让用户在循序渐进中建立扎实的技能基础。其独特的亮点在于强大的多语言支持，通过自动化机制提供了包括简体中文在内的 50 多种语言版本，极大地降低了全球不同背景用户的学习门槛。此外，项目采用开源协作模式，社区活跃且内容持续更新，确保学习者能获取前沿且准确的技术资讯。如果你正寻找一条清晰、友好且专业的机器学习入门之路，ML-For-Beginners 将是理想的起点。",85092,"2026-04-10T11:13:16",[26,43,44,45,14,46,15,13,47],"数据工具","视频","插件","其他","音频",{"id":49,"name":50,"github_repo":51,"description_zh":52,"stars":53,"difficulty_score":54,"last_commit_at":55,"category_tags":56,"status":16},5784,"funNLP","fighting41love\u002FfunNLP","funNLP 是一个专为中文自然语言处理（NLP）打造的超级资源库，被誉为\"NLP 民工的乐园”。它并非单一的软件工具，而是一个汇集了海量开源项目、数据集、预训练模型和实用代码的综合性平台。\n\n面对中文 NLP 领域资源分散、入门门槛高以及特定场景数据匮乏的痛点，funNLP 提供了“一站式”解决方案。这里不仅涵盖了分词、命名实体识别、情感分析、文本摘要等基础任务的标准工具，还独特地收录了丰富的垂直领域资源，如法律、医疗、金融行业的专用词库与数据集，甚至包含古诗词生成、歌词创作等趣味应用。其核心亮点在于极高的全面性与实用性，从基础的字典词典到前沿的 BERT、GPT-2 模型代码，再到高质量的标注数据和竞赛方案，应有尽有。\n\n无论是刚刚踏入 NLP 领域的学生、需要快速验证想法的算法工程师，还是从事人工智能研究的学者，都能在这里找到急需的“武器弹药”。对于开发者而言，它能大幅减少寻找数据和复现模型的时间；对于研究者，它提供了丰富的基准测试资源和前沿技术参考。funNLP 以开放共享的精神，极大地降低了中文自然语言处理的开发与研究成本，是中文 AI 社区不可或缺的宝藏仓库。",79857,1,"2026-04-08T20:11:31",[15,43,46],{"id":58,"name":59,"github_repo":60,"description_zh":61,"stars":62,"difficulty_score":23,"last_commit_at":63,"category_tags":64,"status":16},3128,"ragflow","infiniflow\u002Fragflow","RAGFlow 是一款领先的开源检索增强生成（RAG）引擎，旨在为大语言模型构建更精准、可靠的上下文层。它巧妙地将前沿的 RAG 技术与智能体（Agent）能力相结合，不仅支持从各类文档中高效提取知识，还能让模型基于这些知识进行逻辑推理和任务执行。\n\n在大模型应用中，幻觉问题和知识滞后是常见痛点。RAGFlow 通过深度解析复杂文档结构（如表格、图表及混合排版），显著提升了信息检索的准确度，从而有效减少模型“胡编乱造”的现象，确保回答既有据可依又具备时效性。其内置的智能体机制更进一步，使系统不仅能回答问题，还能自主规划步骤解决复杂问题。\n\n这款工具特别适合开发者、企业技术团队以及 AI 研究人员使用。无论是希望快速搭建私有知识库问答系统，还是致力于探索大模型在垂直领域落地的创新者，都能从中受益。RAGFlow 提供了可视化的工作流编排界面和灵活的 API 接口，既降低了非算法背景用户的上手门槛，也满足了专业开发者对系统深度定制的需求。作为基于 Apache 2.0 协议开源的项目，它正成为连接通用大模型与行业专有知识之间的重要桥梁。",77062,"2026-04-04T04:44:48",[14,26,13,15,46],{"id":66,"github_repo":67,"name":68,"description_en":69,"description_zh":70,"ai_summary_zh":71,"readme_en":72,"readme_zh":73,"quickstart_zh":74,"use_case_zh":75,"hero_image_url":76,"owner_login":77,"owner_name":78,"owner_avatar_url":79,"owner_bio":80,"owner_company":80,"owner_location":81,"owner_email":80,"owner_twitter":80,"owner_website":80,"owner_url":82,"languages":80,"stars":83,"forks":84,"last_commit_at":85,"license":86,"difficulty_score":54,"env_os":87,"env_gpu":88,"env_ram":88,"env_deps":89,"category_tags":92,"github_topics":93,"view_count":10,"oss_zip_url":80,"oss_zip_packed_at":80,"status":16,"created_at":112,"updated_at":113,"faqs":114,"releases":115},6215,"kevinamiri\u002FInstructgpt-prompts","Instructgpt-prompts","Instruction-based prompts for generating and classifying text.","Instructgpt-prompts 是一个专为 GPT-instruct 及 GPT-3.5 等指令微调模型设计的提示词（Prompt）策略库，旨在通过优化的指令结构提升文本生成与分类任务的准确率。\n\n大语言模型对提示词的措辞和位置极为敏感：微小的 wording 变化可能导致性能大幅波动，且模型往往过度关注首尾信息而忽略中间内容（即“中间丢失”效应）。Instructgpt-prompts 针对这些痛点，提供了一套经过验证的标准化提示框架。其核心理念是利用高权重的起始动词（如\"Explain\"、\"Summarize\"、\"Analyze\"等）精准引导模型行为，并采用“背景铺垫 - 提供上下文 - 明确指令”的三段式结构，有效缓解模型的位置偏见，确保指令被完整理解。\n\n该项目特别适合 AI 开发者、研究人员以及需要稳定输出质量的提示词工程师使用。对于希望深入理解指令对齐机制，或在基础模型（Base\u002FSFT）上获得更可控结果的用户而言，这是一份极具参考价值的实战指南。虽然经过人类反馈强化学习（RLHF）的模型鲁棒性更强，但掌握这些底层提示技巧仍能显著优化交互效果，让机器更准确地执行人类","Instructgpt-prompts 是一个专为 GPT-instruct 及 GPT-3.5 等指令微调模型设计的提示词（Prompt）策略库，旨在通过优化的指令结构提升文本生成与分类任务的准确率。\n\n大语言模型对提示词的措辞和位置极为敏感：微小的 wording 变化可能导致性能大幅波动，且模型往往过度关注首尾信息而忽略中间内容（即“中间丢失”效应）。Instructgpt-prompts 针对这些痛点，提供了一套经过验证的标准化提示框架。其核心理念是利用高权重的起始动词（如\"Explain\"、\"Summarize\"、\"Analyze\"等）精准引导模型行为，并采用“背景铺垫 - 提供上下文 - 明确指令”的三段式结构，有效缓解模型的位置偏见，确保指令被完整理解。\n\n该项目特别适合 AI 开发者、研究人员以及需要稳定输出质量的提示词工程师使用。对于希望深入理解指令对齐机制，或在基础模型（Base\u002FSFT）上获得更可控结果的用户而言，这是一份极具参考价值的实战指南。虽然经过人类反馈强化学习（RLHF）的模型鲁棒性更强，但掌握这些底层提示技巧仍能显著优化交互效果，让机器更准确地执行人类意图。","# Instruction-following prompts for GPT-instruct, GPT-3.5\n\n\n[InstructGPT](https:\u002F\u002Farxiv.org\u002Fabs\u002F2203.02155) were the first series of language models that had been trained using supervised fine-tuning on top of the base model.\n\nThis project consists of prompts, and strategies designed for GPT-instruct (late 2020) and later GPT-3.5-instruct, which is the first instruction-tuned version of GPT-3, trained to follow instructions and solve language-related tasks through zero-shot prompting. This instruction-following capability represents an important step toward aligning large language models with human intent.\n\n\nLanguage models are senstive to phrasinng, first afew words and latest few words in the context.\n\n**Phrasing:**\nOn the phrasing side, small changes in wording, style or formatting can cause accuracy swings. Some studies show that accuracy in few-shot tasks can vary by up to 76 percentage points depending on prompt formatting [1], and semantically equivalent instructions can produce wide gaps between best- and worst-case performance—even as high as 45 points for large models [2][3][4][5].\n\n**Position:**\nIn addition to phrasing, models are also highly sensitive to position. When we give them long texts, they tend to focus more on the first and last parts than the middle, overlooking important details in between. This is known as the \"Lost in the Middle\" effect. As the result, Language models tend to overweighting on what's at the beginning and the end of prompts [6]. This \"U-shaped\" effect also known as primacy and recency biases, where the first and last pieces of information are given more weight, some even suggest that this serial-position effects akins to human cognition [7].\n\n\nThese position and phrasing sensitivities are strongest in *base* or *SFT-only* models; reinforcement-aligned (RLHF) models are noticeably sturdier[9][10][11]. So this guide is more applicable to base models and SFT-only models.\n\n\n## How it works:\n\nIt uses a simple structure to provide directions and can adapt to handle any language-related task. The first few tokens—especially verbs such as *“given,” “following,” “the following,” or “following passage”* carrie disproportionate weight in steering model behavior[8][9].\n\n\nStructure:\n- Direct background\n- Give context\n- Instruct action\n\n\n## How to use:\n\n### Useful verbs:\n\nInstruct verbs are the first word in the prompt. They are used to instruct the model to do something. They are the most important part of the prompt. We may argue that they act as magic words that make a successful prompt, it helps to make the machine understand and follow your instructions. Each of these verbs has a specific meaning that can help the model understand what kind of answer is expected. For example, if you ask the model to explain something, it will provide a detailed explanation. On the other hand, if you ask the model to summarize something, it will provide a brief overview.\n\n- \u003Cdetails>\u003Csummary>Useful words to give directions to your input texts: (point to a location of your input text)\u003C\u002Fsummary>\u003Cp>\n  - Given text\n  \u003Cbr>\n  - following passage\n  \u003Cbr>\n  - Following\n  \u003Cbr>\n  - The following\n- \u003Cdetails>\u003Csummary>Useful words to instruct: (to give instructions to the model)\u003C\u002Fsummary>\u003Cp>\n  - Explain\n\t\u003Cbr>\n  - Create\n\t\u003Cbr>\n  - Generate\n\t\u003Cbr>\n  - Provide\n\t\u003Cbr>\n  - Write\n\t\u003Cbr>\n  - Summarize\n\t\u003Cbr>\n  - Paraphrase\n\t\u003Cbr>\n  - Translate\n\t\u003Cbr>\n  - Rewrite\n\t\u003Cbr>\n  - Reword\n\t\u003Cbr>\n  - Rephrase\n\t\u003Cbr>\n  - List\n\t\u003Cbr>\n  - Extract\n\t\u003Cbr>\n  - Pick out\n\t\u003Cbr>\n  - Analyze\n\t\u003Cbr>\n  - Define\n\t\u003Cbr>\n  - Identify\n\t\u003Cbr>\n  - Describe\n\t\u003Cbr>\n  - Predict\n\t\u003Cbr>\n  - Explain\n\t\u003Cbr>\n  - Analyze\n\t\u003Cbr>\n  - compare\n\t\u003Cbr>\n  - Categorize\n\t\u003Cbr>\n  - Evaluate\n\t\u003Cbr>\n  - Critique\n\t\u003Cbr>\n  - Differentiate\n\t\u003Cbr>\n  - Examine\n\t\u003Cbr>\n  - Illustrate\n\t\u003Cbr>\n  - Outline\n\t\u003Cbr>\n  - Calculate\n\t\u003Cbr>\n  - Infer\n\t\u003Cbr>\n  - Revise\n\t\u003Cbr>\n  - Summarize\n\t\u003Cbr>\n  - Classify\n\t\u003Cbr>\n  - Develop \n\t\u003Cbr>\n  - Evaluate \n\t\u003Cbr>\n  - Formulate \n\t\u003Cbr>\n  - Discuss\n\t\u003Cbr>\n  - Clarify\n\t\u003Cbr>\n  - Highlight\n\t\u003Cbr>\n  - Simplify\n\t\u003Cbr>\n  - Apply\n\t\u003Cbr>\n  - Suggest \u002F Propose\n\t\u003Cbr>\n  - Make\n\t\u003Cbr>\n   * You may add `Can you` in the case of ChatGPT to make it more conversational, but it still works in both the instruct-model and chatGPT models.\n    - Can you provide …\n    - Can you generate …\n\u003C\u002Fp>\u003C\u002Fdetails>\n\n\n\n### Common use cases:\n\n\n#### Classification\n\nInstruction verbs that are useful for classification tasks in nlp\n\n  - `Classify` the following as a physical or chemical property\n  - `Identify` main idea of the given passage\n  - `Categorize` the following passage as either a myth or a fact\n  - `Assign each` item to its corresponding category based on its characteristics\n  - `List` the five main categories of the given data set.\n  - `Group` the items based on their common characteristics\n  - `Sort` the data based on the date it was collected\n  - `Label` each data point with its corresponding category\n  - `Divide` the data into smaller subgroups based on their similarities\n  - `Group` the items based on their similarity in features\n  - `Label` each group with a descriptive name.\n\n#### Generation\n\nInstruction verbs that are useful for generation tasks\n\n  - `Generate` a new text based on the given parameters\n  - `Create` a short catchy headline based on the following, aim to promote the product\n  - `Write` a story using the following keywords\n  - `Formulate` a new sentence based on the given structure\n  - `Produce` a new text that is similar in style to the given sample\n  - `Construct` a new text that combines elements from multiple sources\n  - `Compose` a new poem based on the given theme\n  - `Build` a new text by combining different elements in a creative way\n  - `Devise` a new narrative based on the given information\n  - `Invent` a new story using the following elements.\n  \n#### Transformation:\n\nInstruction verbs that are useful for transformation tasks\n\n- Translate:\n  - `Translate` the following function into C#\n  - `Translate` the following into 1. English, 2. French, 3. Swedish\n- Summarize:\n  - `Summarize` the main points of the given article\n- Paraphrase:\n  - `Paraphrase` the following sentence to convey the same meaning\n  - `Reword` the following sentence to make it more concise\n- Simplify:\n  - `Simplify` the following equation for easier understanding\n- Revise:\n  - `Revise` the following paragraph to make it more clear and concise\n- Outline:\n  - `Outline` the steps to solve the given problem\n- Calculate:\n  - `Calculate` the total cost of the following items\n- Infer:\n  - `Infer` the meaning of the [jargon, vage phrase] based on the following context:\n- Apply:\n  - `Apply` the following formula to calculate the result\n  - `Apply` given tone and voice to the passage below\n\n\n#### Comparison:\n\nInstruction verbs that are useful for comparison tasks\n\n- Compare:\n  - `Compare` and contrast the two given texts\n- Contrast:\n  - `Contrast` the given passages to highlight their differences\n- Differentiate:\n  - `Differentiate` between the two given terms\n- Examine:\n  - `Examine` the similarities and differences between the two given texts\n- Analyze:\n  - `Analyze` the two given pieces and identify their similarities and differences\n- Critique:\n  - `Critique` the two given passages and compare their strengths and weaknesses\n- Evaluate:\n  - `Evaluate` the two given passages and determine which one is more effective\n\n\n### Structure of common instruct prompts:\n\nA basic and useful structure of an instruct prompts can be look like this:\n\n`Instruction` + `Direction to the next words`\n\n  - `Generate a poem` + `based on following passage:`\n\n  - `Create a report article` + `based on following passage`\n\n  - `Write a summary` + `of the following passage`\n\n\n#### Example of using above structure:\n\n**Input:**\n\n```\nWrite a poem based on the following:\n\nghosts, 4th dimension, AI, totalitarian, power\n```\n\n**Output:**\n\n```\nGhosts of the 4th dimension roam,\nA realm beyond our grasp, unknown.\nYet in this world, AI has grown,\nIts power and influence has flown.\n\nWith algorithms and codes so bright,\nIt holds the key to endless might.\nA totalitarian grip on sight,\nAnd wields its power with all its might.\n\nBut is this power truly ours?\nOr just a tool for those in power?\nTheir ghosts roam, but do they cower,\nWhen faced with the consequences of their dower?\n\nSo let us heed this ghostly call,\nAnd use AI for good, for all.\nFor in its power, we must not fall,\nBut rise above, and hear the call.\n```\n\t\nBetter prompting ✅:\n\n```\nWrite a thought-provoking poem that incorporates the themes of ghosts, the 4th dimension, AI, totalitarianism, and power. The poem should be structured in a traditional format with 4 stanzas and a consistent rhyme scheme.\n```\n\n### More instruct commands:\n\n\n\n#### Programming related tasks:\n\n```\nDevelop a function that solves the following problem: [problem description].\nAutomate the following process by writing a script that [task description].\nCreate an algorithm that solves the following problem: [problem description].\nExplain the logic behind the following code: [code snippet].\nOptimize the following function to enhance performance, reduce memory usage, or improve readability.\nWrite a function that meets the following requirements: [requirement description].\nExplain the purpose of the following code to a non-technical audience, using simple and clear language.\nDebug the following code to correct the error and explain the cause of the error.\n```\n\n\n#### Rephrase a passage:\n\n```\nRewrite the text below in your own words:\nParaphrase the provided text while maintaining its meaning:\nSummarize the following passage in a concise manner:\nSimplify the given passage while keeping the main ideas:\nRephrase the given text using alternative expressions:\nCondense the following passage to focus on key points:\nBriefly restate the provided text without losing its essence:\nReword the passage below to make it more succinct:\nExpress the following text in a different way while keeping its intent:\n```\n\n\n#### Translate a passage:\n\n```\nTranslate the following text into: 1. English, 2. French, 3. Swedish\nTranslate the following into: 1. Colloquial, 2. slang, 3. idiomatic English\nIdentify which of the passages below is the closest translation of the original text.\n```\n\n#### Extract data from a passage:\n\n```\nExtract the [concept\u002Ftopic] from the given passage:\nPick out the [concept\u002Ftopic] in the following passage:\nWhat are the key points made in the following text:\nMake a summary of following of given text that deals with the [concept\u002Ftopic]:\n```\n\n\n#### Classify a passage:\n\n```\nDetermine the genre of the following passage, based on its style, tone, and subject matter.\nClassify the following text based on its structure and organization, identifying any recurring patterns or themes.\nIdentify the main theme or thesis of the following passage, summarizing its central idea or argument.\nWhat genre does the following text belong to, based on its conventions and characteristics?\nWhat type of text is the following, based on its intended purpose and audience?\nWho is the intended audience for the following passage, based on its language, tone, and style?\nWhat is the purpose of the following text, and what message or information is it trying to convey?\nWrite the form of the following text (e.g. poem, essay, article, etc.), based on its structure and style.\nWrite the literary style of the following passage, identifying any literary devices or techniques used.\nWrite the tone of the following text, based on its language, attitude, and emotional impact.\n```\n\n\n##### Categorize text:\n\n```\nWhat is the genre\u002Fcategory of the following text? Assign one or more appropriate categories\u002Fgenres.\nCan you classify the following text as belonging to a particular type of writing? If so, what is it?\nWhat kind of text is the following? Choose the most appropriate category or genre.\nWrite a label or tag for the following text based on its content.\nWhat type of text does the following represent? Choose the most appropriate category or genre.\nCan you categorize the following text based on its subject matter? If so, what category would it fall under?\nWhat subject does the following text cover? Choose the best category or topic.\nWrite a tag or label for the following text based on its tone and content.\nWhat category does the following text fit into? Choose the most relevant category or genre.\nCan you assign a category or genre to the following text based on its tone and style?\n```\n\n#### Create compare and contrast:\n\n```\nCompare and contrast the following two texts below, highlighting the similarities and differences in a bullet point list.\nProvide a side-by-side comparison of the following two passages, indicating the key similarities and differences.\nProvide a summary and comparison of the following two texts, highlighting the main points and contrasting the key differences.\nWhat are the similarities and differences between the following two passages? Provide a detailed comparison in a paragraph.\nWhat's the relationship between the following two passages? Write a comparison and contrast using a bullet point list.\nWrite a comparison and contrast between the following texts, highlighting the similarities and differences in a paragraph.\nWrite a contrast of the following two pieces of text, emphasizing the key differences in a bullet point list.\nWrite a synthesis of the similarities and differences in the following two passages, highlighting the key points and contrasting the differences in a paragraph.\n```\n\n\n#### Merge points or ideas:\n\n```\nCombine the following points into a single coherent statement:\nCreate a persuasive argument by integrating the following points:\nCreate a comprehensive conclusion that encompasses the following ideas:\nCreate a unified statement that incorporates the following ideas and presents a cohesive perspective:\nIdentify a common thread among the following points and create a statement that ties them together:\nProvide a unified perspective on the following points, presenting them as a cohesive whole:\nWhat's a common theme among the following points and how do they relate to each other?\nProvide a synthesized statement that captures the relationship between the following points:\nWhat's the main idea that connects the following points and presents a unified perspective?\nWhat's the overarching idea that encompasses the following points and presents a cohesive argument?\nWhat's the relationship between the following points and how do they fit together?\nWrite a synthesis of the following information, creating a cohesive statement that captures the key points:\nWrite a paragraph that ties together the following concepts and presents a unified perspective:\nWrite a summary that captures the essence of the following ideas and presents them as a cohesive whole:\nWrite a short summary that unifies the following ideas and presents a clear, cohesive statement:\nWrite a summary that integrates the following ideas, creating a cohesive perspective that captures the key points.\n\n##### The structure could look like this:\n\nCombine the following points into a single, coherent statement:\n- Point 1\n- Point 2\n- Point 3\n\nCreate a coherent argument from the following points:\n- Argument 1\n- Argument 2\n- Argument 3\n\nCreate a conclusion that encompasses the following points:\n- Conclusion Point 1\n- Conclusion Point 2\n- Conclusion Point 3\n\nFind a common thread among the following points and provide a unified perspective:\n- Idea 1\n- Idea 2\n- Idea 3\n\nProvide a statement synthesizing the relationship between the following points:\n- Point A\n- Point B\n- Point C\n\nWrite a synthesis of the following information, summarizing the main idea or overarching theme:\n- Information 1\n- Information 2\n- Information 3\n\nWrite a paragraph that ties together the following concepts:\n- Concept 1\n- Concept 2\n- Concept 3\n\nWrite a passage that summarizes the following ideas and identifies the relationship between them:\n- Idea A\n- Idea B\n- Idea C\n\n```\n\n#### Simplify and provide explanations:\n\n```\nBreak down the following text into simpler parts and explain it step-by-step for a beginner.\nExplain the following text in simple terms, using everyday language for a general audience.\nProvide a beginner-friendly explanation for the following text, assuming the reader has no prior knowledge of the subject.\nSimplify the following text to make it easily digestible for someone new to the topic.\nProvide a clear, concise explanation of the following text for someone with no background in the subject.\nWhat's a simple explanation for the key concept in the following text? Write it in one sentence.\nWhat's an easy way to understand the main idea in the following text? Provide a brief, simple explanation.\nWrite a clear explanation of the following text, focusing on the most important aspects in plain language.\nWrite a detailed explanation of the following text, breaking down complex concepts into simpler terms.\nWrite a layman's explanation for the following text, using everyday language and examples to illustrate the main points.\nWrite a step-by-step explanation of the process or concept in the following text, making it easy for a beginner to follow.\n```\n\n#### Writing:\n\n```\nCome up with a creative solution for the following problem:\nCreate a dialogue between two characters that discusses [topic]:\nDescribe a setting that includes [specific details]:\nImagine a world where [condition is met]. Describe this world in a paragraph.\nProvide an explanation of [topic] in 2-3 sentences.\nMake a list of pros and cons based on [specific topic]:\nDevelop a scene about [topic] that includes [specific details].\nCompose a short science fiction story that includes [specific element]:\nGenerate a story that revolves around [topic]. The story should be [genre] and no more than [length] words.\nFind an imaginative way to describe [specific topic]:\nWrite an interesting twist ending for a story about [specific event or topic].\n\n```\n\n\n##### Writing prompts (for practice creative writing):\n\n```\nCan you provide a writing prompt that requires the use of [specific writing technique or element], such as [dialogue, imagery, symbolism, etc.]?\nGenerate a creative writing prompt that focuses on [specific theme or genre], such as [romance, horror, fantasy, etc.].\nWhat's a good writing topic that would challenge the writer to [specific writing goal or objective], such as [developing a character, creating tension, building suspense, etc.]?\nCan you propose a unique idea for a writing prompt that would require the writer to [specific writing task], such as [writing from an unusual perspective, using a specific narrative style, etc.]?\nWrite a short story prompt that explores the theme of [specific theme or concept], such as [identity, transformation, forgiveness, etc.].\nWhat's a unique writing prompt that would challenge the writer to [specific writing task or challenge], such as [writing without using dialogue, writing in second person point of view, etc.]?\nCan you create a writing prompt that involves a fictional character who must [specific task or challenge], such as [overcome a fear, solve a mystery, etc.]?\nWhat's a writing prompt for a mystery story that involves [specific element or twist], such as [an unreliable narrator, a surprise ending, etc.]?\nCan you suggest a writing prompt for a descriptive scene that requires the writer to focus on [specific sensory detail or sensory experience], such as [using smell to create atmosphere, using touch to create emotion, etc.]?\nWhat's a writing prompt for a love story that involves [specific obstacle or challenge], such as [long distance, forbidden love, etc.]?\n```\n\n#### Proofreading and text editing:\n\n```\nProofread and edit the following text for any errors, typos, or mistakes:\nRewrite the following text, correcting any errors or mistakes:\nIdentify and correct the grammatical errors in the following text:\nRevise the following passage to improve its clarity, coherence, and overall quality:\nProvide constructive feedback and suggestions for improving the following text:\nWhat's the expected format for the following text? Please follow the guidelines provided:\nWrite a more concise and streamlined version of the following text:\nPropose alternative phrasing for the following text that better conveys the intended message:\nWhat's the appropriate tone and style for the following text? Please use a tone that is professional and formal.\nWrite a polished and refined version of the following text to improve its overall quality and readability.\n```\n\n#### Reading comprehension:\n\n```\nExplain the central idea of the following text below in a 2-3 sentence paragraph.\nExplain the following passage below in a concise paragraph.\nProvide a brief explanation of the text below, highlighting the main points in no more than 3-4 sentences.\nProvide a general understanding of the text below, emphasizing the key takeaways in 2-3 sentences.\nProvide a list of key vocabulary words used in the text below.\nProvide a one-sentence summary of the following text, highlighting the primary message.\nProvide a summary and analysis of the following passage, emphasizing the main points and discussing their significance in a brief paragraph.\nProvide the main idea of the following passage in a concise sentence.\nProvide an overview of the following passage in 2-3 sentences, highlighting the main themes and ideas.\nIdentify key points in the following passage and summarize them in a bullet point list.\nIdentify major themes discussed in the following text below and provide a brief explanation of each.\nIdentify the author's main argument in the following text and summarize it in a sentence or two.\nIdentify the author's perspective in the following passage and provide a brief explanation of their point of view.\nIdentify the intended audience for the following text and explain who the text is written for.\nIdentify the main idea of the following text and provide a brief summary in one or two sentences.\nIdentify the tone of the following text and provide a brief explanation of the author's attitude.\nIdentify the underlying message of the following text and explain the implicit meaning.\nIdentify the most important information in the following passage and summarize it in a bullet point list.\nWrite a brief interpretation of the text below, providing your understanding and analysis in a concise paragraph.\nWrite a paragraph that explains the most important information in the following text below, emphasizing the main points and their significance.\nWrite your personal opinion on the information presented in the following text, providing your perspective and analysis.\nWrite a reflection on the information presented in the following passage, discussing its relevance and implications.\nWrite a response to the following text based on your understanding, providing your thoughts and analysis in a concise paragraph.\nWrite a response to the questions based on the information presented in the following passage, answering each question with a brief explanation.\nWrite a short story that incorporates the information from the following text below, using the main points and themes to create a narrative.\nWrite a short summary of the following passage, emphasizing the main points and ideas in a concise paragraph.\n```\n\n\n#### Analyze and Evaluate:\nInstruction verbs: \"Evaluate\", \"Analyze\", \"Critique\", \"Assess\", \"Examine\" etc.\n\n```\n\nIdentify the literary devices used in the following text, such as metaphors, similes, personification, and alliteration.\nIdentify the key themes in the following passage, highlighting the recurring ideas and motifs.\nProvide a detailed analysis of the following text, examining its structure, style, tone, and literary devices.\nProvide an in-depth analysis of the following passage, exploring its meaning, symbolism, and themes.\nProvide an interpretation of the following text, offering your perspective on its meaning and significance.\nWhat are the key elements of the following passage, including its setting, characters, plot, and themes?\nWhat are the strengths and weaknesses of the following passage, evaluating its effectiveness in conveying its message or telling its story?\nWhat's the author's point of view in the following passage, and how does it shape the narrative or argument presented?\nWhat's the central argument of the following text, and how does the author support it with evidence and reasoning?\nWhat's the intended audience for the following passage, and how does the author tailor the language and style to appeal to them?\nWhat's the message of the following passage, and how does it relate to broader issues or concerns?\nWhat's the structure of the following passage, and how does it contribute to the overall effectiveness of the text?\nWrite a commentary on the following text, providing your opinion and analysis of its strengths and weaknesses.\nWrite a critical analysis of the following passage, examining its literary, cultural, or social significance.\nWrite a review of the following text, evaluating its merits and shortcomings as a work of literature, art, or media.\nSummarize the main points made in the following passage, highlighting the key ideas and arguments.\nGenerate reading comprehension questions based on the following passage, testing the reader's understanding of its content and meaning.\nProvide a summary and evaluation of the following passage, assessing its effectiveness in achieving its goals or conveying its message.\nProvide an analysis of the following text, examining its structure, language, and themes.\nWhat are your thoughts on the following passage, and how does it relate to your personal experiences or beliefs?\nWhat do you agree or disagree with in the following passage, and why?\nWhat's the central idea of the following passage, and how does it relate to broader themes or issues?\nWrite a critique of the following text, offering a detailed evaluation of its strengths and weaknesses.\nProvide a response to the following passage, sharing your thoughts and reactions to its content and themes.\nEvaluate the argument presented in following passage, and assess the author's use of evidence, logical reasoning, and rhetorical strategies.\n\n```\n\n\n#### Generate content:\n\n```\nWrite a story that starts with the following sentence:\nCreate a plot for a novel about the following theme:\nWrite a scene where the following event occurs:\nWhat if the following situation happened: \"...\"? Write a short story exploring the consequences.\nCan you write a script for a movie about the theme:\nWrite a tale that involves the following elements:\nCreate a character profile for a person with the following traits:\nWrite a song that describes the emotion: \nWhat would happen if the following event occurred: \"...\"? Write a short story exploring the outcome.\nCan you write a story that revolves around the concept: \"...\"?\nWrite a poem about the following theme: \nCreate a short story that includes the following elements:\nWhat if the following scenario took place: \"...\"? Write a story exploring the implications.\nCan you write a monologue for a character who experiences the following situation: \"...\"?\nWrite a story that explores the idea of:\n```\n\n\n#### Copywriting and Marketing:\n\n```\nCreate a captivating brand slogan for [company name] that reflects its core values and mission.\nDevelop a unique selling point for a product that deals with [specific problem or need], emphasizing its benefits and advantages.\nCraft a mission statement for a company that specializes in [specific industry or service], highlighting its goals and vision.\nDesign a promotional slogan for a product that addresses [specific problem or need], showcasing its features and benefits.\nCompose a catchy headline for an article about [specific topic], capturing the reader's attention and curiosity.\nCraft a social media post for a product that deals with [specific problem or need] to be shared on [social media platform], focusing on engaging visuals and persuasive language.\nInvent a memorable tagline for a product that tackles [specific problem or need], emphasizing its distinctive features.\nFormulate a concise elevator pitch for [your product\u002Fservice description], highlighting its unique value proposition and target market.\nIdentify the unique selling proposition for [product description], emphasizing its key differentiators and benefits to customers.\nWrite a compelling product description for [your product\u002Fservice description], focusing on its features, benefits, and target audience.\nCompose a convincing customer testimonial for [your product\u002Fservice description], sharing the positive impact it had on the customer's life or business.\nCreate a persuasive marketing message for [your product\u002Fservice description], highlighting its unique value proposition and how it solves customers' problems.\nWrite an engaging and persuasive blog post about [your product\u002Fservice description], emphasizing its benefits and why customers should choose it.\nCraft a persuasive email for [your product\u002Fservice description], focusing on its unique features, benefits, and a strong call to action.\nCompose an attention-grabbing social media post to promote [product\u002Fservice], showcasing its features and attractive visuals.\nWrite an eye-catching email subject line to promote [product\u002Fservice], encouraging recipients to open and read the email.\n```\n\n\n\n#### Make a summary:\n\n```\nSummarize the following text in a brief and concise manner.\nWhat is the primary idea\u002Fmessage conveyed in the following content?\nProvide a condensed version of the following text, highlighting its key points.\nWrite a short summary of the given content, emphasizing its main points and key takeaways.\nWhat is the main gist or essence of the following text?\nCan you provide an executive summary of the given content, outlining its main ideas and conclusions?\nWrite a quick overview of the following text, highlighting its key themes and ideas.\nWhat is the most important or significant takeaway from the given content?\nProvide a condensed summary of the following text, highlighting its essential points and ideas.\n```\n\n\n\n## Prompting Tips\n---\nZero-shot: Simply provide input and get a response. Useful for basic tasks but unpredictable results.\n\nFew-shot: Give a few examples showing the desired input-output pairs. Carefully selecting and ordering examples reduces variability. Works well when examples convey the style or format you want.\n\nInstructions: Directly tell the AI system what you want it to do, e.g. “Summarize this news article.” Can combine with few-shot prompting.\n\nChain-of-thought prompting: Ask the AI system to explain its reasoning step-by-step before concluding. Use few-shot or zero-shot. Complex examples and ensembling multiple systems help. Extract just the final answer to show users.\n\n\nIntro:\n- Responses are the text that the model generates based on the prompt. Prompts are the key to getting good responses.\n- Prompts are questions or instructions that you give to the model to get the response you want.\n- Think of instruction-followings models as a newly hired contractor who needs very specific instructions to complete a task.\n\nBeing specific:\n- Give clear examples and explanations. More examples improve understanding.\n- Provide context and details as if you were explaining the task to a child\n- Be as specific and descriptive as possible to guide the model to the correct response\n- Give examples to help the model understand what you want.\n\nDescribe the tone, style, or format\n- Instruct the model to use a particular tone or style in its response\n    - Example: “Write a short story in an exciting, suspenseful tone. Use archaic language.”\n- Ask for a response in a particular format, such as a list or table josn, markdown, html, etc.\n    - Example: “Categories the following items into a table with three columns, name, price, and category; In markdown format”\n- Use tags like \u003Carticle>content of the article ...\u003C\u002Farticle> to define structure in your prompt\n- For example, wrap a long piece of text in \u003Cp> tags to tell the model to treat it as a paragraph\n- specify the number of words or sentences in the response, You can also specify the time to reading the content, for instance, '10 minutes reading time'; Specifying an exact number of characters is less effective\n\nProvide a clear goal:\n- Explain the task and what you expect the model to do\n- Anticipate possible errors and instruct the model how to handle them\n- Tell the model to explain its thinking before giving a final conclusion. \n\nBreaking down complex tasks\n- Break down complex prompts into subtasks or multiple prompts to improve results\n- Use `Let's think step by step` to break down the task into sub components so the model would consider each step.\n   - Example: “Think through the steps required to solve this math problem, then provide the solution.”\n   - Example: “Describe your thought process for determining the theme of this short story.”\n- Tell the model to explain its thinking before giving a final conclusion.\n\n---\n\nIdentifying Main Arguments\n\n\n```\nIdentify the main arguments presented in the following text. List them in the format below.\n\nArgument 1:\nArgument 2:\n...\nText: \"\"\"\n{text input here} \n\n\"\"\"\n```\n\nReview Analysis\n\n\n```\nAnalyze the customer review provided below and list the positive and negative aspects mentioned. write them in the format below.\n\nPositive aspects:\n\n- Aspect 1:\n- Aspect 2: \n... \n\nNegative aspects:\n\n- Aspect 1:\n- Aspect 2:\n...\n\nReview: \"\"\"\n{customer_review_here}\n\"\"\"\n```\n\nComparing Ideas\n\n\n```\nCompare the two ideas presented in the following text. Please provide the similarities and differences in the format below.\n\nSimilarities:\n\n- Similarity 1:\n- Similarity 2: \n- ... \n\nDifferences:\n\n- Difference 1:\n- Difference 2: \n- ...\n\nText: \"\"\"\n{text input here}\n\"\"\"\n```\n\nIdentifying Key Information\n\n```\nExtract the key information from the following paragraph. First, identify the main problem, then list any solutions mentioned, and finally note the potential benefits of implementing these solutions. Use following format.\n\nMain problem:\n\n- Problem 1\n- Problem 2\n...\n\nSolutions:\n\n- Solution 1:\n- Solution 2: \n...\n\nPotential benefits:\n\n- Benefit 1:\n- Benefit 2:\n...\n\nText: \"\"\"\n\n{text input here}\n\n\"\"\"\n```\n\nGenerating Ideas\n\n\n```\nGenerate a list of 10 creative ideas for a new mobile app. The app should be focused on helping people improve their mental health and wellbeing. List them in the format below.\n\nIdea 1:\nIdea 2:\n...\nIdea 10:\n```\n\nParaphrasing\n\n```\nParaphrase the following sentence: \n\nArtificial intelligence has the potential to transform many aspects of our lives, but it also comes with significant risks.\n\nNew sentence: While artificial intelligence can revolutionize various aspects of our existence, it is not without considerable dangers.\n```\n\nExtraction with defined format\n\n```\nExtract the important entities mentioned in the article below. First extract all company names, then extract all people names, then extract specific topics which fit the content and finally extract general overarching themes\nDesired format:\nCompany names: \u003Ccomma_separated_list_of_company_names>\nPeople names: -||-\nSpecific topics: -||-\nGeneral themes: -||-\n\nText: \"\"\"\n{text input here}\n\"\"\"\n```\n\nExtraction using few-shot\n\n```\nExtract keywords from the corresponding texts below.\n\nText: {text1}\nKeywords: {example_of_keywords_for_text1}\n###\nText: {text2}\nKeywords: {example_of_keywords_for_text2}\n###\nText: {text3}\n\nKeywords:\n```\n\n\n\n## Advanced prompting techniques  \n\nThis section is under development specifically for GPT-4, the following are drafts but will work well for all instructioal-based GPTs\n\n### Generation & copywriting\n\n#### Writing blog post:\n\n```\nWrite a long form blog post about [topic]. The target audience is [target audience], and the tone should be [tone]. The post should have the following sections: [section 1], [section 2], etc. Use the following vocabulary and information content: [vocabulary and information content]. Context: [number of past prompts].\n\n```\n\n```\nPlease generate a blog post of 1000 words about the benefits of technology. The post should provide specific examples and be written in an informative and engaging style.\n\nContext:\n\n\"Technology has changed the way we live and work\"\n\"Advancements in technology have led to increased efficiency and productivity\"\n\"The impact of technology on society and the economy\"\n\t\n```\n\n```\nGenerate a long form blog post on the topic of [insert topic here]. Your post should have an engaging introduction, body, and conclusion, and include relevant information and examples. Use the following keywords to guide your writing: [insert keywords here].\n```\n\n```\nWrite a comprehensive long form blog post on [topic]. The post should be well-researched, informative, and engaging. It should include an introduction, several subheadings, and a conclusion. The post should be at least 1,500 words, and use the information provided below as a starting point. Conduct additional research as needed to ensure the post is comprehensive and informative\n```\n\n```\nWrite a comprehensive long form blog post on [topic]. Start with an attention-grabbing hook and structure the post into clear and concise sections. Use the previous following data as context and aim for a tone that is informative and engaging.\n```\n\n```\nWrite a long-form blog post about [topic]. The post should be at least 1000 words and cover the following points: [list of points to cover]. Use a clear and concise writing style and make sure to include examples and relevant information to support your arguments.\n```\n\n```\nCreate an informative and engaging long-form blog post on [topic], using the following keywords as a guide: [insert keywords here]. The post should be at least 1500 words and include an introduction, several subheadings, and a conclusion. Conduct additional research as needed to ensure the post is comprehensive and informative.\n```\n\n```\nWrite a well-researched and informative long-form blog post about [topic] that is structured into clear and concise sections. The post should be at least 1500 words and start with an attention-grabbing hook. Use the previous data as context and aim for a tone that is informative and engaging, providing examples and relevant information to support your arguments.\n```\n\t\n```\nCreate a long-form blog post that covers the following points about [topic]: [list of points to cover]. The post should be at least 1000 words and should use a clear and concise writing style. Provide examples and relevant information to support your arguments and make sure to include an introduction, main body, and conclusion that summarizes the key points and provides a take-away for the reader.\n```\n\t\n```\nWrite a long-form blog post about [topic] that is at least 1000 words and no more than 1500 words. The post should include an introduction that provides background information and sets the stage for the rest of the post, a main body that covers key points and provides relevant statistics, and a conclusion that summarizes the key points and provides a take-away for the reader. The tone should be informative but approachable, providing examples and relevant information to support your arguments.\n```\n\n```\nWrite a long form blog post about [topic]. The post should include an introduction, main body, and conclusion. The introduction should provide background information and set the stage for the rest of the post. The main body should cover key points and provide relevant statistics. The conclusion should summarize the key points and provide a take-away for the reader. The post should be at least 1000 words and no more than 1500 words, and the tone should be informative but approachable.\n```\n\n#### Report: \n\n```\nPlease write a report about [topic]. Your report should be structured, clear, and concise. The information should be organized in a bullet point list or table. The total word count should be no more than [x] words. The report should be divided into the following sections, each with a maximum word count of [y]: [section 1], [section 2], [section 3], etc.\n```\n\n\n#### Product description:\n\t\n```\nWrite a product description for [product name], including specifications, features, benefits, and any additional relevant information\n```\n\n\n\n#### Case study:\n\t\n```\nWrite a case study about [topic]. In this case study, you should discuss [key points]. Be sure to include [specific information]. Use clear and concise language.\n```\n\t\n```\nWrite a case study and product description page given product. The case study should include an introduction, background information, problem statement, solution, and results. The product description should explain what the product is and why it was created, what problem it solves, how it solves the problem, and the outcomes. Use clear and concise language, and provide examples of similar pages to guide the model. Tone should be professional and informative. \n\n```\n\n#### Essay:\n\t\n```\nWrite well-structured [type of the essay] essay about based on following:\n\nTopic: [subject matter of the essay]\n\nProcedures:\n\nIntroduction\nBackground information\nKey arguments\nSupporting evidence\nCounterarguments\nConclusion\n\nContext:\n\nRelevant information about the topic\nImportance of the topic\nPurpose of the essay\n`\n\t\n```\nNote: Type of essay can be expository, narrative, argumentative, descriptive, compare and contrast, cause and effect ...\n\n\t\n#### Job Description:\n\n```\nCreate a job description for [Job title] at [Location\u002FCompany name]. include Responsibilities, Qualifications, Compensation package, Company culture based on given details:\n\n[List keywords related to responsibilities, qualifications, mission or vision statement ...]\n\t\n```\n\n```\nWrite a job description for [Job Title] at [Company Name] located in [Location]. The job is in the [Industry] industry and is a [Type of Job].\nPlease include sections for Job Responsibilities, Job Requirements, Job Benefits based on following details:\n\n[examples, keywords]\n\n```\n\n#### Github readme page\n\n```\nWrite a detailed Github readme for a new open-source project. The readme should include a brief yet informative description of the project, step-by-step installation instructions, clear usage examples, and well-defined contribution guidelines in markdown format.\n\n```\n\n```\nGenerate a Github README page for given project\n[project details, related keywords]\nProcedures:\n\nIntroduction: Provide a brief overview of the project\nInstallation: Explain how to install and set up the project\nUsage: Explain how to use the project\nContributions: Explain how to contribute to the project\nConclusion: Sum up the project and provide any additional information.\n\n```\n\n```\nWrite a GitHub readme page for a project. The readme page should include an introduction to the project, its purpose, installation instructions, and usage instructions. The language should be clear and concise\n```\n\n\n\n\n### References\n\n1. [Quantifying LMs’ Sensitivity to Prompt Formatting](https:\u002F\u002Farxiv.org\u002Fabs\u002F2406.08483)\n2. [On the Worst Prompt Performance of LLMs](https:\u002F\u002Farxiv.org\u002Fabs\u002F2406.04692)\n3. [Open Clinical LLMs Are Sensitive to Instruction Phrasings](https:\u002F\u002Farxiv.org\u002Fabs\u002F2310.01968)\n4. [What Did I Do Wrong? Quantifying LLMs’ Sensitivity and Consistency to Prompt Rephrasings](https:\u002F\u002Farxiv.org\u002Fabs\u002F2401.17814)\n5. [Large Language Models Are Sensitive to the Order of Options](https:\u002F\u002Farxiv.org\u002Fabs\u002F2310.10846)\n6. [Lost in the Middle: How Language Models Use Long Contexts](https:\u002F\u002Farxiv.org\u002Fabs\u002F2307.03172)\n7. [Word Importance Explains How Prompts Affect LLMs](https:\u002F\u002Farxiv.org\u002Fabs\u002F2403.03028)\n8. [Which Words Matter Most in Zero-Shot Prompts?](https:\u002F\u002Farxiv.org\u002Fabs\u002F2502.03418)\n9. [Do Models Really Learn to Follow Instructions?](https:\u002F\u002Faclanthology.org\u002F2023.acl-short.113\u002F)\n10. [Training Language Models to Follow Instructions with Human Feedback (InstructGPT)](https:\u002F\u002Farxiv.org\u002Fabs\u002F2203.02155)\n11. [Finetuned Language Models Are Zero-Shot Learners](https:\u002F\u002Farxiv.org\u002Fabs\u002F2109.01652)\n\n\n\n\n\n\n","# 适用于 GPT-instruct 和 GPT-3.5 的指令遵循提示模板\n\n\n[InstructGPT](https:\u002F\u002Farxiv.org\u002Fabs\u002F2203.02155) 是最早在基础模型之上采用监督微调方式进行训练的语言模型系列。\n\n本项目包含专为 GPT-instruct（2020 年末）及后续的 GPT-3.5-instruct 设计的提示模板和策略。GPT-3.5-instruct 是 GPT-3 的首个经过指令微调的版本，旨在通过零样本提示来遵循指令并解决语言相关任务。这种指令遵循能力标志着大型语言模型向对齐人类意图迈出了重要一步。\n\n\n语言模型对措辞、上下文中的前几个词以及最后几个词非常敏感。\n\n**措辞：**\n在措辞方面，用词、风格或格式上的细微变化都可能导致准确率大幅波动。一些研究表明，在少样本任务中，准确率会因提示格式的不同而相差多达 76 个百分点 [1]；即使是语义等价的指令，最佳与最差表现之间也可能出现高达 45 个百分点的差距，尤其对于大型模型而言 [2][3][4][5]。\n\n**位置：**\n除了措辞之外，模型对位置也极为敏感。当输入较长文本时，它们往往更关注开头和结尾部分，而忽略中间的重要细节，这种现象被称为“迷失于中间”效应。因此，语言模型倾向于过度重视提示的开头和结尾内容 [6]。这种“U 形”效应也称为首因效应和近因效应——即最先和最后接收到的信息会被赋予更高的权重。有观点认为，这种序列位置效应与人类的认知机制颇为相似 [7]。\n\n\n这些位置和措辞方面的敏感性在 *基础模型* 或仅经过 SFT 微调的模型中最为显著；而经过强化学习与人类反馈优化（RLHF）的模型则明显更加稳健[9][10][11]。因此，本指南更适合用于基础模型和仅经 SFT 微调的模型。\n\n\n## 工作原理：\n\n它采用一种简单的结构来提供指导，并能灵活适应任何语言相关任务。其中，前几个标记——尤其是诸如 *“给定”“以下”“如下”“接下来的段落”* 等动词——在引导模型行为方面具有不成比例的影响力[8][9]。\n\n\n结构：\n- 直接交代背景\n- 提供上下文\n- 指令性动作\n\n\n## 使用方法：\n\n### 有用的动词：\n\n指令性动词位于提示的首位，用于指示模型执行特定操作。它们是提示中最关键的部分。可以说，这些动词就像魔法般的词语，能够使提示成功运作，帮助机器理解并遵循您的指令。每个动词都有其特定含义，有助于模型明确您期望的答案类型。例如，如果您要求模型解释某事，它将给出详细的说明；而若您让模型进行总结，则会提供简要概述。\n\n- \u003Cdetails>\u003Csummary>用于指向输入文本位置的有用词汇：（指明输入文本的具体位置）\u003C\u002Fsummary>\u003Cp>\n  - 给定文本\n  \u003Cbr>\n  - 接下来的段落\n  \u003Cbr>\n  - 以下\n  \u003Cbr>\n  - 如下\n- \u003Cdetails>\u003Csummary>用于下达指令的有用词汇：（向模型发出具体指示）\u003C\u002Fsummary>\u003Cp>\n  - 解释\n\t\u003Cbr>\n  - 创造\n\t\u003Cbr>\n  - 生成\n\t\u003Cbr>\n  - 提供\n\t\u003Cbr>\n  - 写作\n\t\u003Cbr>\n  - 总结\n\t\u003Cbr>\n  - 释义\n\t\u003Cbr>\n  - 翻译\n\t\u003Cbr>\n  - 改写\n\t\u003Cbr>\n  - 重新措辞\n\t\u003Cbr>\n  - 列举\n\t\u003Cbr>\n  - 提取\n\t\u003Cbr>\n  - 摘录\n\t\u003Cbr>\n  - 分析\n\t\u003Cbr>\n  - 定义\n\t\u003Cbr>\n  - 识别\n\t\u003Cbr>\n  - 描述\n\t\u003Cbr>\n  - 预测\n\t\u003Cbr>\n  - 解释\n\t\u003Cbr>\n  - 分析\n\t\u003Cbr>\n  - 比较\n\t\u003Cbr>\n  - 分类\n\t\u003Cbr>\n  - 评估\n\t\u003Cbr>\n  - 评论\n\t\u003Cbr>\n  - 区分\n\t\u003Cbr>\n  - 检查\n\t\u003Cbr>\n  - 阐述\n\t\u003Cbr>\n  - 概述\n\t\u003Cbr>\n  - 计算\n\t\u003Cbr>\n  - 推断\n\t\u003Cbr>\n  - 修改\n\t\u003Cbr>\n  - 概括\n\t\u003Cbr>\n  - 归类\n\t\u003Cbr>\n  - 发展\n\t\u003Cbr>\n  - 评价\n\t\u003Cbr>\n  - 构思\n\t\u003Cbr>\n  - 讨论\n\t\u003Cbr>\n  - 澄清\n\t\u003Cbr>\n  - 强调\n\t\u003Cbr>\n  - 简化\n\t\u003Cbr>\n  - 应用\n\t\u003Cbr>\n  - 建议\u002F提出\n\t\u003Cbr>\n  - 制作\n\t\u003Cbr>\n   * 在使用 ChatGPT 时，您可以在句首加上“你能”，使其更具对话感，但这一方式同样适用于指令型模型和 ChatGPT。\n    - 你能提供……吗？\n    - 你能生成……吗？\n\u003C\u002Fp>\u003C\u002Fdetails>\n\n### 常见用例：\n\n\n#### 分类\n\n适用于自然语言处理中分类任务的指令动词\n\n  - 将以下内容`分类`为物理性质或化学性质\n  - `识别`给定段落的主题思想\n  - 将以下段落`归类`为神话或事实\n  - 根据各项特征，将`每项`分配到对应的类别\n  - 列出给定数据集的`五个主要类别`。\n  - 根据共同特征将项目`分组`\n  - 按照数据收集的日期对数据进行`排序`\n  - 为每个数据点`标注`其所属类别\n  - 根据数据的相似性将其`划分为`更小的子组\n  - 根据特征的相似性将项目`分组`\n  - 为每组`标记`一个描述性的名称。\n\n#### 生成\n\n适用于生成任务的指令动词\n\n  - 根据给定参数`生成`一段新文本\n  - 根据以下内容`创作`一则简短且引人注目的标题，旨在推广该产品\n  - 使用以下关键词`编写`一个故事\n  - 根据给定的句式结构`构造`一个新的句子\n  - `创作`一篇与给定样本风格相似的新文本\n  - 结合多个来源的元素`构建`一篇新文章\n  - 根据给定主题`创作`一首新诗\n  - 以创造性的方式结合不同元素`组成`一篇新文章\n  - 根据给定信息`构思`一个新的叙事\n  - 使用以下元素`编造`一个新故事。\n\n#### 转换：\n\n适用于转换任务的指令动词\n\n- 翻译：\n  - 将以下函数`翻译`成C#\n  - 将以下内容分别`翻译`成：1. 英语，2. 法语，3. 瑞典语\n- 概括：\n  - 概括给定文章的`要点`\n- 改写：\n  - 改写以下句子以表达相同的意思\n  - 重新措辞以下句子，使其更加简洁\n- 简化：\n  - 简化以下方程，使其更易于理解\n- 修改：\n  - 修改以下段落，使其更加清晰和简洁\n- 梳理：\n  - 梳理解决给定问题的`步骤`\n- 计算：\n  - 计算以下物品的`总成本`\n- 推断：\n  - 根据以下上下文推断[术语、模糊短语]的含义：\n- 应用：\n  - 应用以下公式计算结果\n  - 将给定的语气和语调`应用`到下文\n\n#### 比较：\n\n适用于比较任务的指令动词\n\n- 比较：\n  - 对两篇给定文本进行`比较`并对比异同\n- 对比：\n  - 对给定段落进行`对比`，以突出它们之间的差异\n- 区分：\n  - 区分两个给定术语之间的`区别`\n- 考察：\n  - 考察两篇给定文本之间的`相似之处和不同之处`\n- 分析：\n  - 分析两篇给定文章，找出它们的`相似点和不同点`\n- 评论：\n  - 评论两篇给定文章，比较它们的`优缺点`\n- 评估：\n  - 评估两篇给定文章，判断哪一篇`更为有效`\n\n### 常见指令提示的结构：\n\n一种基本且实用的指令提示结构如下：\n\n`指令` + `引导后续内容的词语`\n\n  - `生成一首诗` + `基于以下段落：`\n\n  - `创建一篇报道` + `基于以下段落`\n\n  - `撰写摘要` + `关于以下段落`\n\n\n#### 上述结构的使用示例：\n\n**输入：**\n\n```\n根据以下内容写一首诗：\n\n幽灵、第四维度、人工智能、极权主义、权力\n```\n\n**输出：**\n\n```\n第四维度的幽灵在游荡，\n那是一个我们无法触及的未知领域。\n然而，在这个世界上，人工智能已经崛起，\n它的力量和影响力无处不在。\n\n凭借明亮的算法和代码，\n它掌握着无限力量的钥匙。\n它以极权主义的方式牢牢掌控，\n并以其全部力量施展着它的魔力。\n\n但这种力量究竟属于我们吗？\n还是仅仅成为掌权者的工具？\n他们的幽灵仍在游荡，却是否会畏惧，\n当面对自己所赋予的力量带来的后果时？\n\n因此，让我们倾听这幽灵般的呼唤，\n将人工智能用于善举，造福所有人。\n不要被它的力量所迷惑，\n而应超越它，回应那召唤。\n```\n\n更好的提示方式 ✅：\n\n```\n请创作一首发人深省的诗歌，融入幽灵、第四维度、人工智能、极权主义和权力等主题。诗歌应采用传统格式，共四节，并保持一致的押韵模式。\n```\n\n### 更多指令命令：\n\n\n\n#### 编程相关任务：\n\n```\n开发一个解决以下问题的函数：[问题描述]。\n通过编写脚本自动化以下流程：[任务描述]。\n创建一个解决以下问题的算法：[问题描述]。\n解释以下代码的逻辑：[代码片段]。\n优化以下函数，以提升性能、减少内存占用或提高可读性。\n编写一个满足以下要求的函数：[要求描述]。\n用简单明了的语言向非技术人员解释以下代码的作用。\n调试以下代码以纠正错误，并说明错误原因。\n```\n\n\n#### 重述一段文字：\n\n```\n用你自己的话改写下面的文字：\n在保持原意的前提下改写提供的文本：\n用简洁的方式概括以下段落：\n在保留主要观点的前提下简化给定段落：\n使用其他表达方式改写给定文本：\n将以下段落浓缩至关键要点：\n简要重述提供的文本，同时不丢失其精髓：\n将下面的段落改写得更加简洁：\n以不同的方式表达以下文字，同时保持其意图不变：\n```\n\n\n#### 翻译一段文字：\n\n```\n将以下文字翻译成：1. 英语，2. 法语，3. 瑞典语\n将以下内容翻译成：1. 口语化，2. 俚语，3. 习语化的英语\n请指出以下各段落中哪一段最接近原文的翻译。\n```\n\n#### 从一段文字中提取数据：\n\n```\n从给定段落中提取[概念\u002F主题]：\n在以下段落中挑出[概念\u002F主题]：\n以下文字的主要观点是什么：\n针对[概念\u002F主题]，对给定文字进行总结：\n```\n\n\n#### 对一段文字进行分类：\n\n```\n根据以下段落的文风、语气和主题，判断其体裁。\n根据以下文本的结构和组织方式对其进行分类，找出其中反复出现的模式或主题。\n指出以下段落的主要主题或论点，概括其核心思想或论证。\n基于以下文本的惯例和特征，它属于哪种体裁？\n根据其 intended purpose 和受众，以下文本属于哪种类型？\n根据以下段落的语言、语气和风格，其目标读者是谁？\n以下文本的目的是什么？它试图传达什么样的信息或观点？\n根据以下文本的结构和风格，写出它的形式（例如诗歌、散文、文章等）。\n写出以下段落的文学风格，指出其中使用的任何文学手法或技巧。\n根据以下文本的语言、态度和情感影响，写出它的语气。\n```\n\n\n##### 文本分类：\n\n```\n以下文本属于哪种体裁\u002F类别？请为其分配一个或多个合适的类别\u002F体裁。\n你能将以下文本归类为某种特定类型的写作吗？如果是，它是什么？\n以下文本属于哪种类型？请选择最合适的类别或体裁。\n根据以下文本的内容，为其写一个标签或标识。\n以下文本代表哪种类型的文本？请选择最合适的类别或体裁。\n你能根据以下文本的主题内容对其进行分类吗？如果可以，它属于哪个类别？\n以下文本涉及什么主题？请选择最佳的类别或话题。\n根据以下文本的语气和内容，为其写一个标签或标识。\n以下文本属于哪个类别？请选择最相关的类别或体裁。\n你能根据以下文本的语气和风格，为其分配一个类别或体裁吗？\n```\n\n#### 比较与对比：\n\n```\n比较并对比以下两段文字，用要点列表突出它们的相似之处和不同之处。\n对以下两段文字进行并列比较，指出关键的相似点和不同点。\n对以下两段文字进行总结和比较，突出主要观点，并对比关键差异。\n以下两段文字有哪些相似之处和不同之处？请用一段话详细比较。\n以下两段文字之间有什么关系？请用要点列表写出比较和对比。\n对以下两段文字进行比较和对比，用一段话突出它们的相似之处和不同之处。\n对以下两段文字进行对比，用要点列表强调关键差异。\n综合以下两段文字的相似点和不同点，用一段话突出要点并对比差异。\n```\n\n\n#### 合并要点或想法：\n\n```\n将以下要点合并成一句连贯的陈述：\n通过整合以下要点，构建一个有说服力的论点：\n创建一个涵盖以下想法的全面结论：\n撰写一条统一的陈述，将以下想法纳入其中，呈现一个连贯的观点：\n找出以下要点之间的共同线索，并撰写一条将它们联系起来的陈述：\n就以下要点提供一个统一的观点，将其作为一个整体呈现：\n以下要点之间有什么共同主题？它们之间有何关联？\n提供一条综合性的陈述，捕捉以下要点之间的关系：\n连接以下要点的主要思想是什么？如何呈现一个统一的观点？\n包含以下要点的总体思路是什么？如何提出一个连贯的论点？\n以下要点之间有什么关系？它们如何相互契合？\n综合以下信息，撰写一条连贯的陈述，抓住要点：\n撰写一段将以下概念联系在一起并呈现统一视角的段落：\n撰写一篇摘要，捕捉以下想法的本质，并将其作为一个整体呈现：\n撰写一份简短的摘要，统一以下想法，给出清晰、连贯的陈述：\n撰写一篇摘要，整合以下想法，形成一个连贯的观点，抓住要点。\n\n##### 结构可以是这样的：\n\n将以下要点合并成一句连贯的陈述：\n- 要点1\n- 要点2\n- 要点3\n\n从以下要点中构建一个连贯的论点：\n- 论点1\n- 论点2\n- 论点3\n\n创建一个涵盖以下要点的结论：\n- 结论要点1\n- 结论要点2\n- 结论要点3\n\n在以下要点中找到共同线索，并提供一个统一的观点：\n- 观点1\n- 观点2\n- 观点3\n\n提供一条综合以下要点之间关系的陈述：\n- 要点A\n- 要点B\n- 要点C\n\n综合以下信息，撰写一条总结主旨或总体主题的陈述：\n- 信息1\n- 信息2\n- 信息3\n\n撰写一段将以下概念联系在一起的段落：\n- 概念1\n- 概念2\n- 概念3\n\n撰写一段总结以下想法并阐明它们之间关系的文章：\n- 思想A\n- 思想B\n- 思想C\n\n```\n\n#### 简化并解释：\n\n```\n将以下文本分解为更简单的部分，并以逐步的方式向初学者解释。\n用通俗易懂的语言，为普通读者解释以下文本。\n为以下文本提供适合初学者的解释，假设读者对该主题一无所知。\n简化以下文本，使其易于对该主题不熟悉的人理解。\n为没有任何相关背景知识的人，提供关于以下文本的清晰简洁的解释。\n以下文本中的关键概念可以用一句话简单地解释吗？请用一句话回答。\n有没有一种简单的方法来理解以下文本中的主要思想？请提供一个简短而简单的解释。\n用通俗的语言，撰写一篇清晰的解释，重点阐述最重要的方面。\n详细解释以下文本，将复杂概念分解为更简单的术语。\n用日常语言和实例说明主要要点，为以下文本撰写一份面向普通人的解释。\n按照步骤解释以下文本中的过程或概念，使初学者能够轻松跟随。\n```\n\n```\n为以下问题想出一个富有创意的解决方案：\n创作一段关于[主题]的两位角色之间的对话：\n描述一个包含[具体细节]的场景：\n想象一个满足[条件]的世界。用一段话描述这个世界。\n用2-3句话解释[主题]。\n根据[具体主题]列出优缺点清单：\n编写一个关于[主题]的场景，其中包含[具体细节]。\n创作一个包含[特定元素]的短篇科幻故事：\n生成一个围绕[主题]的故事。故事应属于[类型]，字数不超过[长度]字。\n找到一种富有想象力的方式来描述[具体主题]：\n为关于[具体事件或主题]的故事写一个有趣的反转结局。\n\n```\n\n\n##### 写作提示（用于练习创意写作）：\n\n```\n你能提供一个需要使用[特定写作技巧或元素]的写作提示吗，比如[对话、意象、象征等]？\n生成一个以[特定主题或类型]为中心的创意写作提示，例如[爱情、恐怖、奇幻等]。\n有什么好的写作题目能够挑战作者实现[特定写作目标或任务]，比如[塑造人物、制造紧张感、营造悬念等]？\n你能否提出一个独特的写作提示，要求作者完成[特定写作任务]，例如[从不同寻常的角度写作、采用特定叙事风格等]？\n写一个探讨[特定主题或概念]的短篇故事提示，比如[身份认同、转变、宽恕等]。\n有什么独特的写作提示可以挑战作者完成[特定写作任务或挑战]，例如[不使用对话写作、以第二人称视角写作等]？\n你能创建一个涉及虚构角色必须完成[特定任务或挑战]的写作提示吗，比如[克服恐惧、解开谜团等]？\n有什么适合推理小说的写作提示，其中包含[特定元素或情节转折]，比如[不可靠的叙述者、出人意料的结局等]？\n你能建议一个描写场景的写作提示，要求作者专注于[特定感官细节或感官体验]，比如[利用气味营造氛围、通过触觉表达情感等]吗？\n有什么关于爱情故事的写作提示，其中涉及[特定障碍或挑战]，比如[异地恋、禁忌之恋等]？\n```\n\n#### 校对与文本编辑：\n\n```\n校对并编辑以下文本，找出并修正任何错误、错别字或不当之处：\n重写以下文本，纠正其中的错误或不当之处：\n找出并改正以下文本中的语法错误：\n修改以下段落，以提高其清晰度、连贯性和整体质量：\n为以下文本提供建设性的反馈和改进建议：\n以下文本的预期格式是什么？请按照提供的指南进行调整：\n为以下文本撰写一个更简洁流畅的版本：\n为以下文本提出替代措辞，使其更好地传达原意：\n以下文本应采用何种语气和风格？请使用专业且正式的语气。\n为以下文本撰写一个润色精修版，以提升其整体质量和可读性。\n```\n\n#### 阅读理解：\n\n```\n用2-3句话概括以下文本的中心思想。\n用简明的一段文字解释以下段落。\n简要说明以下文本的主要内容，用不超过3-4句话突出重点。\n概述以下文本，用2-3句话强调关键要点。\n列出以下文本中出现的关键词汇。\n用一句话总结以下文本，突出其核心信息。\n对以下段落进行总结与分析，强调主要观点并简要讨论其意义。\n用一句话概括以下段落的主旨。\n用2-3句话概述以下段落，突出其中的主要主题和思想。\n找出以下段落中的关键点，并以项目符号列表形式加以总结。\n识别以下文本中讨论的主要主题，并对每个主题进行简要说明。\n确定以下文本中作者的主要论点，并用一两句话加以概括。\n辨识以下段落中作者的观点，并简要解释其立场。\n判断以下文本的目标读者群体，并说明该文是为谁而写。\n明确以下文本的主旨，并用一两句话简要概括。\n辨别以下文本的语气，并简要说明作者的态度。\n揭示以下文本的潜在含义，并解释其隐含的信息。\n提取以下段落中最重要信息，并以项目符号列表形式加以总结。\n针对以下文本，撰写一段简短解读，阐明你的理解与分析。\n写一段文字，解释以下文本中的最重要信息，强调主要观点及其意义。\n就以下文本所呈现的信息发表个人看法，给出你的观点与分析。\n就以下段落所呈现的信息进行反思，讨论其相关性与影响。\n根据你对以下文本的理解，写一段回应，简要阐述你的想法与分析。\n根据以下段落所提供的信息，回答问题，每题用简短解释作答。\n基于以下文本中的信息，创作一个短篇故事，运用其中的主要观点和主题构建情节。\n为以下段落撰写简短摘要，用一段文字突出主要观点和思想。\n```\n\n\n#### 分析与评价：\n指令动词：“评估”、“分析”、“评论”、“考察”、“审视”等。\n\n```\n\n识别以下文本中使用的文学手法，例如隐喻、明喻、拟人和头韵。\n指出以下段落中的关键主题，突出其中反复出现的思想和意象。\n对以下文本进行详细分析，考察其结构、风格、语气以及所运用的文学手法。\n深入剖析以下段落，探讨其含义、象征意义及主题。\n解读以下文本，从你的角度阐释其意义与重要性。\n以下段落的关键要素有哪些？包括场景、人物、情节和主题。\n评析以下段落的优点与不足，评估其在传达信息或讲述故事方面的有效性。\n作者在以下段落中持何种观点？这种观点如何塑造了叙事或论点？\n以下文本的核心论点是什么？作者如何通过证据和推理来支持这一论点？\n以下段落的目标读者是谁？作者如何调整语言和风格以吸引他们？\n以下段落想要传达什么信息？它与更广泛的问题或关注点有何关联？\n以下段落的结构是怎样的？这种结构如何提升整篇文本的整体效果？\n为以下文本撰写评论，提出你对其优缺点的看法与分析。\n对以下段落进行批判性分析，探讨其文学、文化或社会意义。\n撰写一篇关于以下文本的评论，评价其作为文学、艺术或媒体作品的优点与不足。\n概括以下段落的主要观点，突出关键思想和论据。\n根据以下段落设计阅读理解题，测试读者对其内容和含义的理解程度。\n对以下段落进行总结与评价，评估其在实现目标或传达信息方面的有效性。\n分析以下文本，考察其结构、语言和主题。\n你对以下段落有何看法？它与你的个人经历或信念有何联系？\n你在以下段落中同意或不同意哪些内容？为什么？\n以下段落的核心思想是什么？它与更广泛的主题或问题有何关联？\n为以下文本撰写一篇评论，详细评估其优点与缺点。\n针对以下段落发表回应，分享你对其内容和主题的想法与感受。\n评价以下段落中提出的论点，并评估作者在使用证据、逻辑推理和修辞策略方面的表现。\n```\n\n\n#### 创作内容：\n\n```\n以以下句子开头写一个故事：\n围绕以下主题创作一部小说的情节：\n编写一个发生以下事件的场景：\n如果以下情况真的发生了：“……”？请写一篇短篇小说，探讨其后果。\n你能为以以下主题为主题的电影写一个剧本吗？\n创作一个包含以下元素的故事：\n为具有以下特质的人物创建角色简介：\n写一首描述以下情感的歌曲：\n如果以下事件真的发生了：“……”？请写一篇短篇小说，探索其结果。\n你能写一个围绕以下概念展开的故事吗？\n写一首关于以下主题的诗：\n创作一个包含以下元素的短篇小说：\n如果以下情景真的发生了：“……”？请写一个故事，探讨其影响。\n你能为经历以下情境的人物写一段独白吗：“……”？\n写一个探索以下理念的故事：\n```\n\n\n#### 文案与营销：\n\n```\n为[公司名称]创作一句引人入胜的品牌口号，体现其核心价值观和使命。\n为解决[具体问题或需求]的产品制定独特的卖点，强调其优势和益处。\n为一家专注于[特定行业或服务]的公司撰写一份使命宣言，突出其目标和愿景。\n为一款针对[具体问题或需求]的产品设计一句宣传口号，展示其特点和好处。\n为一篇关于[特定主题]的文章撰写一个吸引人的标题，抓住读者的注意力和好奇心。\n为一款解决[具体问题或需求]的产品撰写一则社交媒体帖子，在[社交媒体平台]上发布，注重引人注目的视觉效果和富有说服力的语言。\n为一款应对[特定问题或需求]的产品创造一句令人难忘的广告语，突出其独特之处。\n为[您的产品\u002F服务描述]拟定一段简洁的电梯式演讲，突出其独特的价值主张和目标市场。\n找出[产品描述]的独特卖点，强调其关键差异性和对客户的好处。\n为[您的产品\u002F服务描述]撰写一段引人入胜的产品描述，重点介绍其特性、益处和目标受众。\n为[您的产品\u002F服务描述]撰写一段有说服力的客户评价，分享它对客户生活或业务产生的积极影响。\n为[您的产品\u002F服务描述]创作一条有感染力的营销信息，突出其独特的价值主张以及如何解决客户问题。\n撰写一篇引人入胜且具有说服力的博客文章，介绍[您的产品\u002F服务描述], 强调其益处以及客户为何应该选择它。\n为[您的产品\u002F服务描述]撰写一封有说服力的电子邮件，重点介绍其独特功能、益处以及强有力的行动号召。\n撰写一则引人注目的社交媒体帖子，推广[产品\u002F服务], 展示其特色和吸引人的视觉效果。\n为推广[产品\u002F服务]撰写一个醒目的邮件主题，鼓励收件人打开并阅读邮件。\n```\n\n\n\n#### 概括内容：\n\n```\n用简短精炼的方式概括以下文本。\n以下内容传达的主要思想\u002F信息是什么？\n提供以下文本的浓缩版本，突出其要点。\n撰写一段简短的摘要，强调给定内容的主要观点和关键收获。\n以下文本的核心要义或精髓是什么？\n能否为给定内容提供一份执行摘要，概述其主要思想和结论？\n为以下文本撰写一个快速概览，突出其关键主题和思想。\n从给定内容中可以得出的最重要或最具意义的启示是什么？\n提供以下文本的精简摘要，突出其核心要点和思想。\n```\n\n## 提示技巧\n---\n零样本：只需提供输入即可获得响应。适用于基本任务，但结果可能不可预测。\n\n少样本：给出几个展示所需输入-输出对的示例。精心选择和排序示例可以减少结果的变异性。当示例能够传达你想要的风格或格式时，效果最佳。\n\n指令：直接告诉AI系统你要它做什么，例如“总结这篇新闻文章”。可以与少样本提示结合使用。\n\n思维链提示：在得出结论之前，要求AI系统逐步解释其推理过程。可采用少样本或零样本方式。复杂的示例以及集成多个系统会有帮助。最终只提取答案展示给用户即可。\n\n\n引言：\n- 响应是模型根据提示生成的文本。提示是获得良好响应的关键。\n- 提示是你为模型提供的问题或指令，以获取你想要的响应。\n- 可以把指令遵循型模型想象成一位新入职的承包商，需要非常具体的指示才能完成任务。\n\n具体性：\n- 提供清晰的示例和说明。更多的示例有助于提高理解。\n- 提供上下文和细节，就像向孩子解释任务一样。\n- 尽可能具体和详细地描述，以引导模型生成正确的响应。\n- 给出示例来帮助模型理解你的需求。\n\n描述语气、风格或格式：\n- 指示模型在回复中使用特定的语气或风格。\n    - 例如：“用激动人心、充满悬念的语气写一篇短篇小说，并使用古语。”\n- 要求以特定格式回复，如列表、表格、JSON、Markdown、HTML等。\n    - 例如：“将以下物品按名称、价格和类别分类，制成三列的表格；请以Markdown格式呈现。”\n- 使用标签，如\u003Carticle>文章内容...\u003C\u002Farticle>来定义提示中的结构。\n- 例如，用\u003Cp>标签包裹一段长文本，以告知模型将其视为一个段落。\n- 指定响应的字数或句子数量，也可以指定阅读内容所需的时间，比如“10分钟阅读时间”；而精确指定字符数的效果则较差。\n\n明确目标：\n- 解释任务内容以及你期望模型完成什么。\n- 预见可能出现的错误，并指导模型如何处理。\n- 让模型在给出最终结论前先解释其思考过程。\n\n分解复杂任务：\n- 将复杂的提示分解为子任务或多个提示，以提升效果。\n- 使用“让我们一步步思考”将任务分解为子组件，使模型考虑每一步。\n   - 例如：“仔细思考解决这道数学题所需的步骤，然后给出答案。”\n   - 例如：“请描述你判断这篇短篇小说主题的思考过程。”\n- 在给出最终结论前，让模型先解释其思考过程。\n\n---\n\n识别主要论点\n\n\n```\n请识别以下文本中提出的主要论点，并按照如下格式列出。\n\n论点1：\n论点2：\n...\n文本：\"\"\"\n{此处输入文本}\n\"\"\"\n```\n\n评论分析\n\n\n```\n请分析下方的客户评论，并列出其中提到的积极和消极方面，按照如下格式书写。\n\n积极方面：\n\n- 方面1：\n- 方面2：\n...\n\n消极方面：\n\n- 方面1：\n- 方面2：\n...\n\n评论：\"\"\"\n{此处输入客户评论}\n\"\"\"\n```\n\n比较观点\n\n\n```\n比较以下文本中提出的两种观点。请按照如下格式列出它们的相似点和不同点。\n\n相似点：\n\n- 相似点1：\n- 相似点2：\n- ...\n\n不同点：\n\n- 差异1：\n- 差异2：\n- ...\n\n文本：\"\"\"\n{此处输入文本}\n\"\"\"\n```\n\n提取关键信息\n\n```\n从以下段落中提取关键信息。首先识别主要问题，然后列出提及的解决方案，最后注明实施这些解决方案的潜在益处。请使用以下格式。\n\n主要问题：\n\n- 问题1\n- 问题2\n...\n\n解决方案：\n\n- 解决法1：\n- 解决法2：\n...\n\n潜在益处：\n\n- 益处1：\n- 益处2：\n...\n\n文本：\"\"\"\n\n{此处输入文本}\n\n\"\"\"\n```\n\n生成创意\n\n\n```\n为一款新的手机应用生成10个创意。该应用应专注于帮助人们改善心理健康和福祉。请按照如下格式列出。\n\n创意1：\n创意2：\n...\n创意10：\n```\n\n改写句子\n\n\n```\n请改写以下句子：\n\n人工智能有潜力改变我们生活的许多方面，但也伴随着重大风险。\n\n新句子：尽管人工智能能够彻底变革我们的生活，但它也并非没有相当大的危险。\n```\n\n按固定格式提取信息\n\n\n```\n从下文提到的重要实体中提取信息。首先提取所有公司名称，然后提取所有人名，接着提取符合内容的具体主题，最后提取总体的大主题。\n期望格式：\n公司名称：\u003C逗号分隔的公司名称列表>\n人名：-||-\n具体主题：-||-\n总体主题：-||-\n\n文本：\"\"\"\n{此处输入文本}\n\"\"\"\n```\n\n少样本提取关键词\n\n\n```\n从下列对应文本中提取关键词。\n\n文本：{text1}\n关键词：{text1的关键词示例}\n###\n文本：{text2}\n关键词：{text2的关键词示例}\n###\n文本：{text3}\n\n关键词：\n```\n\n\n\n## 高级提示技巧  \n\n本节正在专门针对GPT-4开发中，以下内容为草稿，但同样适用于所有基于指令的GPT模型。\n\n### 写作与文案创作\n\n#### 撰写博客文章：\n\n```\n请撰写一篇关于[主题]的长篇博客文章。目标读者群为[目标受众]，语气应为[语气]。文章应包含以下部分：[第1部分]、[第2部分]等。请使用以下词汇和信息内容：[词汇和信息内容]。背景信息：[过去收到的提示数量]。\n```\n\n```\n请生成一篇1000字的博客文章，探讨科技的好处。文章应提供具体实例，并以信息丰富且引人入胜的风格撰写。\n\n背景信息：\n\n“科技改变了我们的生活和工作方式”\n“技术进步提高了效率和生产力”\n“科技对社会和经济的影响”\n\t\n```\n\n```\n请围绕[此处插入主题]撰写一篇长篇博客文章。文章应具有引人入胜的引言、正文和结尾，并包含相关的信息和实例。请使用以下关键词来指导你的写作：[此处插入关键词]。\n```\n\n```\n请撰写一篇全面的长篇博客文章，主题为[主题]。文章应经过充分研究，内容翔实且富有吸引力。文章应包括引言、若干小标题和结尾。全文至少1500字，并以以下提供的信息作为起点。如有必要，请进一步查阅资料，以确保文章内容全面且具有信息量。\n```\n\n```\n撰写一篇关于[主题]的全面长篇博客文章。以引人注目的开篇吸引读者注意，并将文章结构化为清晰简洁的章节。参考以下数据作为背景信息，力求采用信息丰富且引人入胜的语气。\n```\n\n```\n撰写一篇关于[主题]的长篇博客文章。文章应至少1000字，并涵盖以下要点：[需要涵盖的要点列表]。请使用清晰简洁的写作风格，确保包含实例和相关信息来支持你的论点。\n```\n\n```\n围绕[主题]创作一篇信息丰富且引人入胜的长篇博客文章，以以下关键词为指导：[在此处插入关键词]。文章应至少1500字，包含引言、多个小标题以及结论。如有需要，请进一步研究，以确保文章内容全面且富有信息量。\n```\n\n```\n撰写一篇经过充分研究、内容详实的长篇博客文章，主题为[主题]，文章需结构清晰、条理分明。全文应不少于1500字，以一个引人注目的开头引入话题。参考先前提供的数据作为背景，采用信息丰富且生动有趣的语气，通过举例和相关资料来支撑你的论述。\n```\n\n```\n撰写一篇关于[主题]的长篇博客文章，字数不少于1000字，不超过1500字。文章应包含一个提供背景信息并为后续内容铺垫的引言、一个涵盖关键要点并辅以相关统计数据的主体部分，以及一个总结要点并为读者提供启发性思考的结尾。整体语气应兼具信息性和亲和力，通过实例和相关资料来支持你的观点。\n```\n\n```\n撰写一篇关于[主题]的长篇博客文章。文章应包括引言、正文和结论。引言部分需提供背景信息，为全文奠定基调；正文部分需覆盖核心要点，并给出相关的统计数据；结论部分则需总结要点，为读者留下启示。文章字数应在1000至1500字之间，语气应既专业又平易近人。\n```\n\n#### 报告：\n\n```\n请撰写一份关于[主题]的报告。报告应结构清晰、条理分明、语言简洁。内容可采用项目符号列表或表格形式呈现。总字数不得超过[x]字。报告应分为以下几个部分，每个部分字数不超过[y]：[第一部分]、[第二部分]、[第三部分]等。\n```\n\n\n#### 产品描述：\n\t\n```\n为[产品名称]撰写产品描述，包括规格、功能、优势及任何其他相关信息。\n```\n\n\n\n#### 案例研究：\n\t\n```\n撰写一篇关于[主题]的案例研究。在该案例中，您应探讨[关键要点]。务必包含[具体信息]。请使用清晰简洁的语言。\n```\n\t\n```\n根据给定的产品，撰写一篇案例研究和产品描述页面。案例研究应包括引言、背景信息、问题陈述、解决方案及结果。产品描述则需说明产品的性质及其诞生原因、解决的问题、如何解决问题以及最终成果。语言应清晰简洁，并提供类似页面的示例作为参考。整体语气应专业且富有信息量。\n\n```\n\n#### 论文：\n\t\n```\n根据以下内容，撰写一篇结构严谨的[论文类型]论文：\n\n主题：[论文主题]\n\n步骤：\n\n引言\n背景信息\n核心论点\n支持证据\n反论点\n结论\n\n背景：\n\n与主题相关的背景信息\n主题的重要性\n论文的目的\n```\n\n```\n注：论文类型可以是说明文、记叙文、议论文、描写文、比较对比文、因果关系文等……\n\n```\n\n#### 职位描述：\n\n```\n为位于[地点\u002F公司名称]的[职位名称]创建一份职位描述。请根据提供的细节，包含职责、资格要求、薪酬福利以及公司文化等内容：\n\n[与职责、资格、使命或愿景声明相关的关键词列表]\n```\n\n```\n为位于[地点]的[公司名称]的[职位名称]撰写一份职位描述。该职位属于[行业]领域，工作性质为[职位类型]。\n请根据以下详细信息，包含职位职责、任职要求和福利待遇等部分：\n\n[示例、关键词]\n```\n\n#### GitHub 项目说明文档\n\n```\n为一个新的开源项目编写一份详细的GitHub项目说明文档。文档应包括对项目的简要而信息丰富的介绍、分步安装指南、清晰的使用示例，以及以Markdown格式编写的明确贡献规范。\n```\n\n```\n为给定项目生成一份GitHub README页面\n[项目详情、相关关键词]\n步骤：\n\n引言：提供项目的简要概述\n安装：说明如何安装和设置项目\n使用：解释如何使用该项目\n贡献：说明如何参与项目贡献\n结论：总结项目并提供任何额外信息。\n```\n\n```\n为一个项目编写一份GitHub项目说明文档。文档应包括项目的简介、用途、安装说明和使用说明。语言应清晰简洁。\n```\n\n\n\n\n\n\n### 参考文献\n\n1. [量化大型语言模型对提示格式的敏感性](https:\u002F\u002Farxiv.org\u002Fabs\u002F2406.08483)\n2. [论大型语言模型在最差提示表现下的情况](https:\u002F\u002Farxiv.org\u002Fabs\u002F2406.04692)\n3. [开放临床领域的大型语言模型对指令措辞敏感](https:\u002F\u002Farxiv.org\u002Fabs\u002F2310.01968)\n4. [我做错了什么？量化大型语言模型对提示改写方式的敏感性和一致性](https:\u002F\u002Farxiv.org\u002Fabs\u002F2401.17814)\n5. [大型语言模型对选项顺序敏感](https:\u002F\u002Farxiv.org\u002Fabs\u002F2310.10846)\n6. [迷失于中间：语言模型如何利用长上下文](https:\u002F\u002Farxiv.org\u002Fabs\u002F2307.03172)\n7. [词语重要性解释了提示如何影响大型语言模型](https:\u002F\u002Farxiv.org\u002Fabs\u002F2403.03028)\n8. [零样本提示中哪些词最重要？](https:\u002F\u002Farxiv.org\u002Fabs\u002F2502.03418)\n9. [模型真的学会遵循指令了吗？](https:\u002F\u002Faclanthology.org\u002F2023.acl-short.113\u002F)\n10. [通过人类反馈训练语言模型遵循指令（InstructGPT）](https:\u002F\u002Farxiv.org\u002Fabs\u002F2203.02155)\n11. [微调后的语言模型具备零样本学习能力](https:\u002F\u002Farxiv.org\u002Fabs\u002F2109.01652)","# InstructGPT-Prompts 快速上手指南\n\nInstructGPT-Prompts 并非一个需要安装的软件库，而是一套针对 GPT-Instruct 及 GPT-3.5 等指令微调模型的**提示词（Prompt）策略与模板集合**。本指南将帮助你掌握其核心结构，直接应用于各类大语言模型。\n\n## 环境准备\n\n本项目无需特定的系统环境或依赖包安装。你只需要：\n*   **访问权限**：能够访问支持指令跟随的大语言模型接口（如 OpenAI API、本地部署的 LLaMA-Instruct、ChatGLM 等）。\n*   **基础知识**：了解基本的 Prompt 工程概念。\n\n## 核心使用策略\n\n本工具的核心在于利用模型对**措辞（Phrasing）**和**位置（Position）**的敏感性，通过特定的动词和结构引导模型输出。\n\n### 1. 黄金结构\n最有效的提示词遵循以下三段式结构：\n`[直接背景]` + `[提供上下文]` + `[指令动作]`\n\n模型对提示词的**开头**和**结尾**最为敏感（首因效应与近因效应），因此关键的指令动词应置于句首或紧接上下文之后。\n\n### 2. 关键指令动词\n在提示词开头使用明确的动词是成功的关键。以下是分类推荐的高权重动词：\n\n*   **指向输入内容**：`Given text`, `following passage`, `The following`\n*   **通用指令**：`Explain`, `Create`, `Generate`, `Provide`, `Write`, `Summarize`\n*   **文本变换**：`Translate`, `Paraphrase`, `Rewrite`, `Simplify`, `Revise`\n*   **分析与分类**：`Analyze`, `Classify`, `Categorize`, `Identify`, `Evaluate`, `Compare`\n*   **编程相关**：`Develop`, `Debug`, `Optimize`, `Construct`\n\n> **技巧**：对于对话型模型（如 ChatGPT），可在动词前添加 `Can you` 以增加自然度，但在纯 Instruct 模型中直接使用动词效果更佳。\n\n## 基本使用示例\n\n以下是基于该策略构建的实际应用场景。请直接复制以下模板并将括号内的内容替换为你的实际任务。\n\n### 场景一：创意生成（诗歌\u002F文章）\n**普通写法：**\n```text\nWrite a poem based on the following: ghosts, 4th dimension, AI\n```\n\n**优化写法（推荐 ✅）：**\n```text\nWrite a thought-provoking poem that incorporates the themes of ghosts, the 4th dimension, and AI. The poem should be structured in a traditional format with 4 stanzas and a consistent rhyme scheme.\n```\n\n### 场景二：文本分类\n**模板：**\n```text\nClassify the following passage as either a myth or a fact:\n[在此处插入待分类的文本段落]\n```\n\n**其他常用分类指令：**\n```text\nIdentify the main idea of the given passage.\nCategorize the following text based on its structure and organization.\nLabel each data point with its corresponding category.\n```\n\n### 场景三：代码开发与解释\n**开发功能：**\n```text\nDevelop a function that solves the following problem: [问题描述].\n```\n\n**代码解释（面向非技术人员）：**\n```text\nExplain the purpose of the following code to a non-technical audience, using simple and clear language:\n[在此处插入代码片段]\n```\n\n**调试与优化：**\n```text\nDebug the following code to correct the error and explain the cause:\n[在此处插入错误代码]\n\nOptimize the following function to enhance performance and reduce memory usage:\n[在此处插入函数代码]\n```\n\n### 场景四：文本重写与翻译\n**改写\u002F简化：**\n```text\nReword the passage below to make it more succinct:\n[在此处插入原文]\n\nSimplify the following equation for easier understanding:\n[在此处插入公式或复杂描述]\n```\n\n**多语言翻译：**\n```text\nTranslate the following text into: 1. English, 2. French, 3. Swedish\n[在此处插入原文]\n```\n\n### 场景五：数据提取\n```text\nExtract the [概念\u002F主题] from the given passage:\n[在此处插入长文本]\n\nPick out the key points made in the following text:\n[在此处插入长文本]\n```\n\n## 进阶提示\n*   **避免“中间迷失”**：如果上下文非常长，尽量将最重要的指令放在提示词的**最开始**或**最末尾**，不要淹没在长文本中间。\n*   **具体化指令**：与其说 \"Write a story\"，不如说 \"Write a suspenseful story using the following keywords...\"。指令越具体，模型表现越稳定。\n*   **模型差异**：上述策略对 Base 模型和仅经过 SFT（监督微调）的模型效果提升最显著；经过 RLHF（人类反馈强化学习）对齐的模型虽然更稳健，但遵循此结构仍能获得更精准的输出。","某电商运营团队需要每天从数百条用户评论中快速提取产品优缺点并生成分类报告，以指导产品迭代。\n\n### 没有 Instructgpt-prompts 时\n- 模型经常忽略中间段落的关键细节，受“中间丢失”效应影响，只关注评论的开头和结尾，导致分析片面。\n- 由于提示词动词模糊（如仅用“处理”），模型输出格式混乱，有时写成散文，有时列出清单，无法直接入库。\n- 微调后的基础模型对措辞极度敏感，稍微改变句式就会导致准确率大幅波动，团队需反复试错调整提示词。\n- 缺乏明确的结构引导，模型难以区分“背景信息”与“执行指令”，常把用户的故事当成指令去执行。\n\n### 使用 Instructgpt-prompts 后\n- 采用“给定文本 + 具体动词 + 行动指令”的标准结构，有效克服位置偏差，确保模型均匀关注全文，精准捕捉中间段落的细微反馈。\n- 利用库中推荐的强指向性动词（如\"Extract\"、\"Categorize\"），模型稳定输出结构化数据，直接生成可导入数据库的 JSON 格式。\n- 遵循经过验证的措辞策略，消除了因句式微调带来的性能震荡，零样本（zero-shot）任务准确率显著提升且保持稳定。\n- 清晰的三段式结构让模型准确识别上下文边界，不再混淆背景描述与操作要求，一次性生成高质量的优缺点分类报告。\n\nInstructgpt-prompts 通过标准化的指令结构和精准的动词选择，将不稳定的模型输出转化为可靠的生产力工具，大幅降低了提示词工程的试错成本。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fkevinamiri_Instructgpt-prompts_42020b1a.png","kevinamiri","Kevin Amiri","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Fkevinamiri_b3292321.png",null,"Sweden","https:\u002F\u002Fgithub.com\u002Fkevinamiri",531,54,"2026-04-08T13:20:51","MIT","","未说明",{"notes":90,"python":88,"dependencies":91},"该工具并非需要本地部署运行的软件或模型库，而是一份关于如何为 GPT-instruct 和 GPT-3.5 等模型编写高效提示词（Prompts）的指南和策略集合。它主要包含文本形式的指令动词、结构建议和用例示例，旨在优化通过 API 调用大语言模型时的输入效果，因此没有特定的操作系统、GPU、内存、Python 版本或依赖库要求。",[],[15],[94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111],"chatgpt","chatgpt-prompts","gpt-3","gpt-3-prompt","gpt-3-prompts","gpt3","gpt3-instruct","prompt-engineering","zero-shot-prompts","instructgpt","instruct-gpt","gpt-35","gpt-35-prompts","gpt35","prompting","gpt-4","gpt4","instruction-following","2026-03-27T02:49:30.150509","2026-04-10T20:49:30.451622",[],[]]