Saved in:
Bibliographic Details
Main Authors: Espejel, Jessica López, Alassan, Mahaman Sanoussi Yahaya, Bouhandi, Merieme, Dahhane, Walid, Ettifouri, El Hassane
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2404.11160
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910581726904320
author Espejel, Jessica López
Alassan, Mahaman Sanoussi Yahaya
Bouhandi, Merieme
Dahhane, Walid
Ettifouri, El Hassane
author_facet Espejel, Jessica López
Alassan, Mahaman Sanoussi Yahaya
Bouhandi, Merieme
Dahhane, Walid
Ettifouri, El Hassane
contents Large Language Models (LLMs) have become a popular choice for many Natural Language Processing (NLP) tasks due to their versatility and ability to produce high-quality results. Specifically, they are increasingly used for automatic code generation to help developers tackle repetitive coding tasks. However, LLMs' substantial computational and memory requirements often make them inaccessible to users with limited resources. This paper focuses on very low-cost models which offer a more accessible alternative to resource-intensive LLMs. We notably: (1) propose a thorough semi-manual evaluation of their performance in generating Python code, (2) introduce a Chain-of-Thought (CoT) prompting strategy to improve model reasoning and code quality, and (3) propose a new dataset of 60 programming problems, with varied difficulty levels, designed to extend existing benchmarks like HumanEval and EvalPlus. Our findings show that some low-cost compatible models achieve competitive results compared to larger models like ChatGPT despite using significantly fewer resources. We will make our dataset and prompts publicly available to support further research.
format Preprint
id arxiv_https___arxiv_org_abs_2404_11160
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Low-Cost Language Models: Survey and Performance Evaluation on Python Code Generation
Espejel, Jessica López
Alassan, Mahaman Sanoussi Yahaya
Bouhandi, Merieme
Dahhane, Walid
Ettifouri, El Hassane
Artificial Intelligence
Large Language Models (LLMs) have become a popular choice for many Natural Language Processing (NLP) tasks due to their versatility and ability to produce high-quality results. Specifically, they are increasingly used for automatic code generation to help developers tackle repetitive coding tasks. However, LLMs' substantial computational and memory requirements often make them inaccessible to users with limited resources. This paper focuses on very low-cost models which offer a more accessible alternative to resource-intensive LLMs. We notably: (1) propose a thorough semi-manual evaluation of their performance in generating Python code, (2) introduce a Chain-of-Thought (CoT) prompting strategy to improve model reasoning and code quality, and (3) propose a new dataset of 60 programming problems, with varied difficulty levels, designed to extend existing benchmarks like HumanEval and EvalPlus. Our findings show that some low-cost compatible models achieve competitive results compared to larger models like ChatGPT despite using significantly fewer resources. We will make our dataset and prompts publicly available to support further research.
title Low-Cost Language Models: Survey and Performance Evaluation on Python Code Generation
topic Artificial Intelligence
url https://arxiv.org/abs/2404.11160