Assessment of chemistry knowledge in large language models that generate code

Andrew D White1,2, Glen M Hocky3,4, Heta A Gandhi1

  • 1Department of Chemical Engineering, University of Rochester USA andrew.white@rochester.edu.

Digital Discovery
|April 17, 2023
PubMed
Summary

Code-generating large language models (LLMs) demonstrate significant chemistry knowledge, answering questions posed as coding tasks. Prompt engineering strategies can boost their accuracy by 30%.

Related Concept Videos

The Small x Assumption02:20

The Small x Assumption

If a reaction has a small equilibrium constant, the equilibrium position favors the reactants. In such reactions, a negligible change in concentration may occur if the initial concentrations of reactants are high and the Kc value is small. In such circumstances, the equilibrium concentration is approximately equal to its initial concentration.  This estimation can be used to simplify the equilibrium calculations by assuming that some equilibrium concentrations are equal to the initial...
46.3K
Molecular Models02:00

Molecular Models

Physical models representing molecular architectures of chemical compounds play essential roles in understanding chemistry. The use of molecular models makes it easier to visualize the structures and shapes of atoms and molecules.
38.8K
Classification of Elements and Compounds02:54

Classification of Elements and Compounds

Pure substances consist of only one type of matter. A pure substance can be an element or a compound. An element consists of only one type of atom, while a compound consists of two or more types of atoms held together by a chemical bond. Elements are classified as atomic or molecular based on the nature of their basic units.
Compounds are pure substances composed of two or more elements in fixed, definite proportions. Compounds are classified as ionic or molecular (covalent) based on the bonds...
66.8K
Chemical Symbols01:09

Chemical Symbols

A chemical symbol is an abbreviation that is used to indicate an element or an atom of an element. For example, the symbol for mercury is Hg. We use the same symbol to indicate one atom of mercury (microscopic domain) or to label a container of many atoms of the element mercury (macroscopic domain).
Some symbols are derived from the common name of the element; others are abbreviations of the name in another language. Most symbols have one or two letters, but three-letter symbols have been used...
8.6K
Chemical Equations03:10

Chemical Equations

Chemical equations represent the identities and relative quantities of substances involved in a chemical reaction. The substances undergoing reaction are called reactants, and their formulas are placed on the left side of the equation. The substances generated by the reaction are called products, and their formulas are placed on the right side of the equation. Plus signs (+) separate individual reactant and product formulas, and an arrow (→) separates the reactant and product (left and...
63.7K
Experimental Determination of Chemical Formula02:37

Experimental Determination of Chemical Formula

The elemental makeup of a compound defines its chemical identity, and chemical formulas are the most concise way of representing this elemental makeup. When a compound’s formula is unknown, measuring the mass of its constituent elements is often the first step in determining the formula experimentally.
38.2K