A fine-tuned
byT5-small
model that rewrites informal, misspelled, or dialectal Turkish sentences into standard written Turkish.
Typical inputs are the kind of text people actually type in a hurry: dropped diacritics, missing letters, colloquial verb contractions, ASCII-only typing, and regional/dialectal spelling. The model rewrites these into a clean, standard-Turkish sentence while keeping the original meaning and word order.
sicil belgmi alcam -> Sicil belgimi alacağım
araç lsansı nasl alacaım -> araç lisansı nasıl alacağım
muhtara gitcem ne götüreyim -> Muhtara gideceğim ne götüreyim
Model description
Base model:
google/byt5-small
Tokenizer:
byte-level (no vocabulary, no BPE merges) — every UTF-8 byte is a token, so the model reasons directly over characters. This makes it naturally robust to the kind of noisy, non-standard spelling this task targets.
Task:
sequence-to-sequence text normalization (
bozuk Türkçe -> standart Türkçe
)
Input format:
prefix the sentence with
"düzelt: "
before feeding it to the model (see usage below).
Training pairs come from six public Turkish datasets that already provide noisy/clean sentence pairs (grammar correction, typo validation, text normalization — see
Data sources
below). Every source is permissively licensed and no data was synthetically generated for this training run.
Turkish subset of a multilingual noisy-sentence corpus
MIT
Not every dataset that was evaluated made it into the final training mix — a diacritics-restoration dataset, for example, was tested but excluded after evaluation.
The MIT, Apache-2.0, and CC0-1.0 sources above are acknowledged here per their license terms; their original copyright notices and licenses remain with the linked repositories. This project does not redistribute the original dataset files — only sentence pairs derived from them were used to train the model.
Training procedure
During training, checkpoints were evaluated periodically on a held-out validation split and ranked with a combined selection score that balances two things: how well a checkpoint fixes noisy sentences, and how well it leaves already-correct sentences untouched (to discourage over-correction). The checkpoint used here is the highest-scoring one from that process, and its weights were verified by hash before being published.
Evaluation
Held-out gold sets (naturally occurring, human-written Turkish — never seen during training)
Test set
n
WER (model)
WER (no correction)
F1
Over-correction
tweets
1,742
0.161
0.336
0.667
0.6%
boun
507
0.093
0.129
0.590
4.3%
The model roughly halves the word error rate compared to a "do nothing" baseline on both sets, while rarely damaging text that was already correct.
The model generalizes very well to mechanical, deterministic corrections (like deasciification), where the rule mapping is unambiguous.
It is comparatively weaker on organic, human-style noise that doesn't closely match the synthetic noise patterns it was trained on, and on long, multi-clause informal sentences.
It corrects spelling, spacing, and word-internal errors; it does not reorder words or rewrite sentence structure.
Inference is CPU-friendly but on Apple Silicon MPS the model can occasionally produce degenerate output; CPU or CUDA is recommended.
License
Apache 2.0 (same as the base model).
Runs of erdemKocaogluu byt5-small-tr-normalizer on huggingface.co
1.9K
Total runs
8
24-hour runs
-547
3-day runs
-502
7-day runs
1.3K
30-day runs
More Information About byt5-small-tr-normalizer huggingface.co Model
byt5-small-tr-normalizer huggingface.co is an AI model on huggingface.co that provides byt5-small-tr-normalizer's model effect (), which can be used instantly with this erdemKocaogluu byt5-small-tr-normalizer model. huggingface.co supports a free trial of the byt5-small-tr-normalizer model, and also provides paid use of the byt5-small-tr-normalizer. Support call byt5-small-tr-normalizer model through api, including Node.js, Python, http.
byt5-small-tr-normalizer huggingface.co is an online trial and call api platform, which integrates byt5-small-tr-normalizer's modeling effects, including api services, and provides a free online trial of byt5-small-tr-normalizer, you can try byt5-small-tr-normalizer online for free by clicking the link below.
erdemKocaogluu byt5-small-tr-normalizer online free url in huggingface.co:
byt5-small-tr-normalizer is an open source model from GitHub that offers a free installation service, and any user can find byt5-small-tr-normalizer on GitHub to install. At the same time, huggingface.co provides the effect of byt5-small-tr-normalizer install, users can directly use byt5-small-tr-normalizer installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
byt5-small-tr-normalizer install url in huggingface.co: