Small Language Models are Good Too: An Empirical Study of Zero-Shot Classification

Pierre Lepagnol, Thomas Gerald, Sahar Ghannay, Christophe Servan, Sophie Rosset
4/17/2024
cs.AI

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

This study is part of the debate on the efficiency of large versus small language models for text classification by prompting.We assess the performance of small language models in zero-shot text classification, challenging the prevailing dominance of large models.Across 15 datasets, our investigation benchmarks language models from 77M to 40B parameters using different architectures and scoring functions. Our findings reveal that small models can effectively classify texts, getting on par with or surpassing their larger counterparts.We developed and shared a comprehensive open-source repository that encapsulates our methodologies. This research underscores the notion that bigger isn't always better, suggesting that resource-efficient small models may offer viable solutions for specific data classification challenges.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lepagnol2024small,
  title  = {Small Language Models are Good Too: An Empirical Study of Zero-Shot Classification},
  author = {Pierre Lepagnol and Thomas Gerald and Sahar Ghannay and Christophe Servan and Sophie Rosset},
  year   = {2024},
  eprint = {2404.11122},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.11122v1}
}

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/2404.11122.svg)](https://codeofpaper.com/paper/2404.11122)

Discussion