Author Topic: Latest AI ChatGPT do not understand math ?  (Read 9902 times)

0 Members and 2 Guests are viewing this topic.

Offline szanTopic starter

  • Regular Contributor
  • *
  • Posts: 84
  • Country: bs
Re: Latest AI ChatGPT do not understand math ?
« Reply #25 on: January 13, 2023, 06:37:16 pm »
I think the ChatGPT reached the level of most managers already.
Nope, managers are capable to make basic math, but chatgpt has problems to understand it as I've shown in this thread  :-DD
---|--||||||----|||---|||-----
 

Offline bson

  • Supporter
  • ****
  • Posts: 2756
  • Country: us
Re: Latest AI ChatGPT do not understand math ?
« Reply #26 on: January 13, 2023, 06:54:07 pm »

I think you're being a little harsh. It got the first two digits _and_ the overall scale (~3.63e10) correct.

(36383315039 - 36432476129) / 36383315039 is only -0.0013511987554543409. In other words, its answer is wrong, but only by 0.14%. That's better than I could give you in the same amount of time as it got if I didn't have a calculator.
That's not the point.  The point is it has ingested tons of papers, articles, web sites, -pedias, etc.  Yet despite all this it hasn't even understood how to multiply two integers.  I bet if you were to use addition instead the situation would be exactly the same.  This shows there is no reasoning, no thinking, only dumb rote pattern matching, proximity fudging and a more sophisticated copy-and-paste.  It can't figure out anything original, all it is is a fancy search engine and document creator.
 
The following users thanked this post: Siwastaja

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 17774
  • Country: fr
Re: Latest AI ChatGPT do not understand math ?
« Reply #27 on: January 13, 2023, 07:48:22 pm »

I think you're being a little harsh. It got the first two digits _and_ the overall scale (~3.63e10) correct.

(36383315039 - 36432476129) / 36383315039 is only -0.0013511987554543409. In other words, its answer is wrong, but only by 0.14%. That's better than I could give you in the same amount of time as it got if I didn't have a calculator.
That's not the point.  The point is it has ingested tons of papers, articles, web sites, -pedias, etc.  Yet despite all this it hasn't even understood how to multiply two integers.  I bet if you were to use addition instead the situation would be exactly the same.  This shows there is no reasoning, no thinking, only dumb rote pattern matching, proximity fudging and a more sophisticated copy-and-paste.  It can't figure out anything original, all it is is a fancy search engine and document creator.

It clearly shows that machine learning, at this point, has little to do with learning as we know it.
 

Offline szanTopic starter

  • Regular Contributor
  • *
  • Posts: 84
  • Country: bs
Re: Latest AI ChatGPT do not understand math ?
« Reply #28 on: January 15, 2023, 12:07:58 am »
It clearly shows that machine learning, at this point, has little to do with learning as we know it.
It is strange, that today I've asked GPT3 something like this:
Quote
How I can swap each two bits in AVX2 256 bit register?
because of I'm interested in hardware accelerated some kind of -1/0/1 three state logic by using pure binary operations and answer is shown in attached image, but when we try to search google for:
Quote
_mm256_swap_epi64
intrinsic to swap each two bits in AVX2 extension instructions I get among others this search result:
Quote
Your search - _mm256_swap_epi64 - did not match any documents

I didn't tested suggested chatGPT code yet, but it is very disappointing that google search was not able to find any hints about  _mm256_swap_epi64  intrinsic ?!  :o

BTW: I do not include chatGPT response as  a text, just to do not spread AI artificial inteligence text on humans forum website, which I think is a must now, to do not let AIs to try to teach humans its language  ???
---|--||||||----|||---|||-----
 

Offline mathsquid

  • Frequent Contributor
  • **
  • Posts: 254
  • Country: us
  • I like math.
Re: Latest AI ChatGPT do not understand math ?
« Reply #29 on: January 15, 2023, 12:12:46 am »
I generated two large primes and multiplied them together, then asked chatGPT to factor it, knowing that it was essentially impossible. I figured that it would say that factoring such a large number was beyond its capabilities, but that didn't happen. It gave me an incorrect prime factorization.

So I thought I'd give it an easier one. I asked it to factor 1009 (the smallest 4-digit prime), and it said that it factors into 17*59, which is 1003.
 

Offline szanTopic starter

  • Regular Contributor
  • *
  • Posts: 84
  • Country: bs
Re: Latest AI ChatGPT do not understand math ?
« Reply #30 on: January 15, 2023, 12:37:49 am »
I didn't tested suggested chatGPT code yet, but it is very disappointing that google search was not able to find any hints about  _mm256_swap_epi64  intrinsic ?!  :o
OK, now I've tried to compile code suggested by chatGPT from source file in avx2_swap.c:
Quote
/**
How I can swap each two bits in AVX2 256 bit register?

You can use the _mm256_swap_epi64 intrinsic to swap each two bits in an AVX2 256 bit register. The intrinsic takes two parameters, the first being the register to be swapped and the second being a mask specifying which bits to swap. The mask should be set to 0x5555555555555555 for swapping each two bits.

Could you give me example source code for Linux GCC C ?

Here is an example of using the _mm256_swap_epi64 intrinsic to swap each two bits in an AVX2 256 bit register:
*/


#include <immintrin.h>

int main() {
    __m256i x = _mm256_set_epi64x(0xFFFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF);
    __m256i mask = _mm256_set1_epi64x(0x5555555555555555);
    __m256i result = _mm256_swap_epi64(x, mask);

        return 0;
}

by using GCC C compiler under Fedora 32 Linux:
Quote
$ gcc -Wall -O3 avx2_swap.c -o avx2_swap  -mavx2

and I've got warning about implicit declaration of function ‘_mm256_swap_epi64’ as well as error: incompatible types when initializing type ‘__m256i’ using type ‘int’  :palm:

Quote
avx2_swap.c: In function ‘main’:
avx2_swap.c:17:22: warning: implicit declaration of function ‘_mm256_swap_epi64’; did you mean ‘_mm256_srai_epi64’? [-Wimplicit-function-declaration]
   17 |     __m256i result = _mm256_swap_epi64(x, mask);
      |                      ^~~~~~~~~~~~~~~~~
      |                      _mm256_srai_epi64
avx2_swap.c:17:22: error: incompatible types when initializing type ‘__m256i’ using type ‘int’
avx2_swap.c:17:13: warning: unused variable ‘result’ [-Wunused-variable]
   17 |     __m256i result = _mm256_swap_epi64(x, mask);
      |             ^~~~~~

So, still thanks to chatGPT I have no idea howto use AVX2 to perform swap of each 2 bits operation something like in this example in AVX2 256 bit register:

Quote
011001010100101001010100...10101010100001010010

Result should look like this:
Quote
100110101000010110101000...01010101010010100001


---|--||||||----|||---|||-----
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 17774
  • Country: fr
Re: Latest AI ChatGPT do not understand math ?
« Reply #31 on: January 15, 2023, 02:04:51 am »
There shouldn't be much longer before some idiots activists start calling us oppressive towards AI and making it a national cause.
 
The following users thanked this post: Siwastaja


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf