paper-with-me

Papers

ChatGPT for Programming Numerical Methods

2023-03-21 · Ali Kashefi, Tapan Mukerji

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.

📄 PDF Abstract BibTeX arXiv:2303.12093

Code (1)

ali-stanford/chatgpt_programming_numerical_methods 공식 구현

Tasks

Language ModellingLarge Language Model

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Can ChatGPT implement finite element models for geotechnical engineering applications?

2025-01-04 · Taegu Kim, Tae Sup Yun, Hyoung Suk Suh

This study assesses the capability of ChatGPT to generate finite element code for geotechnical engineering applications from a set of prompts. We tested three different initial boundary value problems using a hydro-mecha…

Large Language ModelPrompt Engineering

Inappropriate Benefits and Identification of ChatGPT Misuse in Programming Tests: A Controlled Experiment

2023-08-11 · Hapnes Toba, Oscar Karnalim, Meliana Christianti Johan, Terutoshi Tada 외

While ChatGPT may help students to learn to program, it can be misused to do plagiarism, a breach of academic integrity. Students can ask ChatGPT to complete a programming task, generating a solution from other people's …

Survey

Enhancing Programming Education with ChatGPT: A Case Study on Student Perceptions and Interactions in a Python Course

2024-03-20 · Boxaun Ma, Li Chen, Shin'ichi Konomi

The integration of ChatGPT as a supportive tool in education, notably in programming courses, addresses the unique challenges of programming education by providing assistance with debugging, code generation, and explanat…

Code Generation

Kattis vs. ChatGPT: Assessment and Evaluation of Programming Tasks in the Age of Artificial Intelligence

2023-12-02 · Nora Dunder, Saga Lundborg, Olga Viberg, Jacqueline Wong

AI-powered education technologies can support students and teachers in computer science education. However, with the recent developments in generative AI, and especially the increasingly emerging popularity of ChatGPT, t…

Humans are Still Better than ChatGPT: Case of the IEEEXtreme Competition

2023-05-10 · Anis Koubaa, Basit Qureshi, Adel Ammar, Zahid Khan 외

Since the release of ChatGPT, numerous studies have highlighted the remarkable performance of ChatGPT, which often rivals or even surpasses human capabilities in various tasks and domains. However, this paper presents a …