ChatPaper.aiChatPaper

YAML을 통한 정보 기술 작업을 위한 대형 언어 모델 기반 자동 코드 생성

Automated Code generation for Information Technology Tasks in YAML through Large Language Models

May 2, 2023
저자: Saurabh Pujar, Luca Buratti, Xiaojie Guo, Nicolas Dupuis, Burn Lewis, Sahil Suneja, Atin Sood, Ganesh Nalawade, Matt Jones, Alessandro Morari, Ruchir Puri
cs.AI

초록

대규모 언어 모델의 사용으로 인한 코드 생성 능력의 최근 개선은 주로 범용 프로그래밍 언어에 혜택을 주었습니다. IT 자동화에 사용되는 도메인 특화 언어(Domain Specific Languages, DSL)는 많은 활발한 개발자들이 참여하고 있으며 현대 클라우드 플랫폼의 필수 구성 요소임에도 불구하고 상대적으로 덜 주목받아 왔습니다. 본 연구는 IT 자동화에 널리 사용되는 마크업 언어인 Ansible-YAML의 생성에 초점을 맞춥니다. 우리는 IT 자동화 생산성을 향상시키기 위한 자연어에서 Ansible-YAML 코드로의 생성 도구인 Ansible Wisdom을 소개합니다. Ansible Wisdom은 Ansible-YAML을 포함한 새로운 데이터셋으로 학습을 확장한 트랜스포머 기반 모델입니다. 또한, 이 도메인의 특성을 반영하기 위해 YAML 및 Ansible에 대한 두 가지 새로운 성능 지표를 개발했습니다. 결과는 Ansible Wisdom이 자연어 프롬프트로부터 Ansible 스크립트를 정확하게 생성할 수 있으며, 기존의 최첨단 코드 생성 모델과 비교해도 성능이 우수하거나 더 나음을 보여줍니다.
English
The recent improvement in code generation capabilities due to the use of large language models has mainly benefited general purpose programming languages. Domain specific languages, such as the ones used for IT Automation, have received far less attention, despite involving many active developers and being an essential component of modern cloud platforms. This work focuses on the generation of Ansible-YAML, a widely used markup language for IT Automation. We present Ansible Wisdom, a natural-language to Ansible-YAML code generation tool, aimed at improving IT automation productivity. Ansible Wisdom is a transformer-based model, extended by training with a new dataset containing Ansible-YAML. We also develop two novel performance metrics for YAML and Ansible to capture the specific characteristics of this domain. Results show that Ansible Wisdom can accurately generate Ansible script from natural language prompts with performance comparable or better than existing state of the art code generation models.
PDF21December 15, 2024