The increasing electricity demands of personal computers, communication networks, and data centers contribute to higher atmospheric greenhouse gas emissions, which in turn lead to global warming and climate change. Therefore the energy consumption of code must be minimized. Code can be generated by large language models. We look at the influence of prompt modification on the energy consumption of the code generated. We use three different Python code problems of varying difficulty levels. Prompt modification is done by adding the sentence ``Give me an energy-optimized solution for this problem'' or by using two Python coding best practices. The large language models used are CodeLlama-70b, CodeLlama-70b-Instruct, CodeLlama-70b-Python, DeepSeek-Coder-33b-base, and DeepSeek-Coder-33b-instruct. We find a decrease in energy consumption for a specific combination of prompt optimization, LLM, and Python code problem. However, no single optimization prompt consistently decreases energy consumption for the same LLM across the different Python code problems.
LLMs can Realize Combinatorial Creativity: Generating Creative Ideas via LLMs for Scientific Research
Boston University(波士顿大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Delaware(特拉华大学);Acaciawood Preparatory Academy(阿卡西亚伍德预备学院)
Exploring the Potential of Diffusion Large Language Models in Code Generation
College of AI, Tsinghua University(清华大学人工智能学院);School of Computer Science, Nanjing University(南京大学计算机科学学院);School of Computer Science and Engineering, Beihang University(北航计算机科学与工程学院);School of Computer Science, Peking University(北京大学计算机科学学院)
Plansformer: Generating Symbolic Plans using Transformers
Artificial Intelligence Institute, University of South Carolina(南卡罗来纳大学人工智能研究所);IBM Research(IBM研究院);University of Parma(帕尔马大学);University of Brescia(布雷西亚大学)
Technische Universität Darmstadt(达姆施塔特工业大学);AI Quality & Testing Hub(AI质量与测试中心);Hessian Center for Artificial Intelligence(黑森人工智能中心);National Research Center for Applied Cybersecurity ATHENE(国家应用网络安全研究中心ATHENE)
Can LLMs Generate Reliable Test Case Generators? A Study on Competition-Level Programming Problems
Shanghai Qi Zhi Institute(上海启智研究院);ShanghaiTech University(上海科技大学);Wuhan University(武汉大学);Fuzhou University(福州大学);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Tsinghua University(清华大学);Huazhong University of Science and Technology(华中科技大学);Nanjing University(南京大学);Beijing University of Posts and Telecommunications(北京邮电大学);Peking University(北京大学)
The Potential of LLMs in Medical Education: Generating Questions and Answers for Qualification Exams
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Beijing Friendship Hospital, Capital Medical University(首都医科大学附属北京友谊医院);Xunfei Healthcare Technology Co., Ltd(讯飞医疗科技有限公司);School of Information and Communication Engineering, Hainan University(海南大学信息与通信工程学院);Guangzhou University(广州大学)
SMART: Self-Generating and Self-Validating Multi-Dimensional Assessment for LLMs' Mathematical Problem Solving
School of Artificial Intelligence, Beijing Normal University(北京师范大学人工智能学院);Beijing Key Laboratory of Artificial Intelligence for Education Engineering Research Center of Intelligent Technology and Educational Application, Ministry of Education(北京市教育厅人工智能教育工程研究中心智能技术与教育应用联合实验室)
LLMs as Master Forgers: Generating Synthetic Time Series Data for Manufacturing
Liverpool John Moores University(利物浦约翰摩尔大学);University of Texas at Arlington(德克萨斯大学阿灵顿分校);IIT Patna(印度理工学院巴特那分校);Stony Brook University(石溪大学);IIT Indore(印度理工学院印多尔分校);UMass Amherst(马萨诸塞大学阿默斯特分校)
CodeScope: An Execution-based Multilingual Multitask Multidimensional Benchmark for Evaluating LLMs on Code Understanding and Generation
University of California, Santa Barbara(加利福尼亚大学圣巴巴拉分校);School of Software Engineering, Xi’an Jiaotong University(西安交通大学软件学院);Zhejiang University(浙江大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Alibaba Group(阿里巴巴集团);TU Wien(维也纳技术大学);University of Chinese Academy of Sciences(中国科学院大学)