alakxender / dhivehi-T5-tokenizer-extended

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: June 13 2025

Introduction of dhivehi-T5-tokenizer-extended

Model Details of dhivehi-T5-tokenizer-extended

T5 Extended Tokenizer for Dhivehi

This tokenizer extends google/flan-t5-base to support Dhivehi (Thaana script) characters, while preserving English subword tokenization.

  • Base model : google/flan-t5-base
  • Extension : Adds characters in the Thaana Unicode range (U+0780–U+07BF)
  • Purpose : For Dhivehi-English tasks like translation, summarization, or instruction tuning
  • English tokens remain unchanged ( _This , _is , etc.)
How to Use
from transformers import AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("alakxender/dhivehi-T5-tokenizer-extended")

# Dhivehi example
text = "ހެނބަދޫ މުދިންބެ: ކުދިން ހަތިމްކުރާ ކޮންމެ ފަހަރަކު ލޮލުން ކަރުނަ!"
tokens = tokenizer.tokenize(text)
print(tokens)
What’s Different?
Feature Stock Flan-T5 Tokenizer Extended Dhivehi Tokenizer
Dhivehi support ❌ Uses Proper tokenization
English tokenization ✅ Yes Preserved
Added tokens ❌ No Thaana characters
Comparison with Stock Flan-T5

The stock flan-t5-base tokenizer does not support Dhivehi text properly:

from transformers import AutoTokenizer

stock_tokenizer = AutoTokenizer.from_pretrained("google/flan-t5-base")
tokens = stock_tokenizer.tokenize("ހެނބަދޫ މުދިންބެ: ކުދިން ހަތިމްކުރާ ކޮންމެ ފަހަރަކު ލޮލުން ކަރުނަ!")
print(tokens)
# Output: ['<unk>', '<unk>']

In contrast, the extended tokenizer will tokenize Thaana characters individually or as learned units, preserving semantics and avoiding <unk> tokens.

Runs of alakxender dhivehi-T5-tokenizer-extended on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About dhivehi-T5-tokenizer-extended huggingface.co Model

More dhivehi-T5-tokenizer-extended license Visit here:

https://choosealicense.com/licenses/mit

dhivehi-T5-tokenizer-extended huggingface.co

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

dhivehi-T5-tokenizer-extended huggingface.co Url

https://huggingface.co/alakxender/dhivehi-T5-tokenizer-extended

alakxender dhivehi-T5-tokenizer-extended online free

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

alakxender dhivehi-T5-tokenizer-extended online free url in huggingface.co:

https://huggingface.co/alakxender/dhivehi-T5-tokenizer-extended

dhivehi-T5-tokenizer-extended install

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

dhivehi-T5-tokenizer-extended install url in huggingface.co:

https://huggingface.co/alakxender/dhivehi-T5-tokenizer-extended

Url of dhivehi-T5-tokenizer-extended

dhivehi-T5-tokenizer-extended huggingface.co Url

Provider of dhivehi-T5-tokenizer-extended huggingface.co

alakxender
ORGANIZATIONS

Other API from alakxender

huggingface.co

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