Assessing-Small-Language-Models-SLMs-for-Code-Generation: An Empirical Study with Benchmarks

Read full text
Authors: Md Mahade Hasan, Muhammad Waseem, Kai‐Kristian Kemell, Jussi Rasku, Juha Ala-Rantala, Pekka Abrahamsson
Cited by: 0

Abstract

### Research Overview This repository contains the code and evaluation framework for benchmarking 20 Small Language Models (SLMs) on 5 code generation benchmarks. This work extends the BigCode Evaluation Harness with automated benchmarking capabilities, VRAM monitoring, and performance tracking. Key Contributions Automated Benchmarking: Custom benchmarking.py script for systematic evaluation of multiple models Comprehensive Evaluation: 20 SLMs evaluated across 5 benchmark suites Performance Monitoring: Real-time VRAM usage tracking and execution time measurement Reproducible Results: Complete configuration and results for all experiments

Fields of Study & Subjects

Software Engineering Research Topic Modeling Natural Language Processing Techniques

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
4 February 2026