alakxender / dhivehi-quick-spell-check-t5

huggingface.co
Total runs: 17
24-hour runs: 4
7-day runs: 4
30-day runs: 12
Model's Last Updated: April 20 2025
text-generation

Introduction of dhivehi-quick-spell-check-t5

Model Details of dhivehi-quick-spell-check-t5

T5 Dhivehi Typo Correction

A fine-tuned T5 model for correcting typos in Dhivehi text. This project uses a custom-trained T5-small model to detect and fix spelling errors in Dhivehi text.

Overview

This project implements a spell-checking system using:

  • T5-small as the base model
  • Custom Dhivehi tokenizer
  • Weights & Biases for experiment tracking
  • Hugging Face's Transformers library
Training parameters:
  • Learning rate: 3e-4
  • Batch size: 64
  • Training epochs: 3
  • Weight decay: 0.01
  • Warmup ratio: 0.1
  • Maximum sequence length: 128 tokens
Usage
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
import torch

# Load the model and tokenizer
tokenizer = AutoTokenizer.from_pretrained("alakxender/dhivehi-quick-spell-check-t5")
model = AutoModelForSeq2SeqLM.from_pretrained("alakxender/dhivehi-quick-spell-check-t5")
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model.to(device)

# Correct text
def correct_text(input_text):
    input_text = "fix: " + input_text
    inputs = tokenizer(input_text, return_tensors="pt", max_length=128, truncation=True)
    inputs = inputs.to(device)
    
    outputs = model.generate(
        input_ids=inputs["input_ids"],
        attention_mask=inputs.get("attention_mask", None),
        max_length=128,
        num_beams=4,
        early_stopping=True
    )
    
    return tokenizer.decode(outputs[0], skip_special_tokens=True)

Runs of alakxender dhivehi-quick-spell-check-t5 on huggingface.co

17
Total runs
4
24-hour runs
4
3-day runs
4
7-day runs
12
30-day runs

More Information About dhivehi-quick-spell-check-t5 huggingface.co Model

More dhivehi-quick-spell-check-t5 license Visit here:

https://choosealicense.com/licenses/apache-2.0

dhivehi-quick-spell-check-t5 huggingface.co

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

dhivehi-quick-spell-check-t5 huggingface.co Url

https://huggingface.co/alakxender/dhivehi-quick-spell-check-t5

alakxender dhivehi-quick-spell-check-t5 online free

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

alakxender dhivehi-quick-spell-check-t5 online free url in huggingface.co:

https://huggingface.co/alakxender/dhivehi-quick-spell-check-t5

dhivehi-quick-spell-check-t5 install

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

dhivehi-quick-spell-check-t5 install url in huggingface.co:

https://huggingface.co/alakxender/dhivehi-quick-spell-check-t5

Url of dhivehi-quick-spell-check-t5

dhivehi-quick-spell-check-t5 huggingface.co Url

Provider of dhivehi-quick-spell-check-t5 huggingface.co

alakxender
ORGANIZATIONS

Other API from alakxender

huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 16 2024