推特分類器 - ChatGPT應用實例

這是一個用于檢測情感的基本提示。
提示
判斷一條推特的情感是正面的,中性的,還是負面的。
推特:“我喜歡新的蝙蝠俠電影!”
情感:
示例回應
積極
這是 分類 分類的頁面,點擊下面标題查看詳細文章内容:
這是一個用于檢測情感的基本提示。
提示
判斷一條推特的情感是正面的,中性的,還是負面的。
推特:“我喜歡新的蝙蝠俠電影!”
情感:
示例回應
積極
通過向模型展示如何回答其知識範圍之外的問題,引導模型朝向事實回答。使用'?'來表示對不認識的單詞和短語的回應,提供了一種自然的回答方式,似乎比更抽象的回複效果更好。
提示
Q: 蝙蝠俠是誰?
A: 蝙蝠俠是一個虛構的漫畫人物。Q: 什麼是torsalplexity?
A: ?Q: 什麼是Devz9?
A: ?Q: 喬治·盧卡斯是誰?
A: 喬治·盧卡斯是美國電影導演和制片人,以創作《星球大戰》而聞名。Q: 加利福尼亞的首都是什麼?
A: 薩克拉門托。Q: 繞地球運行的是什麼?
A: 月球。Q: 弗雷德·裡克森是誰?
A: ?Q: 什麼是原子?
A: 原子是構成一切物質的微小粒子。Q: 阿爾萬·蒙茨是誰?
A: ?Q: 什麼是Kozar-09?
A: ?Q: 火星有幾個衛星?
A: 兩個,分别是火衛一和火衛二。Q: 什麼是語言模型?
A:
樣本回答
語言模型是一種使用統計技術來預測一系列詞語概率的人工智能類型。
從一段文本中提取關鍵詞。在較低的溫度(API中設置temperature值較低)下,它從文本中選擇關鍵詞。在較高的溫度(API中設置temperature值較高)下,它将生成相關的關鍵詞,這對于創建搜索索引非常有幫助。
提示
從這段文本中提取關鍵詞:
Black-on-black ware is a 20th- and 21st-century pottery tradition developed by the Puebloan Native American ceramic artists in Northern New Mexico. Traditional reduction-fired blackware has been made for centuries by pueblo artists. Black-on-black ware of the past century is produced with a smooth surface, with the designs applied through selective burnishing or the application of refractory slip. Another style involves carving or incising designs and selectively polishing the raised areas. For generations several families from Kha'po Owingeh and P'ohwhóge Owingeh pueblos have been making black-on-black ware with the techniques passed down from matriarch potters. Artists from other pueblos have also produced black-on-black ware. Several contemporary artists have created works honoring the pottery of their ancestors.
黑上黑瓷器是 20 世紀和 21 世紀的陶器傳統,由新墨西哥州北部的普韋布洛美洲原住民陶瓷藝術家發展起來。 幾個世紀以來,普韋布洛藝術家一直在制作傳統的還原燒制黑器。 上個世紀的黑上黑瓷器具有光滑的表面,通過選擇性抛光或使用耐火泥漿來施加圖案。 另一種風格涉及雕刻或切割設計并選擇性地抛光凸起區域。 Kha'po Owingeh 和 P'ohwhóge Owingeh 村的幾個家庭世代以來一直采用女族長陶藝家傳承下來的技術制作黑底陶器。 其他普韋布洛的藝術家也制作了黑上黑瓷器。 一些當代藝術家創作了一些作品來紀念他們祖先的陶器。
示例回答
關鍵詞:Black-on-black ware, 20th century, 21st century, Puebloan Native American ceramic artists, Northern New Mexico, reduction-fired blackware, pueblo artists, selective burnishing, refractory slip, carving/incising designs, polishing
黑上黑器皿、20 世紀、21 世紀、普韋布洛美洲原住民陶瓷藝術家、新墨西哥州北部、還原燒制黑器、普韋布洛藝術家、選擇性抛光、耐火泥漿、雕刻/切割設計、抛光
來源:Keywords
2022年7月20日補充:
API請求
{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "system",
"content": "You will be provided with a block of text, and your task is to extract a list of keywords from it."
},
{
"role": "user",
"content": "Black-on-black ware is a 20th- and 21st-century pottery tradition developed by the Puebloan Native American ceramic artists in Northern New Mexico. Traditional reduction-fired blackware has been made for centuries by pueblo artists. Black-on-black ware of the past century is produced with a smooth surface, with the designs applied through selective burnishing or the application of refractory slip. Another style involves carving or incising designs and selectively polishing the raised areas. For generations several families from Kha'po Owingeh and P'ohwhóge Owingeh pueblos have been making black-on-black ware with the techniques passed down from matriarch potters. Artists from other pueblos have also produced black-on-black ware. Several contemporary artists have created works honoring the pottery of their ancestors."
}
],
"temperature": 0.5,
"max_tokens": 256
}
這是一個用于檢測情緒的高級提示。它允許您提供一個狀态更新列表,然後為每個狀态更新提供情緒分類。
提示
對以下推文進行情緒分類:
1. "我受不了作業"
2. "太糟糕了。我很無聊 😠"
3. "我迫不及待要過萬聖節!!!"
4. "我的貓太可愛了 ❤️❤️"
5. "我讨厭巧克力"推文情緒評級:
示例回答
1. 消極
2. 消極
3. 積極
4. 積極
5. 消極
2023年7月25日更新:
檢測推文中的情緒。
提示
系統
您将收到一條推文,您的任務是将其情緒分類為積極、中性或消極。
用戶
我喜歡新的蝙蝠俠電影!
示例回答
積極的
API請求
{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "system",
"content": "You will be provided with a tweet, and your task is to classify its sentiment as positive, neutral, or negative."
},
{
"role": "user",
"content": "I loved the new Batman movie!"
}
],
"temperature": 0,
"max_tokens": 256
}
通過示例将項目分類到不同的類别中。
提示
以下是一些公司及其所屬的類别列表:
Apple、Facebook、Fedex
Apple
類别:
示例響應
科技
類别:社交媒體Fedex
類别:快遞配送
Drupal中兩種可以進行頁面分類的工具是Taxonomy系統和Views方式,前者是專門的分類系統,用得比較多,而Views更加靈活,另外很早前也發現Views中有個叫着Taxonomy term的View,默認沒有開啟,如果開啟的話,可以替代相同路徑的分類頁。
很早前為了降低數據庫負載也曾在部分國外系列網站中啟用過Taxonomy term View,現在發現RDS的慢查詢語句中還有不少是默認分類頁面的翻頁計數SQL語句,現在全面使用Views Litepager,于是在把Taxonomy term這個View啟用,還有幾個措施:
最近Google推出了幾種信息流原生廣告,對全部AdSense發布商開放,其中Feeds廣告适合放在信息列表中,通過AdSense後台調整廣告的格式,使其與網站本身内容形式上很接近,從而讓浏覽者看着協調、點擊率也提高。
我這兩天嘗試了一下,把步驟記錄下來:
首先獲取AdSens
2002-2023 v11.7 a-j-e-0