Impact of Tokenization on Language Models: An Analysis for Turkish
Paper · 2023 · Çağrı Toraman, Eyüp Halit Yılmaz, Furkan Şahi̇nuç et al.
Summary
A Turkish word can contain a stem and a string of suffixes, each carrying information that matters to the sentence. A system that reads the word has to decide which of those pieces to represent separately. It can keep the word intact, break it down into very small units, learn common fragments from examples, or use grammatical analysis to find the stem and suffixes. The authors ask how these choices in tokenization affect Turkish language understanding, and how much room each approach needs in its vocabulary.
They use the Turkish portion of the OSCAR web corpus to pretrain a medium-sized language model with the RoBERTa procedure. They repeat the training with different tokenizers, then adapt the resulting systems to tasks ranging from classifying news and movie reviews to finding names and judging the relationship between sentences. At a vocabulary of 16.6k entries for the methods with adjustable sizes, WordPiece and Byte Pair Encoding, or BPE, lead the comparison. The approach based on morphology comes close on several tasks and consistently scores above the character and whole-word approaches. Whole-word tokenization leaves nearly half of the resulting tokens unknown across the evaluation datasets. The morphological tokenizer improves coverage by separating suffixes from stems, although analyzer errors and unfamiliar stems still cause problems.
A separate experiment varies the vocabulary for sentiment analysis and named entity recognition. Larger vocabularies help the whole-word and morphological tokenizers more than they help WordPiece and BPE. The authors propose allocating 20% of all parameters to the vocabulary for WordPiece and BPE, and 40% for the morphological and whole-word approaches, as practical choices for the architecture and tasks they studied. The byte-based character tokenizer uses a fixed vocabulary and sits outside this experiment.
The medium-sized systems also provide a check against BERTurk, a larger Turkish baseline. The authors describe their system as roughly 3-times smaller. It recovers 97% of BERTurk’s score on news classification and 83% on the sentence similarity task. The comparison puts the tokenizer findings in context. A compact system can approach the larger baseline on some tasks, and the vocabulary that makes sense for that system depends on how its tokenizer handles unfamiliar words and how much the task depends on their individual details.
Deep dive: Impact of Tokenization on Language Models: An Analysis for Turkish
A study of how word splitting and vocabulary size affect Turkish language understanding, from recognizing names to classifying news and reviews. · about 35 minutes to read
The problem and its context
A word can contain several pieces of evidence
The Turkish verb form veremedim illustrates the choice the paper studies. Its meaning is roughly “I could not give.” The authors divide it as ver-e-me-di-m. In that analysis, four suffixes follow the stem, and -me contributes negation. A tokenizer that exposes -me as a recurring unit lets a learning system encounter that unit across several verbs. A whole-word tokenizer instead gives the complete form a place in the vocabulary if room is available. A tokenizer that learns fragments from text can produce either kind of boundary, depending on which sequences it encounters and how it selects them.
The same written sentence can therefore reach the learning system in several forms. Whole words preserve the identity of any form that has an entry. Short fragments allow unfamiliar forms to be represented through familiar components. A grammatical breakdown can identify recurring functions in words whose full forms differ, provided the analysis is correct. Each approach determines which regularities are already visible in the input and which ones have to be learned by relating several nearby pieces.
This matters for an agglutinative language such as Turkish, where suffixes can accumulate on a stem. Storing every encountered form as a separate unit gives each inflected form a claim on the vocabulary. Sharing pieces across forms makes that space go further. The question is which pieces are worth sharing. A grammatical suffix has an identifiable role. A fragment chosen from patterns of occurrence may capture a suffix, a useful part of a stem, or a stretch of text that crosses a grammatical boundary. The paper compares these ways of organizing the input through their effects on tasks, where the value of a split depends on what the system ultimately has to predict.
The vocabulary and the input sequence compete for space
A vocabulary is the inventory of units that can receive their own learned numerical representations, called word embeddings when the units are words. In this study the same idea applies to units as small as bytes or as large as whole word forms. A vocabulary entry occupies space in the training system even when it is rarely used. Increasing the inventory adds parameters and increases memory requirements. The benefit depends on whether the added entries let the system represent useful distinctions or combine common sequences more efficiently.
With a limited inventory, an unfamiliar unit can be mapped to an unknown token. Different pieces of text then reach the system through the same representation. Context may help recover an interpretation, but the identity of the original piece has been lost at the input. The problem is especially direct for whole-word tokenization. When a surface form falls outside the vocabulary, that method has no smaller units with which to spell it out. Sub-word tokenizers can frequently preserve the form through a sequence of entries that are individually familiar.
At the other end of the scale, a byte-based tokenizer can represent the input using a small, fixed inventory. The cost appears in the sequence. Text that fits into a few whole-word or sub-word positions may take many byte positions. Under a fixed input length, different tokenizers can expose different amounts of the original text. Even when the whole passage fits, the byte-based system has to learn how smaller units combine. The authors illustrate the point with t and h in English. Some tokenizers can offer th as an entry. The byte approach leaves the relationship to be learned during training.
These are related but distinct uses of space. Vocabulary size determines how many kinds of units have dedicated entries. The input limit determines how many occurrences can be processed for a particular example. A finer split saves vocabulary space while generally using more sequence positions. A coarser split can shorten an input when the desired units are known while leaving more forms uncovered when the inventory is tight. The authors’ vocabulary experiment follows from this distinction. Changing the number of entries can give different tokenizers different benefits, even when the rest of the architecture stays the same.
Why the standard subword methods were a natural comparison
The paper situates its question in the move from representations such as word2vec, commonly organized around complete word forms, to systems pretrained on token sequences. In masked prediction, some units in a sequence are hidden and the system learns to predict them using the surrounding input. The Transformer architecture used by BERT and related systems supports this kind of pretraining. The pretrained system can then be adapted to a labeled task by fine-tuning. The tokenizer determines the units seen at both stages. A token boundary affects what can be hidden during pretraining as well as what is presented as an input unit later.
The authors identify BPE and WordPiece as the prevailing choices for subword tokenization. Their examples are BERT, which uses WordPiece, and GPT-2, which uses BPE. Both procedures build larger pieces from smaller ones and can represent many words that were absent during vocabulary construction. The common design lets them share entries across words while providing larger units where the data support them. Their rules for selecting pieces differ, and neither requires a grammatical analysis of the word.
As the authors describe the field, systems developed for languages with fewer pretraining resources frequently inherited tokenizer choices from systems initially developed for English. That history gives a starting point for Turkish. It leaves an empirical question about how those choices interact with the language’s word structure. A tokenizer can be effective across languages without selecting the same kinds of units in each one. The paper asks whether a Turkish system gains enough from explicit grammatical boundaries to make a morphology-based tokenizer competitive with the established statistical methods.
Earlier work treated segmentation as a variable
The paper’s discussion of earlier research shows that the number of pieces and the way they are chosen were already open design questions. Some work in machine translation varied the number of BPE merges. Other work introduced dropout into the merging process, so the same text could be segmented differently during training. The paper relates this to sub-word regularization, where training with several possible segmentations can improve robustness. It also describes SentencePiece as an implementation that supports BPE and a unigram approach to forming sub-words.
A separate line of work questioned how efficiently BPE uses its inventory for pretraining. The cited comparisons considered representations learned from frequency-driven pieces and asked how well those pieces support semantic relationships. The authors also describe vocabulary learning that treats inventory size and the distribution of entries as a tradeoff. These studies make a distinction that matters for the Turkish comparison. An algorithm can produce short, reusable pieces and still devote some of its inventory to combinations that offer little for the target task.
Other work sought ways to bring additional information into segmentation. The paper describes methods informed by morphological analysis, rule-based systems that use lexicons, and approaches that combine whole words and smaller pieces. Some architectures include units spanning several words, with added computational complexity. The paper also notes efforts to learn how to divide text as part of training. The Turkish study chooses a more direct comparison. Its tokenizer is chosen before pretraining, so each system learns from a particular representation throughout the pipeline.
What earlier studies left open for Turkish
The authors describe language-specific work that illustrates why a tokenizer comparison has to be read in context. Work on Thai examined SentencePiece, words, and syllables. In Tibetan-to-Chinese translation, the work they cite found an advantage for character-based sub-words over syllable-based ones. A Kurdish tokenizer used morphological analysis, while work on Korean incorporated morphological information in preparing a tokenizer for translation. Research on Fon used bilingual contributors to help select phrases for translation. These examples cover different languages, ways of preparing input, and target tasks.
Turkish already had pretrained systems, including the one the authors later use as a baseline. The gap they identify was a comparison within Turkish that included a morphology-based tokenizer, several other granularities, and changes in vocabulary size. The paper consequently asks both how the segmentation methods perform under a common medium-sized setup and how the results change as the vocabulary is given a larger share of the parameters. A single fixed-size comparison could miss that second relationship. A method that uses a small inventory efficiently and a method that keeps improving as its inventory grows have different costs even if their scores eventually draw close.
The method, step by step
From web documents to task predictions
The pipeline begins with a collection of Turkish text. For each tokenizer, the authors prepare the text, define the inventory that the tokenizer can use, and turn the corpus into sequences from that inventory. They pretrain a separate RoBERTa-TR-medium system for each condition. Each resulting system is then adapted to labeled datasets so that the comparison reflects the combination of a tokenizer and the representations learned with it.
From Turkish web text to downstream task scores
The steps in order.
The corpus is the deduplicated Turkish split of OSCAR, a multilingual collection obtained by filtering Common Crawl web material. The authors find that the Turkish split still includes documents in other languages. An automatic language detector flags 95,152 documents for removal. The pretraining collection after that filter contains 11,501,370 documents. This step concerns the language assigned to a document. The later steps determine how its individual strings are encoded.
The normalization stage includes lowercasing and NFC Unicode normalization. Here normalization prepares a consistent representation of the text before the tokenizer counts or looks up pieces. The paper calls attention to Turkish letters such as ç, ğ, ı, ö, ş, and ü. Their presence makes it important to distinguish a consistent Unicode representation from restricting text to the character inventory familiar from English. Once the text is prepared, the tokenizer condition determines which strings are eligible to share a vocabulary entry.
What each tokenizer does with the text
The character condition uses the byte-level tokenization of ByT5. The authors call it Character-level, and its units operate at the byte level. It needs no inventory learned from the OSCAR documents. Its reported vocabulary has 384 entries, and the method can encode character sequences through bytes. With such small units, however, even a short passage can occupy many token positions. The trained system has to derive useful larger patterns from the byte sequence.
BPE starts by identifying distinct word forms and making an initial inventory of symbols found in them. It builds larger entries by merging adjacent symbols or pieces according to how often those pairs occur. Each included merge gives a recurring combination a representation as a larger unit. A word that occurs frequently can ultimately be represented in a large piece or in its entirety. An unfamiliar word can still be encoded through smaller entries. The paper’s BPE description also points to byte representations as a way to accommodate sequences from different languages and informal text containing items such as emojis.
WordPiece also forms larger units from smaller ones. As the paper describes its merge rule, it compares the probability of the combined symbol with the product of the probabilities of the separate symbols. It chooses the pair with the highest such score. A pair’s value thus depends on how frequently its members would be expected to occur individually as well as on the presence of their combination. The paper treats both WordPiece and BPE as statistical ways to build a vocabulary that can represent unfamiliar forms. Their different merge criteria can give the resulting inventories different boundaries and entries.
The morphological condition runs Zemberek, a Turkish morphological analyzer, before vocabulary training. Zemberek provides a parse that separates material such as a stem and suffixes. The tokenizer uses the text pieces from that analysis and omits the grammatical tags. A suffix can therefore receive a recurring entry without adding a ready-made label for what it does. Its use in context is still something the pretrained system has to learn.
Leaving a stem whole is part of this design. It preserves the stem as a unit when the vocabulary includes it. It also means that the inventory has to accommodate many separate stems. If a particular stem is missing, this tokenizer has no further decomposition of the stem to use as a fallback. Its coverage benefits come from sharing affixes across words and separating those affixes from the stems to which they attach. Its coverage limit comes from the inventory needed to store the stems themselves.
The Word-level tokenizer defines its units by whitespace. There is no merge rule or grammatical analyzer involved in setting those boundaries. The system still needs a finite vocabulary of the resulting word forms before pretraining. A form included in the vocabulary gets an entry of its own. A form left out becomes unknown. This condition gives the paper a comparison with the coarsest unit it considers and shows what happens when all of the available lexical entries are allocated to surface forms.
Following a sentence through the alternatives
The authors illustrate the methods with Toplumsal barış sağlanır, a sentence about achieving social peace. For this example, the four adjustable tokenizers have a vocabulary of 16.6k entries. The character condition retains its fixed inventory. BPE and WordPiece can represent some complete forms directly, while the whole-word tokenizer produces unknown entries for some of the words. Both observations can hold at the same inventory size because the statistical tokenizers have the option of reusing smaller pieces for the rest of the material. The morphological representation exposes affixes and stems.
The character condition produces the longest output in the example. The authors consider what would happen if the system could take only 10 tokens. Under that illustrative limit, the coarser methods can represent the input, while the character method reaches only the opening portion. The limit is part of the example and differs from the fine-tuning settings. It helps distinguish representation from retention. An encoding can in principle express all of the text and still deliver only part of it to a system that stops after a given number of positions.
The example also shows why the names of the methods should be understood as descriptions of their rules. BPE and WordPiece need not produce a fragment at every word. A whole word can be one of their pieces. Morphological segmentation need not make every part short, since a root can remain intact. The rules govern what each method is able to do when it encounters a form that would otherwise be inconvenient to represent.
Sizing the vocabulary and training the system
RoBERTa-TR-medium uses the RoBERTa pretraining procedure with a smaller architecture that follows BERT-medium. The authors describe reductions in the number of layers, the number of attention heads, and the hidden dimension. In the main tokenizer comparison they aim for a vocabulary parameter share of 20%, following the size convention they discuss for BERT. They set the adjustable inventories to 16.6k tokens. They express the sizing relationship as follows.
|V| = (M × R) / H
Here V is the vocabulary, and the vertical bars around it give its number of entries. M is the total parameter count of the system. R is the target share of those parameters associated with the vocabulary, expressed as a fraction for use in the multiplication. H is the hidden dimension, which determines the width allocated to an entry in this calculation. The multiplication sign combines the total parameter count with the target share, and the slash divides the result by the width. The paper gives M as approximately 42.7 on the million-parameter scale and H as 512.
The relationship is a way to think about allocation. The vocabulary consumes more parameters when it contains more entries at the same width. In the size sweep, the Transformer blocks are held fixed, so increasing the number of entries also increases the total parameter count. The target share is evaluated against that changing total. The fixed character inventory does not undergo this adjustment.
The pretraining objective is masked language modeling. With a word-based vocabulary, a masked unit can cover an entire surface form. With morphological segmentation it can cover a stem or a suffix, and with byte tokenization it can cover a finer part of the written sequence. This consequence follows from using the tokenizer’s output as the input stream. The authors’ downstream comparison captures the net effect of such changes across training and evaluation. It does not measure the contribution of masked-unit granularity separately.
The paper gives the optimization settings for the medium-sized system. It uses AdamW with β₁ of 0.90 and β₂ of 0.98, the coefficients that control the moving averages used by the optimizer. Its ε, the small numerical stabilizer, is 1e-6. The learning rate follows a linear schedule with a warmup ratio of 1e-2 and a peak learning rate of 5e-5. Gradients are accumulated over 22 steps, which means the training procedure collects gradient contributions across those steps before an update. The authors use the RoBERTa configuration for other hyper-parameters.
The pretraining setup is deliberately modest. The authors reason that a more extensive training run could lessen some of the differences they are trying to observe, particularly if a byte-based system has enough capacity and training to build useful larger units. They use BERTurk as a separate performance reference. It has a BERT-base-sized architecture and was already pretrained for Turkish. The authors fine-tune it for the tasks in the study. They make their own pretrained RoBERTa-TR-medium variants available through Hugging Face, with different tokenizers and vocabulary sizes.
How the evaluation uses the pretrained systems
Each downstream dataset supplies examples and targets for adaptation. Some tasks ask for a category for the entire input, some work on a pair of sentences, and named entity recognition assigns labels within the input. The same tokenizer used in pretraining turns the task text into the units the system has learned to process. This continuity matters for interpreting the experiment. The authors compare complete pretraining and fine-tuning conditions, with the tokenizer as the central design choice.
Fine-tuning settings vary with task size and space requirements. The paper reports a constant learning rate for most tasks and linear decay for natural language inference. It makes a specific accommodation for the length of character inputs. For that tokenizer it sets fine-tuning to 10 epochs, the maximum sequence length to 1024, and the batch size to 12 for all tasks. An epoch is a pass through the training data, and a batch groups examples for processing. These settings show how the finer input units affect the practical conditions of the comparison.
At the evaluation stage the paper uses folds of the labeled datasets. It reports averages from 10-fold cross-validation. This procedure evaluates across rotating held-out portions of the data, allowing the result to reflect more than a single division into training and evaluation examples. The vocabulary sweep follows the same cross-validation approach on the tasks retained for that experiment. The resulting averages and pairwise tests address the relative behavior of the systems under those evaluation conditions.
Experiments and results
What the downstream datasets measure
The news classification experiment combines material from separate Turkish news sources into approximately 7.5k articles. The target is the topic of the article. Categories include sports, economics, national and international news, politics, columnists, health, and culture and the arts. The prediction is made for the article as a whole. An unfamiliar item can matter if it is central to the topic, although the surrounding text also supplies evidence.
The hate speech dataset contains 100k Turkish tweets. Its examples are distributed evenly among five domains, which include gender, religion, and politics. The labels are hate, offensive, and normal. This is another sequence classification task, meaning that the target applies to the full input. Its subject matter raises a distinct evaluation issue. A score measures how well the system predicts the dataset’s annotations, which reflect the categories and distinctions used to label those tweets.
Sentiment analysis uses a balanced set of Turkish movie reviews with roughly 5.3k examples per class. The labels are positive and negative. Here the question is the overall polarity of a review. Turkish word structure provides a reason to care about whether an input representation preserves information such as negation. The task score aggregates decisions over full reviews, so it can also reflect the use of broader cues. The experiment does not require the system to identify the word or suffix that led to a particular decision.
The named entity dataset contains approximately 32.5k sentences from Turkish news articles and distinguishes people, locations, and organizations. Labels follow IOB2 conventions. The beginning of an entity has a B- label for its class, and the parts that continue the same entity have I- labels for that class. In the example the paper gives, New begins a location and York continues it. This benchmark asks the system to recover where an entity occurs and which kind of entity it is. How a tokenizer represents an unfamiliar name can matter at a specific point in the sentence, even when the rest of the input is easy to interpret.
The semantic text similarity experiment uses approximately 8.6k sentence pairs from a Turkish translation of STSb. The underlying material ranges from news to online forums. A pair has a score on a scale from 0 for no semantic similarity to 5 for semantic equivalence. The system predicts a numerical degree of similarity, which makes the task a regression problem. This differs from choosing among fixed labels for a review or article.
Natural language inference uses roughly 570k sentence pairs from a Turkish translation of SNLI. The task asks how the second sentence relates to the first. The possible labels are entailment, when the second follows from the first, contradiction, when the first conflicts with the second, and neutral, when neither of those relations is established. The task gives the paper another evaluation with sentence pairs, this time with categorical targets. The similarity and inference tasks therefore probe different judgments even though both present the system with paired input.
Metrics, comparisons, and statistical tests
For the classification tasks the authors report weighted precision, recall, and F1. Precision concerns how often the predictions assigned to a class are correct. Recall concerns how many of the examples belonging to the class are recovered. F1 combines precision and recall, and the weighted reporting gives classes influence according to their representation in the evaluation data. The scores are averaged over the cross-validation folds. A high weighted score describes performance over the observed mix of classes, so it can coexist with weaker performance on an individual class.
Semantic text similarity uses Pearson correlation between the predicted scores and the annotated scores. Pearson correlation measures the strength of their linear association. The authors report it with a p-value. A correlation describes how predictions and references move together across the pairs. Its scale and interpretation differ from weighted F1, a distinction that matters when reading the gap between tokenizers or comparing recovery against BERTurk across tasks.
The paper compares tokenizer scores with a two-sided Mann–Whitney U test and uses a Bonferroni correction for multiple pairwise comparisons. The authors use the test because the score distributions in question are non-normal. The corrected threshold reported for their pairwise comparisons is shown below.
p < 0.0125
Here p is the p-value for a pairwise statistical test, the less-than sign gives the criterion for significance, and 0.0125 is the cutoff after correction. This threshold addresses the risk of declaring a difference when conducting several comparisons. The size of an observed gap remains a separate question. A small gap can meet the threshold, and a higher average can occur without a statistically significant separation.
The primary comparison places the RoBERTa-TR-medium tokenizers alongside one another on the same downstream tasks. For the adjustable tokenizers, every condition has 16.6k vocabulary entries. This makes vocabulary capacity comparable in number of entries. The character condition has its own fixed inventory and fine-tuning accommodations. BERTurk gives an external comparison with a larger Turkish architecture. Its score indicates how the medium-sized systems compare with a stronger reference point, while the controls within the medium-sized family speak more directly to tokenizer choice.
Which tokenizers lead at the common size
WordPiece has the strongest results across most of the Turkish tasks in the authors’ account. BPE has a higher score on news classification. The paper reports that the difference between BPE and WordPiece there fails to reach statistical significance. WordPiece has higher scores than BPE for sentiment analysis and named entity recognition, with the differences also failing to reach significance on those tasks. The direction of the results favors WordPiece overall, and both methods belong among the leading choices at the tested size.
Morphological segmentation is the closest alternative to those methods in the paper’s comparison. For the tasks with the smaller reported gaps, its weighted F1 falls between 0.01 and 0.02 below the best tokenizer. The authors describe those gaps as statistically significant. Sentiment analysis has a wider gap of roughly 0.06 in weighted F1. The paper also describes a gap of approximately 0.06 on semantic text similarity. That figure refers to Pearson correlation, and the difference on that task fails to reach statistical significance. Across the reported tasks, the morphological condition scores above both the character and whole-word conditions.
Whole-word tokenization has an unusually large coverage problem. Nearly half the tokens it produces across the fine-tuning datasets are unknown. Many complete word forms consequently arrive as the same unknown representation. Some downstream scores remain comparable enough for the authors to discuss how the surrounding input may compensate. They suggest that masked pretraining may help the system use context when information about a specific form is missing. The coverage finding establishes how often missing forms occur in this condition. The proposed explanation for how the system deals with them remains an interpretation.
The character condition performs worst on most tasks. Its ability to encode arbitrary input therefore does not by itself lead to stronger classification or similarity judgments under this setup. The authors point to the learning burden involved in assembling meaningful patterns from bytes and to the possibility that a larger system could handle that burden better. Within the medium-sized comparison, the top results come from techniques that supply some larger units before pretraining begins.
How close the medium-sized systems get to BERTurk
The authors describe the medium-sized system as approximately 3-times smaller than BERTurk and report the share of BERTurk’s score it recovers for each task. On news classification that share is 97%. It is 95% on hate speech detection, 95% on sentiment analysis, 93% on named entity recognition, and 91% on natural language inference. These percentages express the medium-sized system’s performance relative to the BERTurk result for the corresponding task. They are distinct from raw weighted F1 scores.
RoBERTa-TR-medium recovery of BERTurk weighted F1 across Turkish classification datasets
News classification retains the largest share of the BERTurk score among the classification tasks.
The numbers
| System or setting | BERTurk weighted F1 recovered % |
|---|---|
| Turkish news classification (this paper) | 97 |
| Turkish hate speech detection | 95 |
| Turkish movie review sentiment | 95 |
| Turkish news named entity recognition | 93 |
| Turkish natural language inference | 91 |
Semantic text similarity has a recovery figure of 83%, relative to BERTurk’s Pearson correlation on the Turkish similarity dataset. The authors suggest that the regression setup may contribute to that result. For classification, prediction scores are mapped to categories. For regression, the predicted values can vary within the scale used by the task, and the evaluation compares those values with references across sentence pairs. The paper offers this distinction as a possible explanation of the lower recovery.
The recovery figures show how the size comparison varies with the evaluation. The closest task is a document classification problem and the furthest is a sentence-pair regression problem. The results in between include tasks where individual tokens matter and tasks that give a single judgment for a whole sequence or sentence pair. The chart compares the proportion retained against a task-specific reference. The 97% figure supports the headline comparison on news classification, while the other values establish the range of results.
What changes when the vocabulary grows
The vocabulary experiment varies how many parameters the vocabulary receives while keeping the Transformer block settings fixed. The targeted shares are 10, 20, 30, 40, and 50 percent of the total parameter count. The authors repeat this across BPE, WordPiece, the morphological tokenizer, and the whole-word tokenizer. That calls for 20 separately pretrained systems. Extending the sweep to every downstream task would entail 120 experimental runs in the authors’ accounting. They select movie review sentiment and news named entity recognition to cover a sequence classification task and a token classification task while limiting the computational cost.
The vocabulary curves report mean weighted F1 across 10-fold cross-validation. The authors shorten the size labels in that experiment, writing 16k for a vocabulary reported more precisely as 16.6k elsewhere. They describe an increasing pattern as vocabularies grow. WordPiece and BPE retain the lead on both datasets, while the morphological and whole-word approaches improve more and narrow the gap. The exact heights of the plotted curves are unnecessary for identifying this pattern. The paper describes the ordering and where the gains begin to level off.
For movie review sentiment, the paper places saturation among the smaller vocabulary sizes, giving 7k and 16k as examples. For named entity recognition, the trend levels off after 16k. The authors suggest that the distinction between tasks helps explain the pattern. One unknown token can be consequential when the prediction concerns the identity and class of an individual name. A whole review frequently contains several cues about overall sentiment, which can leave the system room to recover from individual unknown items.
The result gives a basis for the authors’ proposed allocation. They suggest a vocabulary share of 20% for BPE and WordPiece and 40% for the morphology-based and whole-word methods. The larger allocation serves tokenizers that depend on storing many distinct stems or surface forms. The authors also question the practical return of going beyond 66k vocabulary entries because increasing the inventory raises computational cost. Their proposal concerns a balance between measured downstream performance and vocabulary expense within the architecture they tested.
What the ablations show
Holding the vocabulary size steady isolates part of the choice
The paper’s main controlled comparison is a change of tokenizer within the medium-sized architecture and training pipeline. For the adjustable methods the vocabulary has 16.6k entries. The text comes from the same cleaned Turkish corpus. The systems then face the same types of downstream evaluation. This design makes it possible to compare what the different tokenization rules achieve with the same nominal room for entries.
Equal inventory size leaves the token streams free to differ. A specialized entry can stand for a stem, a surface word, or a recurring fragment. Likewise, token streams with the same source text can have different lengths. These differences are part of what the tokenizer changes. The experiment captures their combined effect, which is valuable for a system-level comparison. It leaves open how much of a score difference belongs to coverage, sequence length, the boundaries of masked pieces, or the kinds of regularity exposed by the inventory.
WordPiece and BPE provide a particularly close comparison. Both can share pieces across surface forms, and the principal algorithmic distinction described by the paper is the rule for choosing merges. WordPiece leads on most of the tasks, yet several of the direct comparisons are statistically unresolved. The evidence supports a claim about effective use of a fixed vocabulary by both methods. It gives a weaker basis for expecting a particular merge rule to win on a new task.
Counting unknowns shows what each inventory can cover
The unknown-token analysis is the clearest diagnostic of why some approaches benefit more from extra vocabulary. In the whole-word condition, almost half of the token occurrences in each downstream dataset fall outside the learned inventory. In the established sub-word conditions, the paper says the proportions are mostly zero in the range where it discusses performance saturation. A sub-word entry can contribute to the representation of many words, so the same inventory size can preserve much more of the incoming text.
The diagnostic counts unknown occurrences among the tokens produced by each tokenizer. The denominator therefore depends on the segmentation. A whole word can correspond to several pieces under another method. The unknown-token rate measures how often each representation signals that an input unit is unavailable. Reading it as an exact measure of the fraction of original word forms lost would require a common unit of counting across the tokenizers. Its force here comes from the scale and consistency of the reported coverage problem for whole words.
The same analysis helps distinguish coverage from granularity. With BPE or WordPiece, a name may already be representable before its full form enters the vocabulary. The authors give the example of New York. The second word can be assembled from Y and continuation pieces, while a larger vocabulary can store York as a single entry. A new entry in this case changes the shape and length of an already representable expression. For the whole-word condition, adding a previously unknown form gives the system access to its identity for the first time. The downstream gains from adding entries need not follow the same curve.
Morphological segmentation occupies a distinct position in this analysis. Shared affixes can remain known across many forms. The stems are preserved as larger units and can still be missing. The results fit that pattern. This approach consistently improves on whole-word tokenization in the fixed-size experiments, and it continues to gain more from additional entries than the statistical sub-word methods. The unknown rates support the coverage explanation. The study does not partition the score gains into the contributions of recovering stems and exposing affixes.
Inspecting the analyzer shows where useful structure can be lost
The paper includes a qualitative comparison between the expected morphological parsing of a Turkish sentence and the output produced by Zemberek. In the example, İstanbullular means the people of Istanbul. A useful analysis exposes the part marked ##lu, associated with being from a place, and ##lar, which marks the plural. The authors report that the analyzer fails to tokenize the form correctly.
This example identifies an error channel specific to the morphological condition. The training process treats the analyzer’s pieces as the input. When a boundary is wrong, information that could have been presented consistently across words may be attached to another piece or broken up. The quality of the approach consequently depends on the quality of the parse before vocabulary construction. An error can matter even when every string produced by the analyzer exists in the vocabulary.
The authors’ analysis gives two distinct explanations for why the morphology-based system trails the best sub-word methods. A correct analysis can still leave an unfamiliar whole stem. Separately, an incorrect analysis can supply poor input units even for material that a well-designed vocabulary could cover. The example demonstrates the second mechanism, while the unknown-token diagnostic supports the first. There is no controlled comparison with corrected parses or an added fallback for unseen stems. The observed results describe this combination of analyzer and vocabulary rules.
That distinction also helps interpret the close results. Supplying grammatical units is compatible with competitive performance even when the analyzer sometimes errs and the method imposes a stricter rule on stems. The data establish the performance of that implemented procedure. They leave the performance of a perfectly analyzed or differently designed morphological representation open.
Holding the Transformer blocks steady reveals different returns
The vocabulary sweep changes the amount of space for entries within each adjustable tokenizer. The layers and hidden dimension remain fixed. This gives the comparison a more specific question than the BERTurk comparison. An improvement can be linked to expanding the vocabulary under the same Transformer block configuration, though the total system grows as entries are added. The paper can observe the return on additional vocabulary parameters and can also see whether that return depends on the method used to choose entries.
The results show earlier saturation for BPE and WordPiece. When an inventory can already encode almost all of the input, later entries can still consolidate frequent sequences. They have less opportunity to repair missing forms. Morphological and whole-word vocabularies have more of that opportunity. Additional space can preserve more stems and surface forms, which reduces the gap between these approaches and the established sub-word methods. The authors interpret the narrowing gap in light of this improved coverage.
The comparison across the selected tasks is another part of the analysis. An entity recognition score depends on identifying positions and categories within a sequence. Missing or heavily fragmented names can affect that prediction locally. A sentiment label pools evidence across a review. The vocabulary curves fit the expectation that named entity recognition can keep benefiting from richer representations of individual items after review classification has largely leveled off. The paper treats this as an explanation of the observed trends, with the dataset and prediction type changing together.
The sweep also gives content to the paper’s efficiency claim. The authors recommend spending a smaller share of parameters on the vocabulary when returns level off early. Their experiments hold the Transformer blocks fixed, so the recommendation to devote available resources to those blocks is a design implication. Its direct empirical basis is the diminishing gain from adding vocabulary entries. An experiment that transferred a fixed number of parameters between the vocabulary and the blocks would answer a further question about the best use of the same total capacity.
What the larger baseline adds
The BERTurk comparison shows the absolute context for the reported tokenizer differences. A medium-sized system can retain a large share of the larger baseline’s performance on a task such as news classification. The lower relative scores for some other tasks show that this degree of recovery is task-dependent. Since the baseline differs in size and pretraining setup, the comparison cannot attribute its advantage to particular token boundaries. Its contribution is to show the range of performance available from the smaller family under the chosen experimental conditions.
The pattern across comparisons is therefore specific. The fixed-inventory results show which tokenizers work well under the main medium-sized setup. Unknown rates and the Zemberek example show coverage and parsing problems that can arise within that setup. The vocabulary sweep shows how readily some of those constraints respond to more entries. BERTurk supplies a separate scale for the task scores. Each comparison answers a different part of the paper’s question about how an input representation affects a pretrained Turkish system.
Limitations
Limits the authors identify
The paper studies Turkish and treats transfer to other agglutinative languages as future work. The authors name Finnish and Hungarian as possible extensions and SentencePiece as another method they would like to compare. Their evidence establishes that a Turkish tokenizer based on grammatical parsing can compete with statistical sub-words in this particular setup. Applying that result to another language would require a corpus, an appropriate analysis tool, and evaluations that test the relevant distinctions in that language.
The authors also identify morphological disambiguation as a way the analysis might improve. A written form can allow several parses, and a disambiguation method can use context to decide which analysis is appropriate. The paper’s examples make errors in the preprocessing visible. The reported morphology results include the consequences of those errors. Improved disambiguation is a proposed change whose effect on the downstream scores remains open.
The training scale is part of the design. The authors intentionally use a medium-sized architecture and keep pretraining comparatively simple so that differences associated with segmentation may be easier to observe. They acknowledge that a larger or more extensively trained system may be better at learning patterns from character or byte input. The results for the byte tokenizer accordingly describe its performance under the chosen capacity and training regime. The vocabulary sweep further limits its scope to sentiment analysis and named entity recognition because running the full combination of tasks and settings would require more computation.
The authors recognize fairness as outside their empirical comparison. A large collection of webpages can contain biased material, and filtering documents for language provides no direct measure of bias. The paper leaves analysis of the corpus and tokenizer in terms of fairness, and dedicated filtering for that purpose, to future work. The hate speech benchmark measures prediction of its annotated categories. Evaluation on that benchmark offers no direct evidence about how the tokenizer or the pretrained system treats different populations.
The environmental analysis estimates training energy from GPU execution time and a maximum power assumption of 250W. The authors apply a local electricity conversion factor for their greenhouse gas estimate. Their calculation excludes CPU utilization and hardware manufacturing, and the detailed costs they report are for WordPiece because they describe emissions across tokenizers as close. In that accounting, pretraining emissions increase with vocabulary size, and fine-tuning emissions are associated with the size of the task dataset. These estimates are conditional on the hardware and power assumptions, and they cover specified portions of the computation.
Limits that follow from the experimental setup
The character condition is a different operating point from the adjustable-vocabulary conditions. It has a fixed inventory, much finer inputs, and separate settings for fine-tuning. Its practical result is clear within the comparison. Interpreting that result as a pure effect of unit size is harder because the token sequence length affects the training conditions and how much text an input can carry. The study offers no matched comparison where byte and sub-word systems receive the same amount of underlying text and the same computational resources while varying only the representation.
Likewise, the adjustable-vocabulary experiment increases the total parameter count as it expands the inventory. The fixed Transformer blocks help identify the returns associated with adding vocabulary capacity. They leave the alternative use of those parameters untested. The recommended shares of 20% and 40% are therefore empirical settings tied to the selected architecture, two task datasets, and the available range of sizes. A system with different blocks, a different pretraining schedule, or a different allocation of capacity could encounter different points of saturation.
Score aggregates also limit the kinds of linguistic claims the results support. End-to-end performance demonstrates that a tokenizer can be used effectively, but it does not establish that the system learned the function of a particular suffix. A review label can be correct when several cues are present. A named entity prediction can succeed through sentence context even if a form is unfamiliar. The example with -me explains why a grammatical split could help. The paper’s benchmarks measure complete task decisions and do not trace those decisions to specific morphemes.
The tested datasets impose their own conditions. The similarity and inference sets use translated Turkish examples, so their results concern the text and judgments represented in those translations. Named entity recognition and news classification use news material, sentiment analysis uses movie reviews, and hate speech detection uses tweets. This selection gives the evaluation a useful spread of input types. It still leaves open how the tokenizers behave on other domains, or whether a different mix of rare forms, entities, and writing conventions changes the comparison.
Finally, the statistical tests concern the observed comparisons over the evaluated folds. A distinction that passes the corrected threshold establishes evidence of a difference in that evaluation. A distinction that misses it leaves uncertainty about direction or magnitude. The closeness to BERTurk depends on the task and on the metric used for it. Taken together, these scope conditions support a focused conclusion about medium-sized Turkish pretraining, with room for different outcomes at other scales and on other tasks.
What came after
The later papers that cite this study take up several of the variables it put into the same experiment. Their titles identify their research questions and methods at different levels of detail. Citation establishes a connection to the Turkish comparison. The precise experiments and findings that followed can be attributed only where a later work’s stated scope supports them.
One line of work places tokenizer choice within the wider training budget. The Turkish study varied the vocabulary while keeping the Transformer blocks fixed, and observed that the return depended on the tokenizer. Tokenizer Choice For LLM Training: Negligible or Crucial? puts the importance of that choice at the center of a broader question about training large systems. A Survey of Resource-efficient LLM and Multimodal Foundation Models places the citing connection in a wider survey of resource efficiency. The Turkish experiment contributes a concrete example of vocabulary parameters and task performance entering the same efficiency comparison.
Another line of work makes the vocabulary itself a target for modification. The original comparison builds a separate pretrained system for each tokenizer condition. Retrofitting Large Language Models with Dynamic Tokenization addresses the question at a different point in the life of a system, using dynamic tokenization in a retrofit. Vocab Diet: Reshaping the Vocabulary of LLMs via Vector Arithmetic takes vocabulary reshaping as its subject and names vector arithmetic as its approach. These works concern ways to change the representation after a vocabulary has become part of a system, a distinct setting from allocating entries before each pretraining run.
Language-specific work develops the morphological question further. Modelling the Morphology of Verbal Paradigms narrows the comparison to verbal paradigms and considers tokenization in Turkish and Hebrew. This focus gives a more specific linguistic object to examine than a downstream score over a collection of tasks. From Smørrebrød to Subwords considers training on Danish with morphemes as units, taking the idea of grammatically motivated segmentation into a different language. The Impact of Tokenization Algorithms on Hungarian Language Model Performance takes up Hungarian, one of the languages the original authors named as a possible extension of their research question. The citing relationship and stated topic establish that parallel, with the details of its comparison belonging to the Hungarian study.
Other citing papers connect the question to particular applications and evaluation settings. SindBERT, the Sailor returns to Turkish natural language processing and situates another BERT system in that setting. Optimized Text Embedding Models and Benchmarks for Amharic Passage Retrieval focuses on an Amharic information retrieval application, where text representations are evaluated through passage retrieval and its benchmarks. Its stated scope links representation choices to another language and a different type of judgment from classification or entity recognition.
Finally, Mitigating Tokenization-Induced Distance Distortion in Long-Context Multilingual Machine Translation targets the effects of segmentation on distances in token sequences. The Turkish paper had illustrated how the same sentence can occupy very different numbers of input positions under different tokenizers. The later work’s focus on distance brings that consequence into long-context multilingual translation. Across these connections, the aspect carried forward varies with the research question. A study can investigate the grammatical identity of a piece, the cost of allocating it an entry, the consequences of changing that entry after training, or the sequence positions created when the text is split.
Cite
Cite as Çağrı Toraman, Eyüp Halit Yılmaz, Furkan Şahi̇nuç and Oguzhan Ozcelik. 2023. Impact of Tokenization on Language Models: An Analysis for Turkish. ACM Transactions on Asian and Low-Resource Language Information Processing.
@article{toraman2023impact,
title = {{Impact of Tokenization on Language Models: An Analysis for Turkish}},
author = {Çağrı Toraman, Eyüp Halit Yılmaz, Furkan Şahi̇nuç and Oguzhan Ozcelik},
journal = {ACM Transactions on Asian and Low-Resource Language Information Processing},
year = {2023},
doi = {10.1145/3578707},
eprint = {2204.08832},
archivePrefix = {arXiv},
url = {https://doi.org/10.1145/3578707}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/toraman-2023-impact-tokenization-language-models-analysis/
References
- authorpersonSina Ahmadi. year2020. A Tokenization System for the Kurdish Language. In booktitleProceedings of the 7th Workshop on NLP for Similar Languages, Varieties and Dialects. publisherInternational Committee on Computational Linguistics (ICCL), addressBarcelona, Spain (Online), pages114–127. OpenAlex ↗ · Scholar ↗
- authorpersonAhmet Afsin Akın and personMehmet Dündar Akın. year2007. Zemberek, An Open Source NLP Framework for Turkic Languages. journalStructure volume10 (year2007), pages1–5. OpenAlex ↗ · Scholar ↗
- authorpersonRicardo Baeza-Yates. year2022. Ethical Challenges in AI. In booktitleProceedings of the Fifteenth ACM International Conference on Web Search and Data Mining. pages1–2. OpenAlex ↗ · Scholar ↗
- authorpersonFigen Beken Fikri, personKemal Oflazer, and personBerrin Yanikoglu. year2021. Semantic Similarity Based Evaluation for Abstractive News Summarization. In booktitleProceedings of the 1st Workshop on Natural Language Generation, Evaluation, and Metrics (GEM 2021). publisherAssociation for Computational Linguistics, addressOnline, pages24–33. https://doi.org/10.18653/v1/2021.gem-1.3 OpenAlex ↗ · Scholar ↗
- authorpersonEmily M. Bender, personTimnit Gebru, personAngelina McMillan-Major, and personShmargaret Shmitchell. year2021. On the Dangers of Stochastic Parrots: Can Language Models Be Too Big?. In booktitleProceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency (Virtual Event, Canada) (seriesFAccT '21). publisherAssociation for Computing Machinery, addressNew York, NY, USA, pages610–623. 9781450383097 https://doi.org/10.1145/3442188.3445922 OpenAlex ↗ · Scholar ↗
- authorpersonKaj Bostrom and personGreg Durrett. year2020. Byte Pair Encoding is Suboptimal for Language Model Pretraining. In booktitleFindings of the Association for Computational Linguistics: EMNLP 2020. publisherAssociation for Computational Linguistics, addressOnline, pages4617–4624. https://doi.org/10.18653/v1/2020.findings-emnlp.414 our card
- authorpersonEmrah Budur, personRıza Özçelik, and personTunga Güngör. year2020. Data and Representation for Turkish Natural Language Inference. In booktitleProceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP). publisherAssociation for Computational Linguistics, addressOnline, pages8253–8267. https://doi.org/10.18653/v1/2020.emnlp-main.662 OpenAlex ↗ · Scholar ↗
- authorpersonErkin Demirtas and personMykola Pechenizkiy. year2013. Cross-lingual Polarity Detection with Machine Translation. In booktitleProceedings of the Second International Workshop on Issues of Sentiment Discovery and Opinion Mining (Chicago, Illinois) (seriesWISDOM '13). publisherAssociation for Computing Machinery, addressNew York, NY, USA. https://doi.org/10.1145/2502069.2502078 OpenAlex ↗ · Scholar ↗
- authorpersonJacob Devlin, personMing-Wei Chang, personKenton Lee, and personKristina Toutanova. year2019. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In booktitleProceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers). publisherAssociation for Computational Linguistics, addressMinnesota, pages4171–4186. https://doi.org/10.18653/v1/N19-1423 our card
- authorpersonChenchen Ding, personHnin Thu Zar Aye, personWin Pa Pa, personKhin Thandar Nwet, personKhin Mar Soe, personMasao Utiyama, and personEiichiro Sumita. year2019a. Towards Burmese (Myanmar) Morphological Analysis: Syllable-Based Tokenization and Part-of-Speech Tagging. journalACM Transactions on Asian and Low-Resource Language Information Processing volume19, number1 (year2019). https://doi.org/10.1145/3325885 OpenAlex ↗ · Scholar ↗
- authorpersonChenchen Ding, personMasao Utiyama, and personEiichiro Sumita. year2018. NOVA: A Feasible and Flexible Annotation System for Joint Tokenization and Part-of-Speech Tagging. journalACM Transactions on Asian and Low-Resource Language Information Processing volume18, number2 (year2018). https://doi.org/10.1145/3276773 OpenAlex ↗ · Scholar ↗
- authorpersonShuoyang Ding, personAdithya Renduchintala, and personKevin Duh. year2019b. A Call for Prudent Choice of Subword Merge Operations in Neural Machine Translation. In booktitleProceedings of Machine Translation Summit XVII: Research Track. publisherEuropean Association for Machine Translation, addressDublin, Ireland, pages204–213. OpenAlex ↗ · Scholar ↗
- authorpersonBonaventure FP Dossou and personChris C Emezue. year2021. Crowdsourced Phrase-based Tokenization for Low-resourced Neural Machine Translation: The case of Fon Language. journalarXiv preprint arXiv:2103.08052 (year2021). OpenAlex ↗ · Scholar ↗
- authorpersonElectricityMap. year2022. titleClimate Impact by Area. https://app.electricitymap.org/map Accessed: 2022-03-16. OpenAlex ↗ · Scholar ↗
- authorpersonChengyue Gong, personDi He, personXu Tan, personTao Qin, personLiwei Wang, and personTie-Yan Liu. year2018. Frage: Frequency-agnostic Word Representation. journalAdvances in Neural Information Processing Systems volume31 (year2018). OpenAlex ↗ · Scholar ↗
- authorpersonDilek Zeynep Hakkani-Tür, personMurat Saraçlar, personGökhan Tür, personKemal Oflazer, and personDeniz Yuret. year2018. booktitleMorphological Disambiguation for Turkish. publisherSpringer Int. Publishing, addressCham, pages53–67. 978-3-319-90165-7 https://doi.org/10.1007/978-3-319-90165-7_3 OpenAlex ↗ · Scholar ↗
- authorpersonPeter Henderson, personJieru Hu, personJoshua Romoff, personEmma Brunskill, personDan Jurafsky, and personJoelle Pineau. year2020. Towards The Systematic Reporting of The Energy and Carbon Footprints of Machine Learning. journalJournal of Machine Learning Research volume21, number248 (year2020), pages1–43. our card
- authorpersonTatsuya Hiraoka, personSho Takase, personKei Uchiumi, personAtsushi Keyaki, and personNaoaki Okazaki. year2021. Joint Optimization of Tokenization and Downstream Model. In booktitleFindings of the Association for Computational Linguistics: ACL-IJCNLP 2021. publisherAssociation for Computational Linguistics, addressOnline, pages244–255. https://doi.org/10.18653/v1/2021.findings-acl.21 OpenAlex ↗ · Scholar ↗
- authorpersonHuggingface. year2021. titleOscar Dataset Huggingface. https://huggingface.co/datasets/oscar Accessed: 2022-03-16. OpenAlex ↗ · Scholar ↗
- authorpersonHour Kaing, personChenchen Ding, personMasao Utiyama, personEiichiro Sumita, personSethserey Sam, personSopheap Seng, personKatsuhito Sudoh, and personSatoshi Nakamura. year2021. Towards Tokenization and Part-of-Speech Tagging for Khmer: Data and Discussion. journalACM Transactions on Asian and Low-Resource Language Information Processing volume20, number6 (year2021). https://doi.org/10.1145/3464378 OpenAlex ↗ · Scholar ↗
- authorpersonJS Kikstra, personP Waidelich, personJ Rising, personD Yumashev, personC Hope, and personCM Brierley. year2021. The Social Cost of Carbon Dioxide Under Climate-economy Feedbacks and Temperature Variability. journalEnvironmental Research Letters volume16, number9 (year2021), pages094037. OpenAlex ↗ · Scholar ↗
- authorpersonTaku Kudo. year2018. Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidates. In booktitleProceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). publisherAssociation for Computational Linguistics, addressMelbourne, Australia, pages66–75. https://doi.org/10.18653/v1/P18-1007 our card
- authorpersonTaku Kudo and personJohn Richardson. year2018. SentencePiece: A Simple and Language Independent Subword Tokenizer and Detokenizer for Neural Text Processing. In booktitleProceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations. publisherAssociation for Computational Linguistics, addressBrussels, Belgium, pages66–71. https://doi.org/10.18653/v1/D18-2012 our card
- authorpersonSeth Kulick. year2011. Exploiting Separation of Closed-Class Categories for Arabic Tokenization and Part-of-Speech Tagging. journalACM Transactions on Asian Language Information Processing volume10, number1 (year2011). https://doi.org/10.1145/1929908.1929912 OpenAlex ↗ · Scholar ↗
- authorpersonYachao Li, personJing Jiang, personJia Yangji, and personNing Ma. year2021. Finding Better Subwords for Tibetan Neural Machine Translation. journalACM Transactions on Asian and Low-Resource Language Information Processing volume20, number2 (year2021). https://doi.org/10.1145/3448216 OpenAlex ↗ · Scholar ↗
- authorpersonYinhan Liu, personMyle Ott, personNaman Goyal, personJingfei Du, personMandar Joshi, personDanqi Chen, personOmer Levy, personMike Lewis, personLuke Zettlemoyer, and personVeselin Stoyanov. year2019. RoBERTa: A Robustly Optimized BERT Pretraining Approach. journalarXiv preprint arXiv:1907.11692 (year2019). our card
- authorpersonLoodos. year2020. titleTurkish Language Models. https://github.com/Loodos/turkish-language-models Accessed: 2022-03-16. OpenAlex ↗ · Scholar ↗
- authorpersonIlya Loshchilov and personFrank Hutter. year2019. Decoupled Weight Decay Regularization. In booktitleInternational Conference on Learning Representations. addressLA, USA. our card
- authorpersonLalita Lowphansirikul, personCharin Polpanumas, personNawat Jantrakulchai, and personSarana Nutanong. year2021. WangchanBERTa: Pretraining Transformer-based Thai Language Models. journalarXiv preprint arXiv:2101.09635 (year2021). OpenAlex ↗ · Scholar ↗
- authorpersonAlejandro Metke Jimenez, personKerry Raymond, and personIan MacColl. year2011. Information Extraction from Web Services: A Comparison of Tokenisation Algorithms. In booktitleProceedings of the 2nd International Workshop on Software Knowledge 2011, in conjunction with 3rd International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management. Scitepress, pages12–23. OpenAlex ↗ · Scholar ↗
- authorpersonTomás Mikolov, personKai Chen, personGreg Corrado, and personJeffrey Dean. year2013. Efficient Estimation of Word Representations in Vector Space. In booktitle1st International Conference on Learning Representations, ICLR, Workshop Track Proceedings. addressScottsdale, Arizona, USA. our card
- authorpersonMargaret Mitchell, personSimone Wu, personAndrew Zaldivar, personParker Barnes, personLucy Vasserman, personBen Hutchinson, et al. year2019. Model Cards for Model Reporting. In booktitleProceedings of the Conference on Fairness, Accountability, and Transparency (Atlanta, GA, USA) (seriesFAT* '19). publisherAssociation for Computing Machinery, addressNew York, NY, USA, pages220–229. 9781450361255 https://doi.org/10.1145/3287560.3287596 OpenAlex ↗ · Scholar ↗
- authorpersonAnmol Nayak, personHariprasad Timmapathini, personKarthikeyan Ponnalagu, and personVijendran Gopalan Venkoparao. year2020. Domain Adaptation Challenges of BERT in Tokenization and Sub-word Representations of Out-of-Vocabulary words. In booktitleProceedings of the First Workshop on Insights from Negative Results in NLP. publisherAssociation for Computational Linguistics, addressOnline, pages1–5. https://doi.org/10.18653/v1/2020.insights-1.1 OpenAlex ↗ · Scholar ↗
- authorpersonPedro Javier Ortiz Suárez, personBenoit Sagot, and personLaurent Romary. year2019. Asynchronous Pipelines for Processing Huge Corpora on Medium to Low Resource Infrastructures. In booktitle7th Workshop on the Challenges in the Management of Large Corpora (CMLC-7). publisherLeibniz-Institut für Deutsche Sprache, addressCardiff, United Kingdom, pages9–16. https://doi.org/10.14618/ids-pub-9021 OpenAlex ↗ · Scholar ↗
- authorpersonChanjun Park, personSugyeong Eo, personHyeonseok Moon, and personHeuiseok Lim. year2021. Should We Find Another Model?: Improving Neural Machine Translation Performance with ONE-Piece Tokenization Method without Model Modification. In booktitleProceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies: Industry Papers. publisherAssociation for Computational Linguistics, addressOnline, pages97–104. https://doi.org/10.18653/v1/2021.naacl-industry.13 OpenAlex ↗ · Scholar ↗
- authorpersonKyubyong Park, personJoohong Lee, personSeongbo Jang, and personDawoon Jung. year2020. An Empirical Study of Tokenization Strategies for Various Korean NLP Tasks. In booktitleProceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing. publisherAssociation for Computational Linguistics, addressSuzhou, China, pages133–142. OpenAlex ↗ · Scholar ↗
- authorpersonIvan Provilkov, personDmitrii Emelianenko, and personElena Voita. year2020. BPE-Dropout: Simple and Effective Subword Regularization. In booktitleProceedings of the 58th Annual Meeting of the Association for Computational Linguistics. publisherAssociation for Computational Linguistics, addressOnline, pages1882–1892. https://doi.org/10.18653/v1/2020.acl-main.170 our card
- authorpersonAlec Radford, personJeffrey Wu, personRewon Child, personDavid Luan, personDario Amodei, personIlya Sutskever, et al. year2019. Language Models Are Unsupervised Multitask Learners. journalOpenAI blog volume1, number8 (year2019), pages9. OpenAlex ↗ · Scholar ↗
- authorpersonLance Ramshaw and personMitch Marcus. year1995. Text Chunking using Transformation-Based Learning. In booktitleThird Workshop on Very Large Corpora. https://aclanthology.org/W95-0107 our card
- authorpersonUrbanization Republic of Turkey Ministry of Environment and personClimate Change. year2020. titlePrimary Energy and GHG Emissions Coefficients of Electricity. https://meslekihizmetler.csb.gov.tr/elektrik-enerjisinin-birincil-enerji-ve-sera-gazi-salimi-katsayilari-2021-yilindan-itibaren-kullanilmak-uzere-guncellenmistir-duyuru-411795 Accessed: 2022-03-16. OpenAlex ↗ · Scholar ↗
- authorpersonMike Schuster and personKaisuke Nakajima. year2012. Japanese and Korean Voice Search. In booktitle2012 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). pages5149–5152. https://doi.org/10.1109/ICASSP.2012.6289079 OpenAlex ↗ · Scholar ↗
- authorpersonStefan Schweter. year2020. booktitleBERTurk - BERT Models for Turkish. https://doi.org/10.5281/zenodo.3770924 OpenAlex ↗ · Scholar ↗
- authorpersonRico Sennrich, personBarry Haddow, and personAlexandra Birch. year2016. Neural Machine Translation of Rare Words with Subword Units. In booktitleProceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). publisherAssociation for Computational Linguistics, addressBerlin, Germany, pages1715–1725. https://doi.org/10.18653/v1/P16-1162 our card
- authorpersonNakatani Shuyo. year2010. titleLanguage Detection Library for Java. http://code.google.com/p/language-detection/ Accessed: 2022-03-16. OpenAlex ↗ · Scholar ↗
- authorpersonFei Sun, personJun Liu, personJian Wu, personChanghua Pei, personXiao Lin, personWenwu Ou, and personPeng Jiang. year2019. BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer. In booktitleProceedings of the 28th ACM International Conference on Information and Knowledge Management (Beijing, China) (seriesCIKM '19). publisherAssociation for Computing Machinery, addressNew York, NY, USA, pages1441–1450. https://doi.org/10.1145/3357384.3357895 OpenAlex ↗ · Scholar ↗
- authorpersonYi Tay, personVinh Q Tran, personSebastian Ruder, personJai Gupta, personHyung Won Chung, personDara Bahri, personZhen Qin, personSimon Baumgartner, personCong Yu, and personDonald Metzler. year2021. Charformer: Fast Character Transformers via Gradient-based Subword Tokenization. journalarXiv preprint arXiv:2106.12672 (year2021). our card
- authorpersonCagri Toraman, personFazli Can, and personSeyit Koçberber. year2011. Developing A Text Categorization Template for Turkish News Portals. In booktitle2011 International Symposium on Innovations in Intelligent Systems and Applications. pages379–383. https://doi.org/10.1109/INISTA.2011.5946096 OpenAlex ↗ · Scholar ↗
- authorpersonCagri Toraman, personFurkan Ş̧ahinuç̧, and personEyup Halit Yilmaz. year2022. Large-Scale Hate Speech Detection with Cross-Domain Transfer. journalarXiv preprint arXiv:2203.01111 (year2022). OpenAlex ↗ · Scholar ↗
- authorpersonGökhan Tür, personDilek Hakkani-Tür, and personKemal Oflazer. year2003. A Statistical Information Extraction System for Turkish. journalNatural Lang. Engineering volume9, number2 (year2003), pages181–210. https://doi.org/10.1017/S135132490200284X OpenAlex ↗ · Scholar ↗
- authorpersonMihaela Alexandra Vasiu and personRodica Potolea. year2020. Enhancing Tokenization by Embedding Romanian Language Specific Morphology. In booktitle2020 IEEE 16th International Conference on Intelligent Computer Communication and Processing (ICCP). pages243–250. https://doi.org/10.1109/ICCP51029.2020.9266140 OpenAlex ↗ · Scholar ↗
- authorpersonAshish Vaswani, personNoam Shazeer, personNiki Parmar, personJakob Uszkoreit, personLlion Jones, personAidan N Gomez, personŁukasz Kaiser, and personIllia Polosukhin. year2017. Attention is all you need. In booktitleAdvances in Neural Information Processing Systems. pages5998–6008. our card
- authorpersonJingjing Xu, personHao Zhou, personChun Gan, personZaixiang Zheng, and personLei Li. year2021. Vocabulary Learning via Optimal Transport for Neural Machine Translation. In booktitleProceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers). publisherAssociation for Computational Linguistics, addressOnline, pages7361–7373. https://doi.org/10.18653/v1/2021.acl-long.571 OpenAlex ↗ · Scholar ↗
- authorpersonLinting Xue, personAditya Barua, personNoah Constant, personRami Al-Rfou, personSharan Narang, personMihir Kale, et al. year2021. ByT5: Towards A Token-free Future with Pre-trained Byte-to-byte Models. journalarXiv preprint arXiv:2105.13626 (year2021). OpenAlex ↗ · Scholar ↗
- authorpersonAndrew Yates, personRodrigo Nogueira, and personJimmy Lin. year2021. Pretrained Transformers for Text Ranking: BERT and Beyond. In booktitleProceedings of the 14th ACM International Conference on Web Search and Data Mining. pages1154–1156. OpenAlex ↗ · Scholar ↗
- authorpersonWenbo Zhang, personXiao Li, personYating Yang, and personRui Dong. year2021b. Pre-Training on Mixed Data for Low-Resource Neural Machine Translation. journalInformation volume12, number3 (year2021), pages133. OpenAlex ↗ · Scholar ↗
- authorpersonXinsong Zhang, personPengshuai Li, and personHang Li. year2021a. AMBERT: A Pre-trained Language Model with Multi-Grained Tokenization. In booktitleFindings of the Association for Computational Linguistics: ACL-IJCNLP 2021. publisherAssociation for Computational Linguistics, pages421–435. https://doi.org/10.18653/v1/2021.findings-acl.37 OpenAlex ↗ · Scholar ↗