כתבה
arXiv cs.AI ·
ModiGen: עבודה זרוע של LLM לייצור קוד Modelica
ModiGen: A Large Language Model-Based Workflow for Multi-Task Modelica Code Generation
ModiGen היא עבודה זרוע של LLM לייצור קוד Modelica. היא משתמשת בטכניקות של טריינינג מובן-מבוא, גרפים ואופטימיזציה לשפר את דיוק ואמינות הקוד. התוצאות המחקר מראות שיפור ניכר בביצועים: השיפור המקסימלי ב-pass@1 הגיע ל-0.3349 עבור המשימה של ייצור קוד Modelica ו-0.2457 עבור המשימה של ייצור תצוגות.
תקציר מקורי באנגליתarXiv:2503.18460v2 Announce Type: replace-cross Abstract: Modelica is a widely adopted language for simulating complex physical systems, yet effective model creation and optimization require substantial domain expertise. Although large language models (LLMs) have demonstrated promising capabilities in code generation, their application to modeling remains largely unexplored. To address this gap, we have developed benchmark datasets specifically designed to evaluate the performance of LLMs in generating Modelica component models and test cases. Our evaluation reveals substantial limitations in current LLMs, as the generated code often fails to simulate successfully. To overcome these challenges, we propose a specialized workflow that integrates supervised fine-tuning, graph retrieval-augmen
קרא במקור המקורי
arxiv.org
פתח כתבה מקורית