• About
  • Get Jnews
  • Contcat Us
Tuesday, March 28, 2023
various4news
No Result
View All Result
  • Login
  • News

    Breaking: Boeing Is Stated Shut To Issuing 737 Max Warning After Crash

    BREAKING: 189 individuals on downed Lion Air flight, ministry says

    Crashed Lion Air Jet Had Defective Velocity Readings on Final 4 Flights

    Police Officers From The K9 Unit Throughout A Operation To Discover Victims

    Folks Tiring of Demonstration, Besides Protesters in Jakarta

    Restricted underwater visibility hampers seek for flight JT610

    Trending Tags

    • Commentary
    • Featured
    • Event
    • Editorial
  • Politics
  • National
  • Business
  • World
  • Opinion
  • Tech
  • Science
  • Lifestyle
  • Entertainment
  • Health
  • Travel
  • News

    Breaking: Boeing Is Stated Shut To Issuing 737 Max Warning After Crash

    BREAKING: 189 individuals on downed Lion Air flight, ministry says

    Crashed Lion Air Jet Had Defective Velocity Readings on Final 4 Flights

    Police Officers From The K9 Unit Throughout A Operation To Discover Victims

    Folks Tiring of Demonstration, Besides Protesters in Jakarta

    Restricted underwater visibility hampers seek for flight JT610

    Trending Tags

    • Commentary
    • Featured
    • Event
    • Editorial
  • Politics
  • National
  • Business
  • World
  • Opinion
  • Tech
  • Science
  • Lifestyle
  • Entertainment
  • Health
  • Travel
No Result
View All Result
Morning News
No Result
View All Result
Home Artificial Intelligence

Getting the Proper Reply from ChatGPT – O’Reilly

Rabiesaadawi by Rabiesaadawi
March 18, 2023
in Artificial Intelligence
0
Getting the Proper Reply from ChatGPT – O’Reilly
0
SHARES
0
VIEWS
Share on FacebookShare on Twitter


A few days in the past, I used to be eager about what you wanted to know to make use of ChatGPT (or Bing/Sydney, or any comparable service). It’s simple to ask it questions, however everyone knows that these giant language fashions ceaselessly generate false solutions. Which raises the query: If I ask ChatGPT one thing, how a lot do I have to know to find out whether or not the reply is appropriate?

So I did a fast experiment. As a brief programming challenge, a lot of years in the past I made a listing of all of the prime numbers lower than 100 million. I used this checklist to create a 16-digit quantity that was the product of two 8-digit primes (99999787 instances 99999821 is 9999960800038127). I then requested ChatGPT whether or not this quantity was prime, and the way it decided whether or not the quantity was prime.




Be taught sooner. Dig deeper. See farther.

ChatGPT appropriately answered that this quantity was not prime. That is considerably shocking as a result of, if you happen to’ve learn a lot about ChatGPT, that math isn’t considered one of its sturdy factors. (There’s most likely a giant checklist of prime numbers someplace in its coaching set.) Nevertheless, its reasoning was incorrect–and that’s much more attention-grabbing. ChatGPT gave me a bunch of Python code that carried out the Miller-Rabin primality take a look at, and mentioned that my quantity was divisible by 29. The code as given had a few primary syntactic errors–however that wasn’t the one drawback. First, 9999960800038127 isn’t divisible by 29 (I’ll allow you to show this to your self). After fixing the plain errors, the Python code appeared like an accurate implementation of Miller-Rabin–however the quantity that Miller-Rabin outputs isn’t an element, it’s a “witness” that attests to the actual fact the quantity you’re testing isn’t prime. The quantity it outputs additionally isn’t 29. So ChatGPT didn’t really run this system; not shocking, many commentators have famous that ChatGPT doesn’t run the code that it writes. It additionally misunderstood what the algorithm does and what its output means, and that’s a extra critical error.

I then requested it to rethink the rationale for its earlier reply, and received a really well mannered apology for being incorrect, along with a unique Python program. This program was appropriate from the beginning. It was a brute-force primality take a look at that attempted every integer (each odd and even!) smaller than the sq. root of the quantity underneath take a look at. Neither elegant nor performant, however appropriate. However once more, as a result of ChatGPT doesn’t really run this system, it gave me a brand new checklist of “prime components”–none of which had been appropriate. Apparently, it included its anticipated (and incorrect) output within the code:

      n = 9999960800038127
      components = factorize(n)
      print(components) # prints [193, 518401, 3215031751]

I’m not claiming that ChatGPT is ineffective–removed from it. It’s good at suggesting methods to unravel an issue, and might lead you to the appropriate resolution, whether or not or not it offers you an accurate reply. Miller-Rabin is attention-grabbing; I knew it existed, however wouldn’t have bothered to look it up if I wasn’t prompted. (That’s a pleasant irony: I used to be successfully prompted by ChatGPT.)

Getting again to the unique query: ChatGPT is sweet at offering “solutions” to questions, but when it’s good to know that a solution is appropriate, you should both be able to fixing the issue your self, or doing the analysis you’d want to unravel that drawback. That’s most likely a win, however you need to be cautious. Don’t put ChatGPT in conditions the place correctness is a matter until you’re prepared and capable of do the exhausting work your self.





Source_link

READ ALSO

Hashing in Trendy Recommender Programs: A Primer | by Samuel Flender | Mar, 2023

Detecting novel systemic biomarkers in exterior eye photographs – Google AI Weblog

Related Posts

Hashing in Trendy Recommender Programs: A Primer | by Samuel Flender | Mar, 2023
Artificial Intelligence

Hashing in Trendy Recommender Programs: A Primer | by Samuel Flender | Mar, 2023

March 28, 2023
Detecting novel systemic biomarkers in exterior eye photographs – Google AI Weblog
Artificial Intelligence

Detecting novel systemic biomarkers in exterior eye photographs – Google AI Weblog

March 27, 2023
‘Nanomagnetic’ computing can present low-energy AI — ScienceDaily
Artificial Intelligence

Robotic caterpillar demonstrates new strategy to locomotion for gentle robotics — ScienceDaily

March 26, 2023
Posit AI Weblog: Phrase Embeddings with Keras
Artificial Intelligence

Posit AI Weblog: Phrase Embeddings with Keras

March 25, 2023
What Are ChatGPT and Its Mates? – O’Reilly
Artificial Intelligence

What Are ChatGPT and Its Mates? – O’Reilly

March 24, 2023
ACL 2022 – Apple Machine Studying Analysis
Artificial Intelligence

Pre-trained Mannequin Representations and their Robustness in opposition to Noise for Speech Emotion Evaluation

March 23, 2023
Next Post
High Calls for For High quality Software program

CrowdStrike report reveals identities below siege

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

POPULAR NEWS

Robotic knee substitute provides abuse survivor hope

Robotic knee substitute provides abuse survivor hope

August 22, 2022
Turkey’s hair transplant robotic is ’straight out a sci-fi film’

Turkey’s hair transplant robotic is ’straight out a sci-fi film’

September 8, 2022
PizzaHQ in Woodland Park NJ modernizes pizza-making with expertise

PizzaHQ in Woodland Park NJ modernizes pizza-making with expertise

July 10, 2022
How CoEvolution robotics software program runs warehouse automation

How CoEvolution robotics software program runs warehouse automation

May 28, 2022
CMR Surgical expands into LatAm with Versius launches underway

CMR Surgical expands into LatAm with Versius launches underway

May 25, 2022

EDITOR'S PICK

The Finest Robotic Vacuums to Purchase In 2023: Prime Cleaners for Laborious Flooring and Carpet

The Finest Robotic Vacuums to Purchase In 2023: Prime Cleaners for Laborious Flooring and Carpet

December 22, 2022
Utilized Supplies Outlines Subsequent-Gen Instruments for 3nm and GAA Transistor Period

Utilized Supplies Outlines Subsequent-Gen Instruments for 3nm and GAA Transistor Period

May 15, 2022
Collaborative Robotic {Hardware} Market Outlook 2022 And Progress By High KeyPlayers – ABB, Adept Applied sciences Inc., Denso Group, Fanuc Company

Robotic Train Pendant Market 2022 And Evaluation By High Keyplayers – ABB, FANUC, KUKA, Omron Adept Applied sciences – Designer Ladies

July 11, 2022
See A Robotic Canine Get Stomped By An Offended Pedestrian

See A Robotic Canine Get Stomped By An Offended Pedestrian

January 13, 2023

About

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc. Check our landing page for details.

Follow us

Categories

  • Artificial Intelligence
  • Business
  • Computing
  • Entertainment
  • Fashion
  • Food
  • Gadgets
  • Health
  • Lifestyle
  • National
  • News
  • Opinion
  • Politics
  • Rebotics
  • Science
  • Software
  • Sports
  • Tech
  • Technology
  • Travel
  • Various articles
  • World

Recent Posts

  • This Anker Moveable Energy Station Is Again All the way down to Its Greatest Value of 2023
  • Intel Introduces NUC 13 Professional: Area Canyon Brings Sooner 4×4 Choices
  • Earthworm-inspired robotic strikes by doing the wave
  • Hashing in Trendy Recommender Programs: A Primer | by Samuel Flender | Mar, 2023
  • Buy JNews
  • Landing Page
  • Documentation
  • Support Forum

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Homepages
    • Home Page 1
    • Home Page 2
  • News
  • Politics
  • National
  • Business
  • World
  • Entertainment
  • Fashion
  • Food
  • Health
  • Lifestyle
  • Opinion
  • Science
  • Tech
  • Travel

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In