laitimes

The code capability of each AI large model is artificial intelligence or artificial ZZ?

author:Cherry Nanaki balls

It is tested with the more famous and leading models of Ali Tongyi Qianwen and iFLYTEK Xunfei Spark, plus chatGPT3.5.

A simple code question: how to add a trailing character | in the middle of a string, such as 99999 processing after becoming 9|9|9|9|9, please use Java language to implement!

First, the first appearance is "chatGPT":

The code capability of each AI large model is artificial intelligence or artificial ZZ?

Copy the code into the IDE for execution:

The code capability of each AI large model is artificial intelligence or artificial ZZ?

The output is correct. But the code is a bit verbose, ask if it is better implemented.

The code capability of each AI large model is artificial intelligence or artificial ZZ?

Copy to IDE execution, the result is correct.

The code capability of each AI large model is artificial intelligence or artificial ZZ?

But the code can also be simplified, give it a hint.

The code capability of each AI large model is artificial intelligence or artificial ZZ?

Very good, executed correctly.

The code capability of each AI large model is artificial intelligence or artificial ZZ?

It can be seen that chatGPT is still comfortable with simple code problems.

Second, the next is the Ali family's "Tongyi Thousand Questions"

The code capability of each AI large model is artificial intelligence or artificial ZZ?

Obviously, at a glance, the output should be: |9|9|9|9|9|9|, but it says that the output is 9|9|9|9|9, well...

Let it correct it:

The code capability of each AI large model is artificial intelligence or artificial ZZ?
The code capability of each AI large model is artificial intelligence or artificial ZZ?

Obviously, the code is outrageously wrong. Give it one last chance.

The code capability of each AI large model is artificial intelligence or artificial ZZ?

Gave me the error code as it is. I was also completely speechless. Abandon!

Third, finally, please take out the "iFLYTEK Spark" of iFLYTEK, which is at the forefront of domestic artificial intelligence

The code capability of each AI large model is artificial intelligence or artificial ZZ?
The code capability of each AI large model is artificial intelligence or artificial ZZ?

A lot of verbosity, it's clear that the code is wrong! If you don't believe it, let's run it in the IDE:

The code capability of each AI large model is artificial intelligence or artificial ZZ?

The output is: 9. Eh, this is more embarrassing, you have a lot of code, is it used to bluff people? Count you awesome. See if you can change it yourself, continue:

The code capability of each AI large model is artificial intelligence or artificial ZZ?
The code capability of each AI large model is artificial intelligence or artificial ZZ?

It's so stubborn, I was output the old code as it was, and not a single character was changed! Please forgive me for being speechless again...

Forget it, I'm irritable, let's go here today, I don't want to waste any more time testing.

The leading AI models in China are like bears, let alone other families. Even compared to GPT3.5, it's far from it! Not to mention GPT4. Please stop blowing all day!!

In a word: please be less routine and more honest. Don't roll in the nest anymore, if you want a roll, please roll with a large foreign company.

Read on