A small multilingual utility model intended for simple text correction. It is designed to improve the quality of texts from the web, often lacking punctuation or proper word capitalization. The model was trained to perform three types of corrections:
Restoring punctuation in sentences.
Restoring word capitalization.
Restoring diacritical marks for languages that include them.
The following languages are supported: Belarusian (be), Danish (da), German (de), Greek (el), English (en), Spanish (es), French (fr), Italian (it), Dutch (nl), Polish (pl), Portuguese (pt), Romanian (ro), Russian (ru), Slovak (sk), Swedish (sv), Ukrainian (uk).
The model takes as input a sentence preceded by a language code prefix. For example:
from transformers import pipeline
generator = pipeline("text2text-generation", model="sdadas/byt5-text-correction")
sentences = [
"<pl> ciekaw jestem na co licza onuce stawiajace na sykulskiego w nadziei na zwrot ku rosji",
"<de> die frage die sich die europäer stellen müssen lautet ist es in unserem interesse die krise auf taiwan zu beschleunigen",
"<ru> при своём рождении 26 августа 1910 года тереза получила имя агнес бояджиу"
]
generator(sentences, max_length=512)
# Ciekaw jestem na co liczą onuce stawiające na Sykulskiego w nadziei na zwrot ku Rosji.# Die Frage, die sich die Europäer stellen müssen, lautet: Ist es in unserem Interesse, die Krise auf Taiwan zu beschleunigen?# При своём рождении 26 августа 1910 года Тереза получила имя Агнес Бояджиу.
Runs of sdadas byt5-text-correction on huggingface.co
826
Total runs
14
24-hour runs
39
3-day runs
133
7-day runs
752
30-day runs
More Information About byt5-text-correction huggingface.co Model
byt5-text-correction huggingface.co is an AI model on huggingface.co that provides byt5-text-correction's model effect (), which can be used instantly with this sdadas byt5-text-correction model. huggingface.co supports a free trial of the byt5-text-correction model, and also provides paid use of the byt5-text-correction. Support call byt5-text-correction model through api, including Node.js, Python, http.
byt5-text-correction huggingface.co is an online trial and call api platform, which integrates byt5-text-correction's modeling effects, including api services, and provides a free online trial of byt5-text-correction, you can try byt5-text-correction online for free by clicking the link below.
sdadas byt5-text-correction online free url in huggingface.co:
byt5-text-correction is an open source model from GitHub that offers a free installation service, and any user can find byt5-text-correction on GitHub to install. At the same time, huggingface.co provides the effect of byt5-text-correction install, users can directly use byt5-text-correction installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
byt5-text-correction install url in huggingface.co: