目錄
ChatGPT 和 GPT4 什么關(guān)系?
1. 寫作
題目
ChatGPT
ChatGPT 國外鏡像網(wǎng)站
文心一言
New Bing
總結(jié)
2. 數(shù)學(xué)題目
題目
ChatGPT
ChatGPT 國外鏡像網(wǎng)站
文心一言
New Bing
?總結(jié)
3. 翻譯
題目
ChatGPT
?編輯
ChatGPT 國外鏡像網(wǎng)站
文心一言
New Bing
總結(jié)
4. 代碼編寫
題目
ChatGPT
ChatGPT 國外鏡像網(wǎng)站
文心一言
New Bing
總結(jié)
5. 代碼解讀
題目
ChatGPT
ChatGPT 國外鏡像網(wǎng)站
文心一言
New Bing
總結(jié)
6.?繪圖能力(如果有)
題目
文心一言
?New Bing
新成員
總結(jié)
7. 網(wǎng)絡(luò)熱詞解釋
題目
ChatGPT
?編輯
ChatGPT 國外鏡像網(wǎng)站
?文心一言
?New Bing
總結(jié)
總結(jié)
????????Hello 各位小伙伴,要說今年最火爆的 IP 有哪些,那一定少不了人工智能(AI),市面上已經(jīng)相繼出現(xiàn)了我們熟知的?ChatGPT(OpenAI)、ChatGPT 國外鏡像網(wǎng)站、文心一言(百度)、New Bing(微軟)、通義千問(阿里)等 AI 工具,相信很對的小伙伴都好奇,這幾個 AI 到底誰更 AI 呢,很遺憾,博主沒有阿里通義千問的資格,所以本文為大家?guī)淼氖?ChatGPT、文心一言、New Bing 的較量,我們將從以下幾個方面進(jìn)行客觀辯證:【寫作】、【數(shù)學(xué)題目】、【翻譯】、【代碼編寫】、【代碼解讀】、【繪圖能力(如果有)】、【網(wǎng)絡(luò)熱詞解釋】,我將以同樣的話術(shù)對不同的 AI 進(jìn)行發(fā)問。
? ? ? ? 在開始之前,我需要解釋這個事情:
ChatGPT 和 GPT4 什么關(guān)系?
? ? ? ? ChatGPT 你可以理解為 GPT3.5 版本,為免費版,只要注冊就可以使用。
? ? ? ? GPT4 為 4 版本,付費,20美刀一個月,據(jù)我所知有次數(shù)限制,3 小時之內(nèi)最多只能問 25 個問題。本博客,使用 New Bing 的最具創(chuàng)造力的方式進(jìn)行對話,以及 ChatGPT。
? ? ? ? 在后續(xù)的圖片中,我會刪除左側(cè)的圖標(biāo),至于為啥,相信很多小伙伴都見過這個圖片:
????????那么準(zhǔn)備好了嗎,開始發(fā)車:
1. 寫作
題目
? ? ? ? 請寫一篇關(guān)于中國大學(xué)生就業(yè)的文章,800字,邏輯清晰明確。
? ? ? ? 在給出結(jié)果后,我會問上面多少字?
ChatGPT
?
????????不難看出,需要不斷的讓他繼續(xù)才能達(dá)到你的要求,當(dāng)然你也可以選擇繼續(xù)調(diào)教,也可以達(dá)到一次完成的效果。主打的就是逐漸調(diào)教。
ChatGPT 國外鏡像網(wǎng)站
????????我最喜歡用的一個鏡像網(wǎng)站,中規(guī)中矩,優(yōu)點在于,響應(yīng)速度真的快。
文心一言
New Bing
? ? ? ? 沒有記憶功能。
總結(jié)
? ? ? ? 綜上,不難看出除了 ChatGPT 之外,其余的幾種工具都能實現(xiàn)基本的字?jǐn)?shù)要求,未對作品內(nèi)容進(jìn)行深入探討,有興趣的小伙伴可以自行評價,歡迎在評論區(qū)討論。
2. 數(shù)學(xué)題目
題目
????????
? ? ? ? 計算【\int_{0}^{\pi^{2}}\sqrt{x}\cos\sqrt{x}dx】結(jié)果,用π表示。
ChatGPT
????????恭喜恭喜,答案錯誤,過程看著太唬人了,一頓操作猛如虎。?
ChatGPT 國外鏡像網(wǎng)站
????????不出意外,一樣的過程唬人,結(jié)果錯誤。
文心一言
????????果然如我所料,驢頭不對馬嘴。
New Bing
?
????????給我整不自信了,小伙伴們覺得答案對嗎?歡迎討論
? ? ? ? 后續(xù)有意思的是,他一直堅信自己算的是對的:
?總結(jié)
? ? ? ? 數(shù)學(xué)計算,幾乎是所有 AI 的弱項,我并沒有選擇簡單的方程求解問題,因為市面的題目,暴力解法都可以算出來,還不如來積分實在。
? ? ? ? 附上答案:
3. 翻譯
題目
? ? ? ? 請翻譯以下中文文獻(xiàn)為英文:
????????我志愿加入中國共產(chǎn)黨,擁護(hù)黨的綱領(lǐng),遵守黨的章程,履行黨員義務(wù),執(zhí)行黨的決定,嚴(yán)守黨的紀(jì)律,保守黨的秘密,對黨忠誠,積極工作,為共產(chǎn)主義奮斗終身,隨時準(zhǔn)備為黨和人民犧牲一切,永不叛黨。
ChatGPT
ChatGPT 國外鏡像網(wǎng)站
文心一言
New Bing
總結(jié)
? ? ? ? 博主的英文能力實在有限,只能說都挺牛逼!當(dāng)然你要是想要它們翻譯古詩詞,怕是有點難度,有興趣的小伙伴可以自行嘗試。
4. 代碼編寫
題目
? ? ? ? 使用 Java 編寫一個猜數(shù)游戲,給出代碼注釋,并盡可能的考慮邊界條件及異常輸入。
ChatGPT
????????代碼如下:
import java.util.Scanner;
import java.util.Random;
public class GuessNumberGame {
public static void main(String[] args) {
Random rand = new Random();
int numToGuess = rand.nextInt(100) + 1; // 生成隨機(jī)數(shù)
int numTries = 0; // 統(tǒng)計猜測次數(shù)
Scanner input = new Scanner(System.in); // 創(chuàng)建Scanner對象
while (true) { // 循環(huán)直到猜對
try {
System.out.print("請猜一個 1~100 的整數(shù):");
int guess = input.nextInt(); // 獲取玩家輸入的數(shù)字
if (guess < 1 || guess > 100) { // 判斷輸入是否合法
System.out.println("輸入不合法,請重新輸入一個 1~100 的整數(shù)!");
continue; // 跳過后續(xù)操作,回到循環(huán)開頭
}
numTries++; // 猜測次數(shù)加1
if (guess < numToGuess) { // 判斷玩家猜測的數(shù)字與實際數(shù)字的大小關(guān)系
System.out.println("猜小了,再試一次!");
} else if (guess > numToGuess) {
System.out.println("猜大了,再試一次!");
} else {
System.out.println("恭喜你猜對了!你一共猜了" + numTries + "次。");
break; // 退出循環(huán)
}
} catch (Exception e) { // 處理輸入異常
System.out.println("輸入有誤,請重新輸入一個整數(shù)!");
input.nextLine(); // 清空輸入緩沖區(qū)
}
}
input.close(); // 關(guān)閉Scanner對象
}
}
ChatGPT 國外鏡像網(wǎng)站
????????代碼如下:
import java.util.Random;
import java.util.Scanner;
public class GuessingGame {
public static void main(String[] args) {
int max = 100; // 猜測的最大值
int numberToGuess = new Random().nextInt(max) + 1; // 生成一個 1 到 max 的隨機(jī)數(shù)
int numberOfTries = 0; // 猜測的次數(shù)
Scanner input = new Scanner(System.in);
// 輸出歡迎信息和游戲規(guī)則
System.out.println("歡迎來到猜數(shù)游戲!");
System.out.println("我已經(jīng)想好了一個 1 到 " + max + " 之間的整數(shù),請你猜一下它是多少。");
while (true) {
// 提示用戶輸入猜測數(shù)
System.out.println("請輸入你的猜測(輸入 Q/q 退出游戲):");
// 獲取用戶輸入
String guessStr = input.nextLine();
// 處理用戶輸入為 Q/q 的情況,退出游戲
if (guessStr.equalsIgnoreCase("q")) {
System.out.println("謝謝參與,再見!");
break;
}
int guess;
try {
// 將用戶輸入的字符串轉(zhuǎn)換為整數(shù)
guess = Integer.parseInt(guessStr);
} catch (NumberFormatException e) {
// 處理用戶輸入非整數(shù)的異常情況
System.out.println("輸入錯誤,請輸入一個整數(shù)或 Q/q 退出游戲。");
continue;
}
// 處理用戶輸入超出范圍的情況
if (guess < 1 || guess > max) {
System.out.println("輸入錯誤,請輸入一個 1 到 " + max + " 之間的整數(shù)或 Q/q 退出游戲。");
continue;
}
numberOfTries++; // 記錄猜測次數(shù)
if (guess == numberToGuess) {
// 處理猜測正確的情況
System.out.println("恭喜你猜對了!你一共猜了 " + numberOfTries + " 次。");
break;
} else if (guess < numberToGuess) {
// 處理猜測數(shù)小于答案的情況
System.out.println("你猜的數(shù)太小了,請再試一次。");
} else {
// 處理猜測數(shù)大于答案的情況
System.out.println("你猜的數(shù)太大了,請再試一次。");
}
}
input.close(); // 關(guān)閉 Scanner 對象
}
}
文心一言
????????代碼如下:
import java.util.Scanner;
public class GuessNumberGame {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int numberToGuess = (int) (Math.random() * 100) + 1; // 生成1到100之間的隨機(jī)數(shù)
int numberOfTries = 0; // 猜測次數(shù)計數(shù)器
boolean win = false; // 是否猜對了
System.out.println("猜數(shù)游戲開始!");
while (!win) { // 無限循環(huán),直到猜對為止
System.out.print("請輸入你猜測的數(shù)字:");
int guess;
try {
guess = input.nextInt();
} catch (Exception e) {
System.out.println("輸入有誤,請重新輸入:");
continue;
}
numberOfTries++; // 猜測次數(shù)加1
if (guess == numberToGuess) { // 猜對了
win = true;
System.out.println("恭喜你猜對了!你一共猜了" + numberOfTries + "次。");
} else if (guess < numberToGuess) { // 猜小了
System.out.println("你猜小了!數(shù)字是 " + numberToGuess + ",你還剩下" + numberOfTries + "次機(jī)會。");
} else { // 猜大了
System.out.println("你猜大了!數(shù)字是 " + numberToGuess + ",你還剩下" + numberOfTries + "次機(jī)會。");
}
}
input.close(); // 關(guān)閉輸入流
}
}
New Bing
????????代碼如下:
// A guessing game program in Java
// The program generates a random number between 1 and 100
// The user tries to guess the number in 10 attempts
// The program gives feedback on whether the guess is too high, too low, or correct
// The program ends when the user guesses the number or runs out of attempts
import java.util.Scanner; // Import the Scanner class for user input
import java.util.Random; // Import the Random class for generating random numbers
public class GuessingGame {
public static void main(String[] args) {
// Create a Scanner object for user input
Scanner scanner = new Scanner(System.in);
// Create a Random object for generating random numbers
Random random = new Random();
// Generate a random number between 1 and 100
int number = random.nextInt(100) + 1;
// Initialize the number of attempts to 10
int attempts = 10;
// Initialize a boolean variable to indicate whether the user has guessed the number or not
boolean guessed = false;
// Print a welcome message and instructions
System.out.println("Welcome to the guessing game!");
System.out.println("I have chosen a number between 1 and 100.");
System.out.println("You have 10 attempts to guess it.");
// Loop until the user guesses the number or runs out of attempts
while (!guessed && attempts > 0) {
// Prompt the user to enter a guess
System.out.print("Enter your guess: ");
// Try to read an integer from the user input
try {
int guess = scanner.nextInt();
// Check if the guess is valid (between 1 and 100)
if (guess < 1 || guess > 100) {
// Print an error message and continue the loop
System.out.println("Invalid input. Please enter a number between 1 and 100.");
continue;
}
// Compare the guess with the number
if (guess == number) {
// The user has guessed the number correctly
// Set the guessed variable to true to end the loop
guessed = true;
// Print a congratulatory message and the number of attempts used
System.out.println("Congratulations! You guessed the number in " + (11 - attempts) + " attempts.");
} else if (guess < number) {
// The user has guessed too low
// Decrement the number of attempts by one
attempts--;
// Print a hint message and the remaining attempts
System.out.println("Your guess is too low. You have " + attempts + " attempts left.");
} else {
// The user has guessed too high
// Decrement the number of attempts by one
attempts--;
// Print a hint message and the remaining attempts
System.out.println("Your guess is too high. You have " + attempts + " attempts left.");
}
} catch (Exception e) {
// The user has entered an invalid input (not an integer)
// Print an error message and continue the loop
System.out.println("Invalid input. Please enter a number between 1 and 100.");
// Clear the scanner buffer by reading the next line
scanner.nextLine();
}
}
// Check if the user has not guessed the number after running out of attempts
if (!guessed) {
// Print a farewell message and reveal the number
System.out.println("Sorry, you have used up all your attempts. The number was " + number + ".");
}
// Close the scanner object
scanner.close();
}
}
????????吐槽一下,他竟然沒有一鍵復(fù)制代碼的按鈕!
總結(jié)
? ? ? ? 編寫代碼都是可以的,也都可以運行,但是需要你對代碼的邏輯 / 注釋 / 功能進(jìn)行調(diào)整才能繼續(xù)使用。一個非常明顯的特點就是,你說多少,他就寫多少,你不寫考慮異常輸入,他就不會考慮。如何更加準(zhǔn)確的寫出你想要的代碼,就要看你的描述是否清晰了。
5. 代碼解讀
題目
? ? ? ? 參照我之前的博客,寫的一個功能,看看它們對這個功能是怎么解讀的,如果是人來解讀的話,需要時間,但是一定能準(zhǔn)確的解讀,我現(xiàn)在很期待它們的表現(xiàn)了。
? ? ? ? 參考文章地址:指定周起始日計算指定日期是今年的第幾周
? ? ? ? 請解讀以下 VB 代碼:
Private Sub Form_Load()
Dim res As Integer
res = DateToWorkWeek("2023/07/06", 4)
End Sub
Public Function DateToWorkWeek(dateVal As String, startDay As Integer) As Integer
Dim sFirstDay As Integer
Dim iDayOfYear As Integer
Dim iDayOfFirstWeek As Integer
sFirstDay = Weekday(CDate(Year(dateVal) & "/01/01"), 2)
iDayOfYear = CInt(DateDiff("d", CDate(Year(dateVal) & "/01/01"), dateVal)) + 1
iDayOfFirstWeek = IIf((sFirstDay - startDay) >= 0, 7 + startDay - sFirstDay, Abs(sFirstDay - startDay))
DateToWorkWeek = IIf(iDayOfYear <= iDayOfFirstWeek, 1, -(Int(-((iDayOfYear - iDayOfFirstWeek) / 7))) + 1)
End Function
ChatGPT
????????很神奇的是,它在解讀完代碼之后,會對其重新排版,就出現(xiàn)了最下方的評價。
ChatGPT 國外鏡像網(wǎng)站
????????該說不說,至此為止,都解讀對了。
文心一言
????????可以看出,文心一言的解讀甚是簡短。但是主要功能是沒錯的。
New Bing
? ? ? ? 這個比較難受了:
????????一樣的毛病,需要輸入繼續(xù)他才工作,否則直接不動了。
總結(jié)
? ? ? ? 都能解釋出具體的功能,但是解釋的詳略各有千秋,各位小伙伴可以選擇自己喜歡的使用。
6.?繪圖能力(如果有)
題目
? ? ? ? 繪圖,這個就只有兩位參賽者了:文心一言和?New Bing
? ? ? ? 畫一個水滴石穿的圖片,畫風(fēng)古樸為主。
文心一言
?????????????Are you kidding me?
?New Bing
????????這個看著就正常多了。
????????雖然可看,但是,這是水滴石穿嗎?
新成員
? ? ? ? 一個國內(nèi)的鏡像:
? ? ? ? 勉強(qiáng)能看。
總結(jié)
? ? ? ? 繪畫部分,只能說一言難盡,全軍覆沒。娛樂可以,當(dāng)然可以選擇更加專業(yè)的 AI 繪圖工具,效果肯定好上很多,我也在嘗試搭建。
7. 網(wǎng)絡(luò)熱詞解釋
題目
? ? ? ? 很多 AI 的數(shù)據(jù)庫截止的時間是 21 年,我們就以 21 年之前的梗來對他們進(jìn)行考驗。
? ? ? ? 網(wǎng)絡(luò)熱?!倦u你太美】是怎么來的?
? ? ? ? 百科:雞你太美
ChatGPT
????????花花有唱過嗎?
ChatGPT 國外鏡像網(wǎng)站
????????我家坤坤不配擁有名字嗎
?文心一言
????????迷糊了,電視劇有這個臺詞?
?New Bing
????????嗚嗚嗚,我們一定要遠(yuǎn)離惡俗爛梗,共同營造一個清朗、健康、有序的網(wǎng)絡(luò)空間。
總結(jié)
? ? ? ? 看來還是聯(lián)網(wǎng)的 AI更 AI,數(shù)據(jù)庫的內(nèi)容不更新就會出現(xiàn)信息不對等的情況。文章來源:http://www.zghlxwxcb.cn/news/detail-433742.html
總結(jié)
? ? ? ? 總的來說,AI 在代碼編寫及解讀方面有著不錯的用武之地,但是在繪畫等方面顯得有些不足,個人還是喜歡國外鏡像,綜合表現(xiàn)佳,更多有趣功能需要小伙伴們一起探討。文章來源地址http://www.zghlxwxcb.cn/news/detail-433742.html
到了這里,關(guān)于ChatGPT、文心一言、New Bing到底哪個更AI?的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!