Post Reply 
ChatGPT for programming
03-30-2023, 02:49 AM
Post: #11
RE: ChatGPT for programming
.
This interesting 51-page PDF document is also quite on topic:

ChatGPT for programming numerical methods
    "ChatGPT is a large language model recently released by the OpenAI company. In this technical report, we explore for the first time the capability of ChatGPT for programming numerical algorithms. Specifically, we examine the capability of GhatGPT for generating codes for numerical algorithms in different programming languages, for debugging and improving written codes by users, for completing missed parts of numerical codes, rewriting available codes in other programming languages, and for parallelizing serial codes.

    Additionally, we assess if ChatGPT can recognize if given codes are written by humans or machines. To reach this goal, we consider a variety of mathematical problems such as the Poisson equation, the diffusion equation, the incompressible Navier-Stokes equations, compressible inviscid flow, eigenvalue problems, solving linear systems of equations, storing sparse matrices, etc. Furthermore, we exemplify scientific machine learning such as physics-informed neural networks and convolutional neural networks with applications to computational physics. Through these examples, we investigate the successes, failures, and challenges of ChatGPT.

    Examples of failures are producing singular matrices, operations on arrays with incompatible sizes, programming interruption for relatively long codes, etc. Our outcomes suggest that ChatGPT can successfully program numerical algorithms in different programming languages, but certain limitations and challenges exist that require further improvement of this machine learning model."
I found quite interesting point 9.3 Including unknown or unwanted libraries, where the A.I. "hallucinates" nonexistent (or at least unknown to exist) libraries and includes/references them in the code generated to solve some given task. The resulting code doesn't compile/run, of course.

V.

  
All My Articles & other Materials here:  Valentin Albillo's HP Collection
 
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
ChatGPT for programming - hpmin48gx - 03-29-2023, 12:27 AM
RE: ChatGPT for programming - carey - 03-29-2023, 02:25 PM
RE: ChatGPT for programming - carey - 03-29-2023, 03:58 PM
RE: ChatGPT for programming - pier4r - 03-29-2023, 08:28 PM
RE: ChatGPT for programming - pier4r - 03-29-2023, 08:42 PM
RE: ChatGPT for programming - TallKey - 03-30-2023, 12:37 AM
RE: ChatGPT for programming - lrdheat - 03-30-2023, 01:19 AM
RE: ChatGPT for programming - Valentin Albillo - 03-30-2023 02:49 AM
RE: ChatGPT for programming - pier4r - 03-30-2023, 09:09 AM
RE: ChatGPT for programming - pier4r - 03-30-2023, 09:32 AM
RE: ChatGPT for programming - pier4r - 03-31-2023, 09:49 AM
RE: ChatGPT for programming - Paul Dale - 03-31-2023, 03:49 AM
RE: ChatGPT for programming - pier4r - 03-31-2023, 12:34 PM
RE: ChatGPT for programming - pier4r - 03-31-2023, 02:03 PM
RE: ChatGPT for programming - carey - 04-01-2023, 07:23 AM
RE: ChatGPT for programming - pier4r - 04-01-2023, 06:15 PM
RE: ChatGPT for programming - pier4r - 04-01-2023, 08:58 PM
RE: ChatGPT for programming - pier4r - 04-01-2023, 09:42 PM
RE: ChatGPT for programming - mfleming - 04-01-2023, 11:13 AM
RE: ChatGPT for programming - pier4r - 05-16-2023, 07:45 PM



User(s) browsing this thread: 5 Guest(s)