AIGC(ArtificialIntelligenceGenerativeContent)referstothecreationandgenerationofvarioustypesofcontentusingartificialintelligence(especiallyAIlargelanguagemodels).Thesecontentsinclude,butarenotlimitedto,text,image,audio,video,andcode.
AIGC(ArtificialIntelligenceGenerativeContent,人工智能生成内容)指的是利用人工智能技术(特别是AI大语言模型)创建和生成各种类型的内容。这些内容包括但不限于文本、图像、音频、视频和代码。
AIGC(ArtificialIntelligence-GeneratedContent)applicationdeliveredbyhighereducationworkerscanenrichcontentsandteachingefficiency.
高等教育工作者应用AIGC(人工智能生成内容)可以丰富教学内容并且提高教学效率。
ThisAIGCWORKSHOParedividedintothreestages:1)PromptengineeringandPromptconstruction2)TalktoAIGC3)ParsedocumentusingAIGC.EducatorscanuseittounderstandcommonAIGCtools.ContentgeneratedbyAIGCtoolisobtainedbyconstructinghigh-qualityprompts,andthecontentgeneratedbyAIGCtoolisusedtoassistinstructionaldesign.
本AIGC工作坊将分将分三个阶段进行:1)提示工程和提示词构建2)与AIGC对话3)使用AIGC解析文档教育工作者可透过本工作坊快速了解常用AIGC工具的使用。通过构建高质量的提示语来获取有价值的AIGC工具生成内容,借助AIGC工具生成内容来辅助教学设计。
ThelatestAIlargelanguagemodelsaregreatforwriting.HowtousePromptwordscorrectlyiskeytoobtainhigh-qualityresponses.Insimpleterms,itisaninstructioncalledaPrompt,whichisimportantintheAIlargelanguagemodel.
当前人工智能领域中的大语言模型在文本生成方面具有显著的优势。正确使用提示词是获得高质量回应的关键。简单来说,它是一种称为提示的指令,提示词是一种指令,它在人工智能大语言模型的操作中非常重要。
Forexample:IfAIlargelanguagemodelequalstoanemployee,aPromptisequivalenttoaspecificinstructiongiventotheemployee.Thedetailedinstructionsdeterminetheoutputeffect.High-qualityPromptwordscansignificantlyimproveAIGCcontentrelevanceandaccuracy.
Structuralrequirementsexpressioncanimprovethequalityofoutputresponses.Alogicalpromptshouldspecify:
1.Role:Role,suchas“Writer”,“Designer”,or“Historian”.2.Task:Task,suchas“Writeanovel”or“Designalogo”.3.Format:Format,suchas“Markdownformat”or“PDFformat”
结构化地表达需求,可以提高输出回答的质量。一个合乎逻辑的提示词应当涵盖以下要素:
1.角色:指导模型扮演一个特定角色,比如“作家”、“设计师”或“历史学家”等。2.任务:向模型明确指出你希望其完成的具体任务,比如“写一篇小说”或“设计一个标志”等。3.格式:指定期望的输出格式,如“Markdown格式”或“PDF格式”。
Forexample:
Role:YouareMarx.Task:YouneedtogivesomeadvicetoChinesecollegefreshmenatthebeginningoftheschoolyear.Theadviceshouldbein-depthandpractical.Format:Nomorethan200words,pleaseexpressinEnglish
例如:
角色:你是马克思。任务:你需要给中国的大学新生一些开学建议,要求有深度且可落地。格式:字数不超过200字,请以英文方式表达。
ThisworkshopgiveseightadvancedPromptwordframes.WhenchoosingthePromptwordframe,itisnecessarytodeterminetheappropriateframeaccordingtospecificapplicationscenarioandthepartsofframeworkaretobeclearlydefined.本工作坊提供八个进阶提示词框架,选择提示词框架时,需要根据具体的应用场景和目标来确定最合适的框架。针对选择的框架,需要对框架的各部分进行清晰的定义。
Forexample:ARACEframeworkissuitablefortaskswhereroles,actions,contexts,andexpectationsarespecified,ineducation,training,androle-playingactivities.
ChoosetheRACEframeworktoclearlydefineparticipants,roles,actions,contexts,outcomes.
例如:RACE框架适用于需要明确角色、行动、背景以及期望的任务,特别是在教育、培训和角色扮演类的活动中。
需要清晰地定义参与者的角色、他们要采取的行动、所处的上下文以及期望的结果时,选择RACE框架。
-Specifyaroleforthemodel-为模型指定一个角色-Useseparatorstoclarifydifferentinputs-使用分隔符明确输入的不同信息部分
-Writecoherentinstructions-编写清晰的说明-Definestepstocompletetask-指定完成任务所需的步骤,1.2.3...
-Provideexamplessample-提供示例样本,例如:...-Formatandoutputlength-指定格式及所需的输出长度-Providereferencetext-提供参考文本-AssistAImodelanswerwithlessfiction-为AI大语言模型提供参考文本可以帮助它以较少的虚构进行回答
-Dissectcomplextasksintosimplesubtasks-将复杂任务分解为简单子任务-Summarizeorfilterpreviousdialoguesforlengthyconversations-对于长对话,总结或过滤以前的对话-Summarizedocuments-对文档进行总结
-Firstdiverge,thensummarize-先发散后总结-Generatemultipleanswers,askAImodelreasonsforvariousanswers,andsynthesize-先生成多个答案,询问AI大模型给出多种答案的理由,最后综合
ThissectionisrequiredverifythatourpromptwordsarevalidonAIGCtool.在这一部分,需要在AIGC工具上验证提示词是否有效。
TheabovethreefiguresshowtheresultsofapplyingPromptwordsdesignedinthefirstpartforeachofthesethreeAIGCtoolstooutputcorrespondingAIGCcontent.以上三张图展示了我们应用第一部分中设计的提示词分别在三个AIGC工具中进行测试的结果。可以看到三个工具都输出了相应的AIGC内容。
Timeliness:PromptPromptsKnowledgetointeractwithAIlargelanguagemodelscomesfromdatauncoveredwithoutanyinformation.ForExample,ifanuserenquiresofarecentscientificstudy,themodelcannotprovideinformationduetoitsknowledgecutoffdateoccursusuallybeforeitstrainingdatacutoffdate.
ContextMemoryproblem:Theiscausedbythebytelengthlimitorsomeofitspreviouscontextinformationarelostwhenthemodelprocesseslengthytext.上下文记忆问题:上下文记忆问题是由于模型在处理超长文本时遇到了字节长度限制或者信息丢失的情况导致的。
Exactnumberofwords:Ifauserwantstowriteanovelwithalargelanguagemodelwith1000words,thefinaloutputmightonlybe800to900words.精确字数:如果用户想用大语言模型写一个字数为1000的小说,可能最后生成的小说只有800-900字。
Contentcompliance:Thecontentofuser'sAIlargelanguagemodelissubjecttodomesticregulations.WhensensitiveinformationexistsPromptquestionorAIanswer,themodel'smanufacturerwillapplyregulationstounrevealedresults.内容合规:用户使用的人工智能大语言模型的内容必须遵守国内的法规。如果出现敏感信息,无论是在用户的问题中还是在人工智能的回答里,模型的制造商都会按照规定处理,不对外公开这些信息。
Agentsaretoolsforuserstogeneratepartnershipscenarioswhichincludestructuralguidanceassistants,organisationalassistancewithagileapplications.Manypublicagentsincludework,study,entertainmentandcreativenessaspectsfacilitatingindividualstobeaneffectiveentity.
智能体是用户生成伙伴关系场景的工具,包括结构化指导助手以及具有敏捷应用的组织协助。公开智能体涵盖工作、学习、娱乐和创新等多方面,促进个体成为一个有效的实体。
Thebenefitsofagentscan:使用智能体的优点包括:
WenXinYiyan,XunfeiSparkandKimihavesetupmanyagentsforuserstoinputdemandsinsteadofstructuralpromptsthatcangreatlyreducerepetitiveworkloadandimproveefficiency.
文心一言,讯飞星火,kimi都设置了很多智能体供用户使用,这些智能体使得用户可以简单输入诉求即可,不再需要结构化的提示词。这大大减少了重复工作量,有效提升了工作效率。
1.ComparethegeneratedcontentofdifferenttoolsforthesamePromptword.DiscussdialogueskillsandPromptwordoptimizationmethods.Choosethebestgeneratedcontent.2.Designabriefresearchproposaltosupportresearchinyourareaofinterestbasedonthebestgeneratedcontent.3.Designanintelligentagenttocompletetherelatedtasks.
AIGCtooldoesnotlimittotextdialogue.WenxinYiyan,XunfeiSparkandKimihaveuploadedattachmentsfunctions.Whenuploadiscompleted,theAIlargelanguagemodel(AIGCtool)cangenerateparsedcontent.
生成式人工智能工具并不局限于文本对话。文心一言,讯飞星火,kimi都设置了上传附件的功能。上传附件后,AI大语言模型(生成式人工智能工具)可以生成解析的内容。
Forexample:Kimisupportstextssummarization,resolvelanguagebarrierstoanalyseliteratures,reports,contracts,webpagesbyuploadingPDF,Word,Excel,TXTfilesandimages,lengthydocumentsandmultiplefiles.TheinterpretationofChinesenovelisshownbelow.
例如:Kimi支持文本摘要,支持通过上传PDF、Word、Excel、TXT文件,图片以及长篇文档和多文件等来分析文献、报告、合同、网页。这打破了语言障碍。下图展示了用kimi解读中文小说的结果。
Now,tryKimito"read"papers.现在,尝试用Kimi"阅读"论文吧。
AcademicinstitutionhavespecificationstoregulategenerativeAItools,suchasChatGPTusagesinceithasreducedthebarrierofacademicpapersfraudmoderately.
学术机构已经设立规范来监管生成式人工智能工具的使用,比如ChatGPT,因为它已经慢慢降低了学术论文造假的门槛。
ManyChineseacademicpublicationshaveimposedrestrictionsonusinggenerativeAItoolstowritejournals,itisacademicmisconductifisfound.
许多中国学术出版商都限制使用生成式人工智能工具撰写期刊,一旦发现,将认定为学术不端行为。
Foreignacademicpublicationshavestandardization.JournalssuchasNature,Cell,TheLancet,andJAMAhavestatedthatAIdoesnotqualifyasanauthor,andresearchersusinggenerativeAItoolsmustdeclareinmanuscripts.
?拷贝以及使用本教程应得到讲师同意。请不要将本教程上传至互联网。