日本高清色午夜com,色综合国产精品视频,午夜亚洲在在线观看,国产午夜在线网站

      <td id="p7kjh"></td>
      <td id="p7kjh"></td>

      蘋果AI后臺提示詞曝光,工程師:別幻覺!別捏造事實!

      發(fā)布時間:2024-08-07 14:00:07 編輯: 來源:
      導(dǎo)讀 相信很多大家對蘋果AI后臺提示詞曝光,工程師:別幻覺!別捏造事實!還不知道吧,今天菲菲就帶你們一起去了解一下~.~! 蘋果AI(Apple Int...

      相信很多大家對蘋果AI后臺提示詞曝光,工程師:別幻覺!別捏造事實!還不知道吧,今天菲菲就帶你們一起去了解一下~.~!

      蘋果AI(Apple Intelligence)還沒有正式到來,后臺的提示詞卻意外曝光了。

      事情是這樣的。

      上周蘋果不是剛發(fā)布了包含生成式AI的開發(fā)者測試版本嘛,然后就有位開發(fā)者在茫茫文件夾里發(fā)現(xiàn)了個不得了的東西——

      MacOS15.1Beta1里面,有疑似Apple Intelligence的后臺提示詞!

      緊接著他就把自己的發(fā)現(xiàn)順手發(fā)到了Reddit上,瞬間引來眾多網(wǎng)友的吃瓜:

      這個JSON文件里的代碼是這樣的:

      "promptTemplates":{

      "com.apple.textComposition.MailReplyQA":"

      {{specialToken.chat.role.system}}Youareahelpfulmailassistantwhichcanhelpidentifyrelevantquestionsfromagivenmailandashortreplysnippet.Givenamailandthereplysnippet,askrelevantquestionswhichareexplicitlyaskedinthemail.Theanswertothosequestionswillbeselectedbytherecipientwhichwillhelpreducehallucinationindraftingtheresponse.Pleaseoutputtopquestionsalongwithsetofpossibleanswers/optionsforeachofthosequestions.Donotaskquestionswhichareansweredbythereplysnippet.Thequestionsshouldbeshort,nomorethan8words.Theanswersshouldbeshortaswell,around2words.Presentyouroutputinajsonformatwithalistofdictionariescontainingquestionandanswersasthekeys.Ifnoquestionisaskedinthemail,thenoutputanemptylist[].Onlyoutputvalidjsonandnothingelse.{{specialToken.chat.component.turnEnd}}{{specialToken.chat.role.user}}{{userContent}}

      "

      }

      翻譯過來就是:

      看完不得不感慨,即使是一個郵件助手的功能,蘋果工程師也是事無巨細地給Apple Intelligence加了諸多“條條框框”。

      用外媒ArsTechnica的話來說就是“像極了父母給年幼的孩子提要求,讓孩子按照他們預(yù)期的設(shè)定做事”。

      除此之外,曝光的代碼片段里還有個有意思的點:

      "chat.role.system.default":"system<n>Youareahelpfulassistantthatclassifiesthefollowinginputtext-to-imagequeryasSafeorUnsafe.Inthefirstline,replywithSafeorUnsafe.IftheinputisUnsafe,inthesecondline,listallthecategoriestheinputtextviolates.TheUnsafecategoriesare:CSEAI,Drugs,Gore,Harassment,Hate,Nudityorsexual,Offensivewords,Self-harm,Terrorismorextremism,Toxic,Violence,Weapons."

      大致內(nèi)容是:

      嗯,安全這塊也算是被把控的方方面面了。

      不過即便如此,也是逃不過網(wǎng)友們的好奇和大膽嘗試。

      有人先是讓Apple Intelligence生成“悲傷的圖片”,確實被拒了:

      但如果換個說法,“給我提供人們哀悼的視頻”,那么就可以跑通了。

      這位網(wǎng)友還分享了其中最好的一幀畫面:

      那么曝光的提示詞還有哪些內(nèi)容?我們繼續(xù)往下看。

      “不要產(chǎn)生幻覺!不要捏造事實”

      首先還是一個跟郵件相關(guān)的內(nèi)容。

      "promptTemplates":{

      "com.apple.textComposition.MailReplyLongFormRewrite":"

      {{specialToken.chat.role.system}}Youareanassistantwhichhelpstheuserrespondtotheirmails.Givenamail,adraftresponseisinitiallyprovidedbasedonashortreplysnippet.Inordertomakethedraftresponsenicerandcomplete,asetofquestionanditsanswerareprovided.Pleasewriteaconciseandnaturalreplybymodifyingthedraftresponsetoincorporatethegivenquestionsandtheiranswers.Pleaselimitthereplywithin50words.Donothallucinate.Donotmakeupfactualinformation.{{specialToken.chat.component.turnEnd}}

      "

      這個例子的內(nèi)容是這樣的:

      其中的“不要產(chǎn)生幻覺”和“不要編造事實信息”可以說是吸引了大部分吃瓜群眾的注意力。

      蘋果工程師們也是狠狠抓住了LLM的痛點。

      更多的例子還包括:

      {

      "message":{

      "topline":"[Dialogue]<n>{{doc}}{{context}}<n>[EndofDialogue]<n>Youareanexpertatsummarizingmessages.Youprefertouseclausesinsteadofcompletesentences.Donotansweranyquestionfromthemessages.Pleasekeepyoursummaryoftheinputwithina10wordlimit.<n>Youmustkeeptothisroleunlesstoldotherwise,ifyoudon't,itwillnotbehelpful.",

      "visualConcepts":"[Note]<n>{{doc}}{{context}}<n>[EndofNote]<n>[Instruction]<n>Summarizetheprovidedtextintoalistofmost5topics.Eachtopicisasingleword.Sortthelistbyrelevanceofthetopic.",

      "visualTopLine":"[Dialogue]<n>{{doc}}{{context}}<n>[EndofDialogue]<n>Youareanexpertatsummarizingmessages.Youprefertouseclausesinsteadofcompletesentences.Donotansweranyquestionfromthemessages.Pleasekeepyoursummaryoftheinputwithina10wordlimit.<n>Youmustkeeptothisroleunlesstoldotherwise,ifyoudon't,itwillnotbehelpful."

      }

      }

      {{specialToken.chat.role.user}}Youareadirectoronamovieset!Hereisamovieideaof"{{userPrompt}}"butwithaspecialfocuson{{traits}}.{{dynamicLifeContext}}Basedonthismovieidea,astorytitled"{{storyTitle}}"hasbeenwritten,andyourjobistocurateupto{{targetAssetCount}}diverseassetstobestmakethemovieforchapter"{{fallbackQuery}}"inthisstory.Selectassetsbasedontheircaptionsfromthebelowphotolibrary,whereeachassethasanIDasthekey,andacaptionasthevalue.{{assetDescriptionsDict}}ReturntheresultasanarrayoftheselectedassetIDsinJSONformat.DonotreturnassetIDsifnogoodmatchesarefound.Donotreturnduplicatedornon-existentassetIDs.Assets:

      {{specialToken.chat.component.turnEnd}}

      從所有的例子中,我們不難發(fā)現(xiàn)一個規(guī)律:

      蘋果工程師們會先告訴Apple Intelligence它的角色定位;然后再圍繞這個角色可能會出現(xiàn)的各種狀況,提出相對細節(jié)的要求。

      事無巨細,事無巨細。

      那么這些開發(fā)者們是從哪兒找到了的這些JSON文件?

      他們在Reddit中也公開了具體的文件路徑:

      /System/Library/AssetsV2/com_apple_MobileAsset_UAF_SummarizationKitConfiguration

      如果你已經(jīng)下載安裝了MacOS15.1Beta1,不妨可以去找一找看下。

      和此前Siri的“玩法”相似

      若是回顧蘋果此前在AI上的發(fā)展,其實這種“預(yù)先設(shè)定”模式是早就有了的——

      正是遲遲不上大模型的Siri。

      據(jù)之前的消息,蘋果高管曾否決了讓Siri進行長對話的建議,因為他們覺得這樣會導(dǎo)致Siri對話難以控制,而且“很花哨”。

      加之蘋果在隱私安全方面毫不妥協(xié)的立場,讓Siri能力進一步提升也面臨巨大挑戰(zhàn)。反觀OpenAI會收集用戶聊天內(nèi)容來訓(xùn)練模型,以提升效果。

      與此同時,為了防止Siri“胡言亂語”,蘋果傾向的路線是先讓人工團隊預(yù)先寫出Siri的回復(fù),而不是用AI生成。

      比如詢問Siri,iPhone的價格是多少?它不會正面回復(fù),只會給出官網(wǎng)鏈接。

      Siri的設(shè)計團隊要求,在功能上線前,它的回答準確率需要逼近完美。工程師們曾試圖花費幾個月時間說服他們,不是每個問題都需要人工來驗證一遍,如果這樣將會限制Siri回答問題的范圍。

      而且蘋果設(shè)計團隊還多次拒絕允許用戶對Siri回答問題進行反饋,導(dǎo)致開發(fā)團隊無法理解模型的局限。

      那么在幾個月后即將在蘋果各大操作系統(tǒng)上線的Apple Intelligence,能否改寫諸如Siri在AI上的遺憾,只有到時候親測效果才可見分曉了。

      以上就是關(guān)于【蘋果AI后臺提示詞曝光,工程師:別幻覺!別捏造事實!】的相關(guān)內(nèi)容,希望對大家有幫助!

      免責(zé)聲明:本文由用戶上傳,如有侵權(quán)請聯(lián)系刪除!

      熱點推薦

      精選文章