Large Language Models (LLMs) recently demonstrated capabilities for generating source code in common programming languages. Additionally, commercial products such as ChatGPT 4 started to provide code interpreters, allowing for the automatic execution of generated code fragments, instant feedback, and the possibility to develop and refine in a conversational fashion. With an exploratory research approach, this paper applies code generation and interpretation to conceptual models. The concept and prototype of a conceptual model interpreter is explored, capable of rendering visual models generated in textual syntax by state-of-the-art LLMs such as Llama~2 and ChatGPT 4. In particular, these LLMs can generate textual syntax for the PlantUML and Graphviz modeling software that is automatically rendered within a conversational user interface. The first result is an architecture describing the components necessary to interact with interpreters and LLMs through APIs or locally, providing support for many commercial and open source LLMs and interpreters. Secondly, experimental results for models generated with ChatGPT 4 and Llama 2 are discussed in two cases covering UML and, on an instance level, graphs created from custom data. The results indicate the possibility of modeling iteratively in a conversational fashion.
Solving Challenging Math Word Problems Using GPT-4 Code Interpreter with Code-based Self-Verification
The Chinese University of Hong Kong(香港中文大学);Nanjing University(南京大学);University of Science and Technology of China(中国科学技术大学);Tsinghua University(清华大学);City University of Hong Kong(香港城市大学);Changsha University of Science and Technology(长沙理工大学);Tufts University(塔夫茨大学)
DeepWisdom(深度智慧);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shenzhen University(深圳大学);Fudan University(复旦大学);Renmin University of China(中国人民大学);Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学);University of Notre Dame(圣母大学);The University of Hong Kong(香港大学);Yale University(耶鲁大学);Xiamen University(厦门大学);East China Normal University(华东师范大学);Beijing University of Technology(北京工业大学)
本文提出 Data Interpreter,一种基于 LLM 的智能体,通过分层图建模和可编程节点生成两个关键模块,自动端到端解决数据科学问题,在多个数据集和任务上显著提升性能。