ChatGPT, Wenxin Yiyan, New Bing which one is more AI?

Table of contents

What is the relationship between ChatGPT and GPT4?

1. Writing

topic

ChatGPT

ChatGPT foreign mirror site

Wenxinyiyan

New Bing

Summarize

2. Mathematics topics

topic

ChatGPT

ChatGPT foreign mirror site

Wenxinyiyan

New Bing

 Summarize

3. Translation

topic

ChatGPT

​edit

ChatGPT foreign mirror site

Wenxinyiyan

New Bing

Summarize

4. Code writing

topic

ChatGPT

ChatGPT foreign mirror site

Wenxinyiyan

New Bing

Summarize

5. Code Interpretation

topic

ChatGPT

ChatGPT foreign mirror site

Wenxinyiyan

New Bing

Summarize

6. Drawing ability (if available)

topic

Wenxinyiyan

 New Bing

new member

Summarize

7. Explanation of hot words on the Internet

topic

ChatGPT

​edit

ChatGPT foreign mirror site

 Wenxinyiyan

 New Bing

Summarize

Summarize


Hello, friends, if you want to talk about the hottest IPs this year, artificial intelligence (AI) must be indispensable. The well-known ChatGPT (OpenAI), ChatGPT foreign mirror sites, and Wenxinyiyan (Baidu)         have appeared on the market.  , New Bing (Microsoft) , Tongyi Qianwen (Ali) and other AI tools, I believe that the right friends are curious, which of these AIs is more AI, unfortunately, the blogger does not have the qualifications of Ali Tongyi Qianwen , So what this article brings to you is the contest between ChatGPT, Wenxin Yiyan, and New Bing. We will conduct objective dialectics from the following aspects: [writing], [mathematical questions], [translation], [code writing], [Code Interpretation], [Drawing Ability (if available)], [Explanation of Internet Hot Words], I will use the same words to ask different AI questions.

        Before I start, I need to explain this thing:

What is the relationship between ChatGPT and GPT4?

        You can understand ChatGPT as GPT3.5 version, which is a free version and can be used as long as you register.

        GPT4 is 4 versions, paid, 20 US dollars a month, as far as I know, there is a limit on the number of times, and you can only ask a maximum of 25 questions within 3 hours. This blog, the most creative way to have a conversation using New Bing, and ChatGPT.

        In the subsequent pictures, I will delete the icon on the left. As for why, I believe many friends have seen this picture:

        So are you ready, let's go:

1. Writing

topic

        Please write an article about the employment of Chinese college students, 800 words, with clear logic.

        After giving the result, how many words will I ask on it?

ChatGPT

 

        It is not difficult to see that you need to continue to let him continue to meet your requirements. Of course, you can also choose to continue to train, or you can achieve the effect of one-time completion. The main thing is to gradually adjust.


ChatGPT foreign mirror site

        One of my favorite mirror websites is quite satisfactory. The advantage is that the response speed is really fast.


Wenxinyiyan


New Bing

        There is no memory function.

Summarize

        To sum up, it is not difficult to see that except for ChatGPT, the other tools can meet the basic word count requirements, and the content of the work has not been discussed in depth. Interested partners can evaluate by themselves, welcome to discuss in the comment area.


2. Mathematics topics

topic

        

        Calculate the result of [\int_{0}^{\pi^{2}}\sqrt{x}\cos\sqrt{x}dx], represented by π.

ChatGPT

        Congratulations, the answer is wrong, the process looks too bluffing, and the operation is as fierce as a tiger. 


ChatGPT foreign mirror site

        Not surprisingly, the same process of bluffing, the result is wrong.


Wenxinyiyan

        Sure enough, as I expected, the donkey's head was not right with the horse's mouth.


New Bing

 

        I am not confident anymore, do you guys think the answer is right? welcome to discuss

        What's interesting in the follow-up is that he has always believed that he was right:

 Summarize

        Mathematical calculation is almost the weak point of all AI. I did not choose simple equation solving problems, because the problems in the market can be calculated by violent solutions, so it is better to use integral.

        Attach the answer:


3. Translation

topic

        Please translate the following Chinese documents into English:

        I volunteer to join the Communist Party of China, support the party's program, abide by the party's charter, fulfill the obligations of party members, implement the party's decisions, strictly observe party discipline, keep party secrets, be loyal to the party, work actively, fight for communism for life, and be ready at any time Sacrifice everything for the party and the people and never betray the party.

ChatGPT


ChatGPT foreign mirror site


Wenxinyiyan


New Bing


Summarize

        The blogger's English ability is really limited, so I can only say that they are all awesome! Of course, if you want them to translate ancient poems, it may be a bit difficult, and interested friends can try it by themselves.


4. Code writing

topic

        Write a guessing game in Java, give code comments, and consider boundary conditions and abnormal inputs as much as possible.

ChatGPT

        code show as below:

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;  // 生成随机数
        int numTries = 0;  // 统计猜测次数
        Scanner input = new Scanner(System.in);  // 创建Scanner对象

        while (true) {  // 循环直到猜对
            try {
                System.out.print("请猜一个 1~100 的整数:");
                int guess = input.nextInt();  // 获取玩家输入的数字

                if (guess < 1 || guess > 100) {  // 判断输入是否合法
                    System.out.println("输入不合法,请重新输入一个 1~100 的整数!");
                    continue;  // 跳过后续操作,回到循环开头
                }

                numTries++;  // 猜测次数加1

                if (guess < numToGuess) {  // 判断玩家猜测的数字与实际数字的大小关系
                    System.out.println("猜小了,再试一次!");
                } else if (guess > numToGuess) {
                    System.out.println("猜大了,再试一次!");
                } else {
                    System.out.println("恭喜你猜对了!你一共猜了" + numTries + "次。");
                    break;  // 退出循环
                }

            } catch (Exception e) {  // 处理输入异常
                System.out.println("输入有误,请重新输入一个整数!");
                input.nextLine();  // 清空输入缓冲区
            }
        }

        input.close();  // 关闭Scanner对象
    }
}

ChatGPT foreign mirror site

        code show as below:

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 的随机数
        int numberOfTries = 0; // 猜测的次数
        Scanner input = new Scanner(System.in);

        // 输出欢迎信息和游戏规则
        System.out.println("欢迎来到猜数游戏!");
        System.out.println("我已经想好了一个 1 到 " + max + " 之间的整数,请你猜一下它是多少。");

        while (true) {
            // 提示用户输入猜测数
            System.out.println("请输入你的猜测(输入 Q/q 退出游戏):");

            // 获取用户输入
            String guessStr = input.nextLine();

            // 处理用户输入为 Q/q 的情况,退出游戏
            if (guessStr.equalsIgnoreCase("q")) {
                System.out.println("谢谢参与,再见!");
                break;
            }

            int guess;

            try {
                // 将用户输入的字符串转换为整数
                guess = Integer.parseInt(guessStr);
            } catch (NumberFormatException e) {
                // 处理用户输入非整数的异常情况
                System.out.println("输入错误,请输入一个整数或 Q/q 退出游戏。");
                continue;
            }

            // 处理用户输入超出范围的情况
            if (guess < 1 || guess > max) {
                System.out.println("输入错误,请输入一个 1 到 " + max + " 之间的整数或 Q/q 退出游戏。");
                continue;
            }

            numberOfTries++; // 记录猜测次数

            if (guess == numberToGuess) {
                // 处理猜测正确的情况
                System.out.println("恭喜你猜对了!你一共猜了 " + numberOfTries + " 次。");
                break;
            } else if (guess < numberToGuess) {
                // 处理猜测数小于答案的情况
                System.out.println("你猜的数太小了,请再试一次。");
            } else {
                // 处理猜测数大于答案的情况
                System.out.println("你猜的数太大了,请再试一次。");
            }
        }

        input.close(); // 关闭 Scanner 对象
    }
}

Wenxinyiyan

        code show as below:

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之间的随机数  
        int numberOfTries = 0; // 猜测次数计数器  
        boolean win = false; // 是否猜对了  
  
        System.out.println("猜数游戏开始!");  
  
        while (!win) { // 无限循环,直到猜对为止  
            System.out.print("请输入你猜测的数字:");  
            int guess;  
            try {  
                guess = input.nextInt();  
            } catch (Exception e) {  
                System.out.println("输入有误,请重新输入:");  
                continue;  
            }  
  
            numberOfTries++; // 猜测次数加1  
  
            if (guess == numberToGuess) { // 猜对了  
                win = true;  
                System.out.println("恭喜你猜对了!你一共猜了" + numberOfTries + "次。");  
            } else if (guess < numberToGuess) { // 猜小了  
                System.out.println("你猜小了!数字是 " + numberToGuess + ",你还剩下" + numberOfTries + "次机会。");  
            } else { // 猜大了  
                System.out.println("你猜大了!数字是 " + numberToGuess + ",你还剩下" + numberOfTries + "次机会。");  
            }  
        }  
  
        input.close(); // 关闭输入流  
    }  
}

New Bing

        code show as below:

// 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();
    }
}

        To make fun of it, he didn't even have a button to copy the code with one click!


Summarize

        It is possible to write code, and it can also run, but you need to adjust the logic/comment/function of the code before you can continue to use it. A very obvious feature is that he will write as much as you say, and he will not consider abnormal input if you do not write. How to write the code you want more accurately depends on whether your description is clear.


5. Code Interpretation

topic

        Refer to my previous blog, write a function, and see how they interpret this function. If it is interpreted by humans, it will take time, but it must be able to interpret accurately. I am looking forward to their performance now.

        Reference article address: Specify the start date of the week to calculate the specified date is the week of the year

        Please interpret the following VB code:

 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

        The amazing thing is that after it reads the code, it will rearrange it, and the bottom evaluation will appear.


ChatGPT foreign mirror site

        It should be said or not, so far, all interpretations are correct.


Wenxinyiyan

        It can be seen that the interpretation of Wen Xin Yi Yan is very brief. But the main function is right.


New Bing

        This one is more uncomfortable:

        The same problem, it needs to be input to continue to work, otherwise it will not move.


Summarize

        Both can explain the specific functions, but the details of the explanations have their own advantages and disadvantages. You can choose the one you like to use.


6. Drawing ability (if available)

topic

        Drawing, there are only two contestants here: Wen Xin Yi Yan and New Bing

        Draw a picture of water dripping through stone, and the painting style is mainly simple and simple.

Wenxinyiyan

        ?????Are you kidding me?


 New Bing

        This looks more normal.

        Although it can be seen, is this a drop of water?


new member

        A domestic mirror image:

        I can barely see it.


Summarize

        As for the painting part, it can only be said that it is hard to say, and the whole army was wiped out. For entertainment, of course, you can choose a more professional AI drawing tool, the effect will definitely be much better, and I am also trying to build it.


7. Explanation of hot words on the Internet

topic

        The cut-off time of many AI databases is 21 years, and we will test them with the stems from 21 years ago.

        How did the Internet hot stalk [Chicken You Are Too Beautiful] come about?

        Encyclopedia: chicken you are too beautiful

ChatGPT

        Has Huahua ever sung?


ChatGPT foreign mirror site

        Doesn't my Kunkun deserve to have a name?


 Wenxinyiyan

        Confused, does the TV series have this line?


 New Bing

        Woohoo, we must stay away from vulgar and rotten memes, and work together to create a clear, healthy, and orderly cyberspace.


Summarize

        It seems that networked AI is more AI, and if the content of the database is not updated, there will be information inequality.


Summarize

        Generally speaking, AI has a good place to use in code writing and interpretation, but it is somewhat insufficient in painting and other aspects. Personally, I still like foreign mirror images, and the overall performance is good. More interesting functions need to be discussed with friends.

Supongo que te gusta

Origin blog.csdn.net/qq_57163366/article/details/130496817
Recomendado
Clasificación