Computer Science ›› 2025, Vol. 52 ›› Issue (6A): 240900155-4.doi: 10.11896/jsjkx.240900155

• Large Language Model Technology and Its Application • Previous Articles     Next Articles

Domain UML Model Automatic Construction Based on Fine-tuning Qwen2

LI Jiawei1 , DENG Yuandan2,3, CHEN Bo1   

  1. 1 School of Information and Software Engineering,University of Electronic Science and Technology of China,Chengdu 610000,China
    2 University of Electronic Science and Technology of China Yibin Park,Yibin,Sichuan 644000,China
    3 Sichuan Provincial Key Laboratory of Intelligent Terminal Jointly Built by Hall and City,Yibin,Sichuan 644000,China
  • Online:2025-06-16 Published:2025-06-12
  • About author:LI Jiawei,born in 1997,postgraduate. His main research interests include computer vision and so on.
    CHEN Bo,born in 1977,Ph.D,professor. His main research interests include computational intelligence,cloud computing and intensive data processing.
  • Supported by:
    Sichuan Province Sci-Tech Plan Project(2023YFG0032)and Sichuan Province Scientific and Technological Achievements Transfer and Transformation Demonstration Project(2024ZHCG0029).

Abstract: This paper proposes a domain UML(unified modeling language) automatic construction system based on large model fine-tuning technology,which is used to automatically convert natural language descriptions of software system production requirements in various domains into UML class diagrams that comply with the unified modeling language standards. The research process includes the construction of natural text datasets,model fine-tuning,quantitative deployment,and the development of front-end interactive interfaces. By this system,non-professional users can automatically generate UML class diagrams that comply with the unified modeling language standards through simple natural language input,greatly reducing time and labor costs.

Key words: Fine tuning of large models, Domain modeling, Dataset construction, Unified modeling language

CLC Number: 

  • TP391
[1]OUYANG L B,GUO H L. Automatic analysis modeling methodbased on structural description of domain requirements[J]. Computer Engineering and Applications,2016,52(20):52-57.
[2]ALAMI N,ARMAN N,KHAMYSEH F. A semi-automatedapproach for generating sequence diagrams from Arabic user requirements using a natural language processing tool[C]//2017 8th International Conference on Information Technology(ICIT). IEEE,2017:309-314.
[3]XU Q. The Design and Implementation of UML Diagram Construction and Content Management System Based on PlantUML[D].Nanjing:Nanjing Univercity,2020.
[4]IBRAHIM M,AHMAD R. Class diagram extraction from tex-tual requirements using natural language processing(NLP) techniques[C]//2010 Second International Conference on Computer Research and Development.IEEE,2010:200-204.
[5]WANG X. Design and Implementation of UML Model Generation Tool Based on NLP Technology[D].Beijing:Beijing University Of Posts And Teleecommunications,2020.
[6]PlantUML Language Reference Guide.Drawing UML with PlantUML[EB/OL].(2023-11)[2024-09-01].https://plantuml.com/en/guide.
[7]HAN D. Introducing Unsloth:30x faster LLM training [EB/OL].(2023-11-30)[2024-09-01].https://unsloth.ai/introducing.
[8]OMG. About the Unified Modeling Language Specification Version2.5.1[EB/OL].(2017-12)[2024-09-01].https://www.omg.org/spec/UML.
[9]GOUTTE C,GAUSSIER E.A probabilistic interpretationof precision,recall and F-score,with implication for evaluation[C]//European Conference on Information Retrieval. Berlin:Springer,2005:345-359.
[1] WANG Xiaoyi, WANG Jiong, LIU Jie, ZHOU Jianshe. Study on Text Component Recognition of Narrative Texts Based on Prompt Learning [J]. Computer Science, 2025, 52(6): 330-335.
[2] LI Zhi, DENG Jie, YANG Yi-long, WEI Shang-feng. Transformational Approach from Problem Models of Cyber-Physical Systems to Use Case Diagrams in UML [J]. Computer Science, 2020, 47(12): 65-72.
[3] GUO Yan-yan, ZHANG Nan and TONG Xiang-rong. Survey on Formal Semantics of UML Sequence Diagram [J]. Computer Science, 2017, 44(2): 17-30.
[4] XU Han-bin,ZHANG Xue-lin,ZHENG Xiao-mei,ZHANG Tian and LI Xuan-dong. UML Design Pattern Recognition Method Based on Structured Query [J]. Computer Science, 2014, 41(11): 50-55.
[5] ZHAO Shun-hua,WU Yi-zhong and SHEN Bo. Design and Implementation of Multi-domain Visual Modeling System Based on Web [J]. Computer Science, 2013, 40(6): 138-141.
[6] GUO Yan-yan and LIU Jing-lei. Formalization for Model Element of UML Statechart in RSL [J]. Computer Science, 2013, 40(5): 177-183.
[7] . Conceptual Modeling Method of Simulation System Based on [J]. Computer Science, 2012, 39(5): 137-140.
[8] ZHANG Yi-zhi, FENG Chun-hui (Chongqing Three Gorges University,Chongqing 404000 ,China). [J]. Computer Science, 2008, 35(6): 295-296.
[9] CAO Bao-Xiang XIA Xiao-Na (Computer Science College , Qufu Normal University, Rizhao 276826). [J]. Computer Science, 2008, 35(1): 154-156.
[10] . [J]. Computer Science, 2007, 34(10): 272-277.
[11] GAN Li-Jie (Computer Science & Information Engineering College, Chongqing Technology & Business University, Chongqing 400067). [J]. Computer Science, 2006, 33(10): 288-290.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!