mlsanityData to 14 Oct 2026

Text2Model: Generating dynamic chemical reactor models using large language models (LLMs)

arXiv 2503.17004 ↗First posted 21 Mar 2025cs.PL cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

As large language models have shown remarkable capabilities in conversing via natural language, the question arises as to how LLMs could potentially assist chemical engineers in research and industry with domain-specific tasks. We generate dynamic chemical reactor models in Modelica code format from textual descriptions as user input. We fine-tune Llama 3.1 8B Instruct on synthetically generated Modelica code for different reactor scenarios. We compare the performance of our fine-tuned model to the baseline Llama 3.1 8B Instruct model and GPT4o. We manually assess the models' predictions regarding the syntactic and semantic accuracy of the generated dynamic models. We find that considerable improvements are achieved by the fine-tuned model with respect to both the semantic and the syntactic accuracy of the Modelica models. However, the fine-tuned model lacks a satisfactory ability to generalize to unseen scenarios compared to GPT4o.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 6 of its 8 references that are in the map. First posted on arXiv 21 Mar 2025.

Builds on

6 of 8 references.

References · 6

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  4. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  5. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  6. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 333

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.