CloudEval-YAML: A Practical Benchmark for Cloud Configuration Generation

Yifei Xu, Yuning Chen, Xumiao Zhang, Xianshang Lin, Pan Hu +6 more
11/10/2023
30 citations
cs.DCcs.AI
benchmark-dataset

Official code: alibaba/CloudEval-YAML (40 stars, Python, MIT, last commit 2024-10-25).

Abstract

Among the thriving ecosystem of cloud computing and the proliferation of Large Language Model (LLM)-based code generation tools, there is a lack of benchmarking for code generation in cloud-native applications. In response to this need, we present CloudEval-YAML, a practical benchmark for cloud configuration generation.

Show full abstract

CloudEval-YAML tackles the diversity challenge by focusing on YAML, the de facto standard of numerous cloud-native tools. We develop the CloudEval-YAML benchmark with practicality in mind: the dataset consists of hand-written problems with unit tests targeting practical scenarios. We further enhanced the dataset to meet practical needs by rephrasing questions in a concise, abbreviated, and bilingual manner. The dataset consists of 1011 problems that take more than 1200 human hours to complete. To improve practicality during evaluation, we build a scalable evaluation platform for CloudEval-YAML that achieves a 20 times speedup over a single machine. To the best of our knowledge, the CloudEval-YAML dataset is the first hand-written dataset targeting cloud-native applications. We present an in-depth evaluation of 12 LLMs, leading to a deeper understanding of the problems and LLMs, as well as effective methods to improve task performance and reduce cost.

View on arXivView PDF

Code Implementations(1)

MIT

☁️ Benchmarking LLMs for Cloud Config Generation | 云场景下的大模型基准测试

403PythonNov 8, 20232 years agoMIT
benchmarkcloudcloudnativeenvoyistio+3 more

Similar Papers

Cite this paper

@article{xu2023cloudevalyaml,
  title  = {CloudEval-YAML: A Practical Benchmark for Cloud Configuration Generation},
  author = {Yifei Xu and Yuning Chen and Xumiao Zhang and Xianshang Lin and Pan Hu and Yunfei Ma and Songwu Lu and Wan Du and Zhuoqing Mao and Ennan Zhai and Dennis Cai},
  year   = {2023},
  eprint = {2401.06786},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.06786v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.06786.svg)](https://codeofpaper.com/paper/2401.06786)

Discussion