Bhuvana / t5-base-spellchecker

huggingface.co
Total runs: 146
24-hour runs: 17
7-day runs: 19
30-day runs: 45
Model's Last Updated: 2022年1月4日
text-generation

Introduction of t5-base-spellchecker

Model Details of t5-base-spellchecker

Spell checker using T5 base transformer

A simple spell checker built using T5-Base transformer. To use this model

from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("Bhuvana/t5-base-spellchecker")

model = AutoModelForSeq2SeqLM.from_pretrained("Bhuvana/t5-base-spellchecker")


def correct(inputs):
    input_ids = tokenizer.encode(inputs,return_tensors='pt')
    sample_output = model.generate(
        input_ids,
        do_sample=True,
        max_length=50,
        top_p=0.99,
        num_return_sequences=1
    )
    res = tokenizer.decode(sample_output[0], skip_special_tokens=True)
    return res


text = "christmas is celbrated on decembr 25 evry ear"

print(correct(text))

This should print the corrected statement

christmas is celebrated on december 25 every year

You can also type the text under the Hosted inference API and get predictions online.

Runs of Bhuvana t5-base-spellchecker on huggingface.co

146
Total runs
17
24-hour runs
14
3-day runs
19
7-day runs
45
30-day runs

More Information About t5-base-spellchecker huggingface.co Model

t5-base-spellchecker huggingface.co

t5-base-spellchecker huggingface.co is an AI model on huggingface.co that provides t5-base-spellchecker's model effect (), which can be used instantly with this Bhuvana t5-base-spellchecker model. huggingface.co supports a free trial of the t5-base-spellchecker model, and also provides paid use of the t5-base-spellchecker. Support call t5-base-spellchecker model through api, including Node.js, Python, http.

t5-base-spellchecker huggingface.co Url

https://huggingface.co/Bhuvana/t5-base-spellchecker

Bhuvana t5-base-spellchecker online free

t5-base-spellchecker huggingface.co is an online trial and call api platform, which integrates t5-base-spellchecker's modeling effects, including api services, and provides a free online trial of t5-base-spellchecker, you can try t5-base-spellchecker online for free by clicking the link below.

Bhuvana t5-base-spellchecker online free url in huggingface.co:

https://huggingface.co/Bhuvana/t5-base-spellchecker

t5-base-spellchecker install

t5-base-spellchecker is an open source model from GitHub that offers a free installation service, and any user can find t5-base-spellchecker on GitHub to install. At the same time, huggingface.co provides the effect of t5-base-spellchecker install, users can directly use t5-base-spellchecker installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

t5-base-spellchecker install url in huggingface.co:

https://huggingface.co/Bhuvana/t5-base-spellchecker

Url of t5-base-spellchecker

t5-base-spellchecker huggingface.co Url

Provider of t5-base-spellchecker huggingface.co

Bhuvana
ORGANIZATIONS

Other API from Bhuvana

huggingface.co

Total runs: 75
Run Growth: -8
Growth Rate: -10.67%
Updated:2022年11月15日