Downloads · 30 days
0
Vipplav/telugu-bpe-23k
telugu-bpe-23k is a machine learning model from Vipplav. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
A Byte-Pair Encoding (BPE) tokenizer trained on over 3.4 lakh cleaned Telugu text keys from the AI4Bharat Sangraha dataset and other open sources. This tokenizer is ideal for pretraining or fine-tuning Telugu language…
Downloads · 30 days
0
Access
Public
Updated Jun 19, 2025
Repo size
889 KB
Likes
0
Public
Click a slice to open those files.
.model889 KB · 97%
From the Hugging Face model README
A Byte-Pair Encoding (BPE) tokenizer trained on over **3.4 lakh cleaned Telugu text keys ** from the AI4Bharat Sangraha dataset and other open sources. This tokenizer is ideal for pretraining or fine-tuning Telugu language models.
transformers + sentencepiece<unk> — Unknown token<pad> — Padding<s> — Start of sequence</s> — End of sequence\n, ₹, •, - — User-defined symbols preserved during trainingfrom transformers import T5Tokenizer
# Load tokenizer from Hugging Face Hub
tokenizer = T5Tokenizer.from_pretrained("Vipplav/telugu-bpe-23k")
# Sample Telugu input
text = "పరిశీలన తేదీ: 15-06-2025"
# Tokenize the input
tokens = tokenizer.tokenize(text)
# Decode tokens back to text
decoded = tokenizer.decode(tokenizer.convert_tokens_to_ids(tokens), skip_special_tokens=True)
# Display results
print(f"\n📥 Input : {text}")
print(f"🔤 Tokens : {tokens}")
print(f"📝 Decoded : {decoded}")
If you use this tokenizer, please cite:
APA:
Vipplav AI (2025). Telugu BPE Tokenizer (23k vocab). Hugging Face. https://huggingface.co/Vipplav/telugu-bpe-23k
AI4Bharat. (2023). Sangraha: A Large-Scale Multidomain Corpus for Indian Languages. Hugging Face Datasets. https://huggingface.co/datasets/ai4bharat/sangraha
BibTeX:
@misc{vipplav_telugu_tokenizer,
author = {Vipplav AI},
title = {Telugu BPE Tokenizer (23k vocab)},
year = {2025},
url = {https://huggingface.co/Vipplav/telugu-bpe-23k}
}
@dataset{sangraha2023,
author = {AI4Bharat},
title = {Sangraha Dataset},
year = {2023},
url = {https://huggingface.co/datasets/ai4bharat/sangraha}
}