Can ChatGPT Learn to Count Letters?

Javier Conde, Gonzalo Martínez, Pedro Reviriego, Zhen Gao, Shanshan Liu +1 more
2/23/2025
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) struggle on simple tasks such as counting the number of occurrences of a letter in a word. In this paper, we investigate if ChatGPT can learn to count letters and propose an efficient solution.

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. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

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

Cite this paper

@article{conde2025chatgpt,
  title  = {Can ChatGPT Learn to Count Letters?},
  author = {Javier Conde and Gonzalo Martínez and Pedro Reviriego and Zhen Gao and Shanshan Liu and Fabrizio Lombardi},
  year   = {2025},
  eprint = {2502.16705},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.16705v1}
}

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

Discussion