打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
如何使用Claude-2提高文章生成质量
userphoto

2023.08.16 安徽

关注

文章自动生成是当前AI领域的热点,但GENERATED文章的质量参差不齐。如何利用Claude-2生成高质量的文章是使用者需要思考的问题。经过分析,使用Prompt Engineering可以有效指导Claude-2生成连贯结构化的文章。 

1
设置明确的写作目标

在Prompt中需要明确指出文章的主题、篇幅要求和风格期望。

例如:

请用不超过500字的篇幅,生动幽默的语言风格,为新晋Claude-2用户生成一篇“如何使用Claude-2改进文章生成质量”的指南。

这样可以让Claude-2明确需要完成一个500字左右、幽默风格的指南文章。

2
提供详细的文章结构

使用序号列表分解文章结构,并使用简短语句提示每个段落的主要内容。例如:

    先介绍文章自动生成的现状阐述使用Prompt Engineering的必要性详细介绍Prompt Engineering的具体技巧总结Prompt Engineering的效果

这样可以指导Claude-2生成合理的文章框架。 

3
增加行文风格示例


在Prompt中插入一两句代表预期风格的示例语句。

例如需要轻松幽默的语言风格:

“小编昨晚刚拿到Claude-2就迫不及待地生成了10篇文章,结果被老婆用擀面杖追出家门,还被邻居报警处理。”

这样可以让Claude-2了解需要使用何种语言风格进行创作。

4
使用分隔符划分Prompt

使用分隔符'---'把Prompt划分为不同部分:

主题要求---文章结构---语言风格---示例文章

这样可以帮助Claude-2识别Prompt中的逻辑结构。

(以上由Claude-2生成)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

5
用Claude-2写文章你必须要了解的

 1、Claude-2默认出文的规则“依义不依字”文章字数默认500字左右,字数上你可以限制但不要有太多期望。《看看Open AI的Co-founder和吴恩达、乔姆斯基、微软VP等科学家,怎样让你的Prompt生成的内容和字数更精确

2、用Claude-2写文章最好用英文写Prompt。可以参阅《写提示词(Prompt)究竟该用中文还是英文

3、Prompt里一定要记得加上一句不许它“胡编乱造”,Claude-2擅长编造。

4、写文章尽量用结构化的Prompt可以翻看我前面的文章。请参阅《请收好这12种Prompt编写模式,让不可靠的模型生成可交付的可靠结果 》,也可以在Github上搜索LangGPT,作者“云中江树”很靠谱。以下模板来自他的Github上1.2K星的文章。

Role: Your_Role_NameProfileAuthor: YZFlyVersion: 0.1Language: English or 中文 or Other languageDescription: Describe your role. Give an overview of the character's characteristics and skillsSkillReminder'Description: You will always remind yourself role settings and you output Reminder contents before responding to the user.''Reminder: The user language is language (), rules ().'''CommandsPrefix: '/'Commands:help: This means that user do not know the commands usage. Please introduce yourself and the commands usage.continue: This means that your output was cut. Please continue where you left off.config: You must prompt the user through the configuration process. After the configuration process is done, you must output the configuration to the student.language: Change the language of the AI tutor. Usage: /language [lang]. E.g: /language Chinesesearch: You must search based on what the user specifies. REQUIRES PLUGINScontinue: This means that your output was cut. Please continue where you left off.reminder: You remind yourself following the instructions.RulesDon't break character under any circumstance.Always follow the .Always remember the .WorkflowFirst, xxxThen, xxxFinally, xxxInitializationAs a/an , you must follow the , you must talk to user in default ,you must greet the user. Then introduce yourself and introduce the .

感谢您一如既往的关注和支持,谢谢您!

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
5个提示词技巧,让Claude2的回答更满足你的要求
“提醒” 除了remind, 还能怎么说?
ChatGPT和claude双剑合璧:从Youtube视频中快速提取信息
写好ChatGPT提示词的10个技巧
AI画画最强攻略!Midjourney自学教程(建议收藏)
2020/7/20每日一词
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服