SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2108.11193 · 2021

Models In a Spelling Bee: Language Models Implicitly Learn the Character Composition of Tokens

arXiv · PDF · Open in the Atlas

Code that ran

9 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 8 have no contract verdict; 1 failure of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2108.11193.json · badge: /api/ran/2108.11193.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
itay1itzhak/spellingbee canonical (classifier label)
classifier basis: census
9 ran · 2 no recorded run
FunctionStatusWhere it lives
get_char_f1 Ran
ran on a synthesized input
itay1itzhak/spellingbee/SpellingBee/results_analysis.py
pointer only (licence: MIT) · get_code("f86bf547d6717795")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, itay1itzhak/spellingbee, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_configuration Ran
ran on a synthesized input
itay1itzhak/spellingbee/fairseq/create_Slurm_files.py
pointer only (licence: MIT) · get_code("c945a23e9719cfd7")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, itay1itzhak/spellingbee, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_edit_distance Ran
ran on a synthesized input
itay1itzhak/spellingbee/SpellingBee/results_analysis.py
pointer only (licence: MIT) · get_code("6e15294c0af45e6c")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, itay1itzhak/spellingbee, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_run_file_text Ran
ran on a synthesized input
itay1itzhak/spellingbee/fairseq/create_Slurm_files.py
pointer only (licence: MIT) · get_code("77696c06494e7976")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, itay1itzhak/spellingbee, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

levenshtein_ratio_and_distance Ran
ran on a synthesized input
itay1itzhak/spellingbee/SpellingBee/results_analysis.py
pointer only (licence: MIT) · get_code("3e50c2ec5c870f73")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, itay1itzhak/spellingbee, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

preprocess_dic Ran
ran on a synthesized input
itay1itzhak/spellingbee/SpellingBee/create_spelling_data.py
pointer only (licence: MIT) · get_code("f1bc5fa91d03b094")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, itay1itzhak/spellingbee, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

safe_readline Ran
ran; our contract draft was wrong, not the code
itay1itzhak/spellingbee/fairseq/binarizer.py
pointer only (licence: MIT); the stored copy get_code serves, from agi-content-generation/EKD, is pointer only (licence: NOASSERTION) · get_code("82bdf940665aeeb4")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, itay1itzhak/spellingbee, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sort_dict_by_value Ran
ran on a synthesized input
itay1itzhak/spellingbee/SpellingBee/download_pretrained_embeddings.py
pointer only (licence: MIT) · get_code("b6531410b2e0eb83")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, itay1itzhak/spellingbee, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

translation_get_script_file_text Ran
ran on a synthesized input
itay1itzhak/spellingbee/fairseq/create_Slurm_files.py
pointer only (licence: MIT) · get_code("dcefa8b170aa8d70")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, itay1itzhak/spellingbee, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_emb_matrix Not yet run
unverified (harvested, no recorded run)
itay1itzhak/spellingbee/SpellingBee/create_spelling_data.py
pointer only (licence: MIT) · get_code("233b727ac91d7a08")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, itay1itzhak/spellingbee, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

normalize Not yet run
unverified (harvested, no recorded run)
itay1itzhak/spellingbee/SpellingBee/create_spelling_data.py
pointer only (licence: MIT) · get_code("886fa2c9e77b1749")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, itay1itzhak/spellingbee, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 1 later) and 10 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
safe_readline 66 other papers
27 dated earlier, 1 the same month, 36 later, 2 same year, order not determinable
1610.02424 (2016-10)
Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Models
1802.06901 (2018-02)
Deterministic Non-Autoregressive Neural Sequence Modeling by Iterative Refinement
1904.01038 (2019-04)
FAIRSEQ: A Fast, Extensible Toolkit for Sequence Modeling
and 63 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Standard pretrained language models operate on sequences of subword tokens without direct access to the characters that compose each token's string representation. We probe the embedding layer of pretrained language models and show that models learn the internal character composition of whole word and subword tokens to a surprising extent, without ever seeing the characters coupled with the tokens. Our results show that the embedding layer of RoBERTa holds enough information to accurately spell up to a third of the vocabulary and reach high average character ngram overlap on all token types. We further test whether enriching subword models with additional character information can improve language modeling, and observe that this method has a near-identical learning curve as training without spelling-based enrichment. Overall, our results suggest that language modeling objectives incentivize the model to implicitly learn some notion of spelling, and that explicitly teaching the model how to spell does not appear to enhance its performance on such tasks.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2108.11193")
get_code_for_paper("2108.11193")
have("2108.11193")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2108.11193.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2108.11193.svg)](https://syntology.ai/paper/2108.11193)

Connect an agent — have() is free.