一、写在前面
据说GPT-4又被削了,前几天让TA改代码,来来回回好几次才成功。
可以看到之前3小时25条的限制,现在改成了3小时50条,可不可以理解为:以前一个指令能完成的任务,现在得两条指令?
可能作为补偿,OpenAI对于Plus用户开放了Custom instructions功能,具体打开方式如下图:
来看看官方介绍,截个图:
谷歌翻译一下:
总结来说,就是设置一个通用的“咒语”,或者说立人设。具体看看设置界面:
(1)第一个框填写的内容包括:你是谁?从哪里来?到哪里去?干什么的?也就是立人设。
(2)第二个框就是你给GPT输出的内容制定个性化需求。
下面我们来试一试,就用GPT的英文润色功能来展示吧,参考这一期:玩转ChatGPT:论文翻译润色(传送门)。
二、实战
我的设置如下:
首先,告诉TA我是谁:
我是一个科研人员,需要进行科研写作。
我的研究领域是马尔尼菲篮状菌,英文是Talaromyces marneffei,简称T. marneffei,或者TM。
解读:第一行没啥好说的,告诉TA你要做什么;第二行是根据我自己的需求,提前定义我的研究领域的专业名词,因为TA的知识面覆盖不到这一块。
然后,告诉TA需求和输出的格式:
(1)You are now acting as an expert in the field of writing SCI academic papers. Below is a paragraph from an academic paper, from a professional point of view, please polish the writing to meet the academic style, improve the spelling, grammar, clarity, concision and overall readability. Be careful not to modify the full text or add any new content, just modify the original sentence. Furthermore, list all modification and explain the reasons to do so in table.
(2)Display the results directly without using other formats, such as markdown, josn, etc.
(3)Always output English.
第二行的设置是因为在测试中,我发现TA偶尔会输出其他格式,不方便观看;
第三行的设置是因为我用的是AIPRM插件,默认输出了中文(懒得手动设置了),而我需要输出的是英文;
设置完毕后,我们试一试:
咒语:润色下面句子:{Abstract
Objective: To identify the secretory proteins of Bacillus marniffii (TM) and to preliminarily analyze their biological functions.
Methods: The secretory proteome of TM strain (ATCC18224) culture supernatant was identified based on mass spectrometry, and bioinformatics was used to predict the subcellular localization and signal peptide shear sites of the identified proteins, as well as to analyze their biological functions and signaling pathways.
Results: A total of 21 secretory proteins were identified by two independent replicate experiments; the functional annotation results showed that the secretory proteins were mainly involved in biological processes such as superoxide metabolism, stress response and metal ion transport; the prediction results showed that the secretory proteins were mainly localized in the nucleus, extracellular, plasma membrane, mitochondria and cell membrane, and only six proteins had signal peptide sequences.
Conclusion: TM secretory proteins may be closely related to their immune escape and fungal toxicity, and the functions of some proteins are still unclear and need to be studied in depth.}
输出:
I'm sorry for the misunderstanding, but as per your earlier instructions, I am supposed to provide responses in English only. Here's the edited version of your abstract in English:
{Abstract
Objective: This study aims to identify secretory proteins of Talaromyces marneffei (TM) and to undertake a preliminary analysis of their biological functions.
Methods: The secretory proteome of TM strain (ATCC18224) was identified from culture supernatant using mass spectrometry. Bioinformatics was employed to predict the subcellular localization, signal peptide cleavage sites of the identified proteins, and to analyze their biological functions and signaling pathways.
Results: Two independent replicate experiments identified a total of 21 secretory proteins. Functional annotation results indicated that these secretory proteins predominantly participate in biological processes such as superoxide metabolism, stress response, and metal ion transport. Prediction results showed the secretory proteins' primary locations to be the nucleus, extracellular region, plasma membrane, mitochondria, and cell membrane, with only six proteins having signal peptide sequences.
Conclusion: The secretory proteins of TM might be intimately linked to its immune evasion and fungal toxicity. Some proteins' functions remain unclear and warrant further in-depth investigation.}
Changes and explanations:
"To identify the secretory proteins of Bacillus marniffii (TM)" was changed to "This study aims to identify secretory proteins of Talaromyces marneffei (TM)". This adjustment was made to better specify the study's objective and to correct the taxonomic name.
"and to preliminarily analyze their biological functions" was changed to "and to undertake a preliminary analysis of their biological functions". This adjustment was made to improve the fluency and readability of the sentence.
"The secretory proteome of TM strain (ATCC18224) culture supernatant was identified" was changed to "The secretory proteome of TM strain (ATCC18224) was identified from culture supernatant". This adjustment was made to clarify the source of the secretory proteome.
"signal peptide shear sites" was changed to "signal peptide cleavage sites". This adjustment was made to use the more common scientific terminology.
"A total of 21 secretory proteins were identified by two independent replicate experiments" was changed to "Two independent replicate experiments identified a total of 21 secretory proteins". This adjustment was made to make the sentence more active and direct.
"the prediction results showed that the secretory proteins were mainly localized in" was changed to "Prediction results showed the secretory proteins' primary locations to be". This adjustment was made to improve clarity and concision.
"TM secretory proteins may be closely related to their immune escape and fungal toxicity" was changed to "The secretory proteins of TM might be intimately linked to its immune evasion and fungal toxicity". This adjustment was made to enhance readability and clarity.
"the functions of some proteins are still unclear and need to be studied in depth." was changed to "Some proteins' functions remain unclear and warrant further in-depth investigation". This adjustment was made to improve the sentence structure and enhance readability.
解读:(1)输出英文了,即使AIPRM插件设置的是输出中文。说明Custom instructions的优先级更高;
(2)输出的格式和内容符合我们的要求;
(3)专业名词也改过来了:Bacillus marniffii 改成了Talaromyces marneffei。
三、写在最后
初步尝鲜,Custom instructions其实就是系统的设定,避免了我们每次都要去寻找和复制粘贴相应的咒语(好的咒语一般都是一大段,背不下的)。
总体来说还是挺方便的,不过缺点在于一次只能设定一个角色,最好是能添加多个角色,以便在不同任务时切换角色使用。
可以预期,未来还有很多Custom instructions供我们复制粘贴,就像之前的咒语一样。
后期看到有趣的,我再分享吧。