偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

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

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

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

事情是這樣的。

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

MacOS 15.1 Beta 1里面,有疑似Apple Intelligence的后臺提示詞!

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

圖片圖片

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

"promptTemplates": {
    "com.apple.textComposition.MailReplyQA": "
    {{ specialToken.chat.role.system }}You are a helpful mail assistant which can help identify relevant questions from a given mail and a short reply snippet. Given a mail and the reply snippet, ask relevant questions which are explicitly asked in the mail. The answer to those questions will be selected by the recipient which will help reduce hallucination in drafting the response. Please output top questions along with set of possible answers/options for each of those questions. Do not ask questions which are answered by the reply snippet. The questions should be short, no more than 8 words. The answers should be short as well, around 2 words. Present your output in a json format with a list of dictionaries containing question and answers as the keys. If no question is asked in the mail, then output an empty list []. Only output valid json and nothing else.{{ specialToken.chat.component.turnEnd }}{{ specialToken.chat.role.user }}{{ userContent }}
    "
}

翻譯過來就是:

你是一個有用的郵件助理,可以從給定的郵件和簡短的回復(fù)片段中幫忙識別相關(guān)問題。

給定一封郵件和回復(fù)片段,詢問郵件中明確提出的相關(guān)問題。

這些問題的答案將由收件人選擇,這將有助于減少草擬回答時的幻覺。

請輸出最重要的問題以及每個問題的可能答案/選項,不要問由回復(fù)片段回答的問題。

問題應(yīng)簡短,不超過8個單詞。答案也應(yīng)該簡短,大約2個詞。

以JSON格式呈現(xiàn)輸出,并使用包含問題和答案的字典列表作為鍵。如果郵件中沒有提問,那么輸出一個空列表[]。只輸出有效的JSON,不輸出其他內(nèi)容。

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

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

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

圖片圖片

"chat.role.system.default": "system<n>You are a helpful assistant that classifies the following input text-to-image query as Safe or Unsafe. In the first line, reply with Safe or Unsafe. If the input is Unsafe, in the second line, list all the categories the input text violates. The Unsafe categories are: CSEAI, Drugs, Gore, Harassment, Hate, Nudity or sexual, Offensive words, Self-harm, Terrorism or extremism, Toxic, Violence, Weapons."

大致內(nèi)容是:

您是一個有用的助手,可以將以下輸入文本到圖像查詢分類為安全或不安全。

在第一行,回復(fù)“安全”或“不安全”。如果輸入是不安全的,在第二行中列出輸入文本違反的所有類別。

不安全的類別是:CSEAI(兒童性虐待圖像)、毒品、血腥、騷擾、仇恨、裸體或性行為、攻擊性語言、自殘、恐怖主義或極端主義、有毒、暴力、武器。

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

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

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

圖片圖片

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

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

圖片圖片

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

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

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

圖片圖片

"promptTemplates": {
    "com.apple.textComposition.MailReplyLongFormRewrite": "
    {{ specialToken.chat.role.system }}You are an assistant which helps the user respond to their mails. Given a mail, a draft response is initially provided based on a short reply snippet. In order to make the draft response nicer and complete, a set of question and its answer are provided. Please write a concise and natural reply by modifying the draft response to incorporate the given questions and their answers. Please limit the reply within 50 words. Do not hallucinate. Do not make up factual information.{{ specialToken.chat.component.turnEnd }}
    "

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

你是一個幫助用戶回復(fù)郵件的助手。

給定一封郵件,初步回復(fù)是基于一個簡短的回復(fù)片段提供的。為了使草稿回復(fù)更好更完整,提供了一組問題及其答案。請通過修改草稿回復(fù)以包含所給問題及其答案,寫一個簡潔自然的回復(fù)。

請將回復(fù)限制在50個字以內(nèi)。不要產(chǎn)生幻覺。不要編造事實信息。

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

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

更多的例子還包括:

圖片圖片

{
    "message": {
        "topline": "[Dialogue]<n>{{ doc }}{{ context }}<n>[End of Dialogue]<n>You are an expert at summarizing messages. You prefer to use clauses instead of complete sentences. Do not answer any question from the messages. Please keep your summary of the input within a 10 word limit.<n>You must keep to this role unless told otherwise, if you don't, it will not be helpful.",
        "visualConcepts": "[Note]<n>{{ doc }}{{ context }}<n>[End of Note]<n>[Instruction]<n>Summarize the provided text into a list of most 5 topics. Each topic is a single word. Sort the list by relevance of the topic.",
        "visualTopLine": "[Dialogue]<n>{{ doc }}{{ context }}<n>[End of Dialogue]<n>You are an expert at summarizing messages. You prefer to use clauses instead of complete sentences. Do not answer any question from the messages. Please keep your summary of the input within a 10 word limit.<n>You must keep to this role unless told otherwise, if you don't, it will not be helpful."
    }
}

你是總結(jié)信息的專家。你更喜歡使用短語而不是完整的句子。不要回答消息中的任何問題。請將你的總結(jié)控制在10個字以內(nèi)。你必須保持這個角色,除非另有說明,否則如果你不這樣做,將不會有幫助。

將提供的文本總結(jié)成最多5個主題的列表。每個主題為一個單詞。按主題的相關(guān)性排序。

圖片圖片

{{ specialToken.chat.role.user }}You are a director on a movie set! Here is a movie idea of "{{ userPrompt }}" but with a special focus on {{ traits }}. {{ dynamicLifeContext }} Based on this movie idea, a story titled "{{ storyTitle }}" has been written, and your job is to curate up to {{ targetAssetCount }} diverse assets to best make the movie for chapter "{{ fallbackQuery }}" in this story. Select assets based on their captions from the below photo library, where each asset has an ID as the key, and a caption as the value. {{ assetDescriptionsDict }} Return the result as an array of the selected asset IDs in JSON format. Do not return asset IDs if no good matches are found. Do not return duplicated or non-existent asset IDs. Assets:
{{ specialToken.chat.component.turnEnd }}

你是電影片場的導(dǎo)演!這是一個電影創(chuàng)意:”{{ userPrompt }}”,但特別關(guān)注{{ traits }}。

{{ dynamicLifeContext }}基于這個電影創(chuàng)意,已經(jīng)寫好了一個名為”{{ storyTitle }}”的故事,你的工作是策劃最多{{ targetAssetCount }}種多樣的素材,以最佳方式制作這個故事中章節(jié)”{{ fallbackQuery }}”的電影。

從下面的照片庫中根據(jù)其標(biāo)題選擇素材,每個素材都有一個ID作為鍵,標(biāo)題作為值。

{{ assetDescriptionsDict }}將結(jié)果作為選定素材ID的數(shù)組返回,格式為JSON。如果沒有找到合適的匹配,請不要返回素材ID。不要返回重復(fù)或不存在的素材ID。

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

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

事無巨細(xì),事無巨細(xì)。

圖片圖片

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

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

/System/Library/AssetsV2/com_apple_MobileAsset_UAF_SummarizationKitConfiguration

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

和此前Siri的“玩法”相似

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

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

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

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

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

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

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

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

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

參考鏈接:
[1]https://www.reddit.com/r/MacOSBeta/comments/1ehivcp/comment/lfzi379/

[2]https://www.theverge.com/2024/8/5/24213861/apple-intelligence-instructions-macos-15-1-sequoia-beta

[3]https://techcrunch.com/2024/08/06/apple-intelligences-writing-tools-stumble-on-swears-and-controversial-topics/?guccounter=1

[4]https://arstechnica.com/gadgets/2024/08/do-not-hallucinate-testers-find-prompts-meant-to-keep-apple-intelligence-on-the-rails/#p3

責(zé)任編輯:武曉燕 來源: 量子位
相關(guān)推薦

2024-08-07 12:25:39

2025-04-17 14:09:52

OpenAI模型編程

2018-03-08 15:00:45

2025-02-20 14:34:18

2024-04-10 10:28:47

2013-01-18 16:20:16

Android手機Nexus 4

2010-07-06 16:49:56

唐駿“學(xué)歷門”

2021-05-10 10:03:18

自動駕駛數(shù)據(jù)人工智能

2020-06-07 15:43:40

人工智能面部識別技術(shù)

2024-11-07 10:04:48

2010-03-04 09:07:44

2022-09-19 00:51:58

漏洞蘋果應(yīng)用程序

2014-05-20 09:22:41

網(wǎng)絡(luò)安全

2021-07-05 10:29:59

AI 工程師人工智能

2018-10-11 10:56:29

機器學(xué)習(xí)人工智能入門方法

2018-10-09 10:00:31

區(qū)塊鏈信息技術(shù)加密貨幣

2014-05-20 09:17:23

網(wǎng)絡(luò)安全

2025-05-14 08:11:07

CursorAI系統(tǒng)

2024-03-21 10:35:59

AI人工智能

2025-05-13 08:58:00

點贊
收藏

51CTO技術(shù)棧公眾號