Large language models (LLMs) have showcased remarkable capabilities in the realm of AI for Science, and chemistry has greatly benefited from the advancement of AI tools. With a strong capacity for learning sequential data like natural language, LLMs offer immense potential. Despite this promise, the application of LLMs in chemistry remains limited, with few models specifically designed for chemical data and tasks. Hence, we propose leveraging LLMs to comprehensively model both chemical sequences and natural language sequences, aiming to tackle diverse chemical tasks. We introduce BatGPT-Chem, a general foundation large-scale model with 15 billion parameters tailored for chemical engineering. Built on a corpus of over 100 million chemical instances, BatGPT-Chem specializes in 5 core tasks: retrosynthesis prediction, molecule design, molecule description, product inference, and yield prediction. BatGPT-Chem comprehensively models the information flow between chemical language and natural language, enabling full-spectrum prediction across chemical tasks. It is one of the largest bilingual chemistry-specific LLMs, supporting both English and Chinese for input and output. BatGPT-Chem is also the first automated retrosynthesis tool capable of explicitly predicting reaction conditions, a critical but often overlooked aspect in previous models. Through rigorous zero-shot evaluations, BatGPT-Chem demonstrates state-of-the-art performance, surpassing both existing chemical LLMs and general-purpose models in accuracy and validity across a diverse range of tasks. Notably, it demonstrates superior ability in predicting both reactants and reaction conditions, as well as strong generalization in low-data settings. These results suggest that BatGPT-Chem is among the most advanced and practical chemical LLMs, with strong potential to support real-world applications in synthesis planning, drug discovery, and materials design.
| • | The electronic laboratory notebook Buchwald–Hartwig (ELN BH) dataset [25] contains 454 products of the Pd-catalyzed Buchwald–Hartwig C–N cross-coupling reactions. It has 551 reactions with a wider range of reaction space than the HTE BH dataset. |
| • | The asymmetric allylic alkylation with amine (AAAA) dataset [26] contains 189 products of 273 reactions. |
| • | The Denmark dataset [27] contains 25 products of the asymmetric N, S-acetal formation using chiral phosphoric acid (CPA) catalysts. There are 1,075 reactions on the combinations of 43 catalysts, 5 imines, and 5 thiols. |
| • | The asymmetric hydrogenation of olefins (AHO) dataset [28] contains 3,147 products. There are 10,268 reactions with 1,686 transition metal catalysts and 2,754 olefin substrates. |
| • | The metabolites and biochemical reactions (BioChem) dataset [29] comprises 16,838 products specifically curated for the biosynthetic planning of natural products, including a total of 33,687 reactions. It does not contain information about reaction conditions. |
| • | The USPTO-100 dataset is part of ChemLLMBench [30], containing 100 products (one product for one reaction) randomly sampled from the respective test sets. It does not contain information about reaction conditions. |
| • | Ubiquity: SMILES remains the most widely used representation in computational chemistry [51] and is deeply embedded in major chemical databases (e.g., USPTO and PubChem) and toolkits (e.g., RDKit), allowing for seamless integration with existing infrastructures. |
| • | Sequential compatibility: As a string-based format, SMILES aligns naturally with the sequential processing paradigm of LLMs, enabling unified modeling with natural language. |
| • | Rapid convertibility: SMILES can be efficiently converted to other molecular representations (e.g., SELFIES and InChI) through established algorithms. This enables BatGPT-Chem to achieve cross-representation adaptability with minimal additional training, either through limited fine-tuning data or simply by incorporating conversion tools at model interfaces, thus extending its capability to process alternative formats like SELFIES [52] without architectural modifications. |
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |