Downloads · 30 days
0
nanskong/ManipuriGPT-Tokenizer-v1
ManipuriGPT-Tokenizer-v1 is a machine learning model from nanskong. 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 sentencepiece. The card lists the license as apache-2.0.
The official SentencePiece BPE tokenizer for the ManipuriGPT foundation model ecosystem, trained on the deduplicated ManipuriGPT-Corpus-v1.0.
Downloads · 30 days
0
Access
Public
Updated Jul 27, 2026
Repo size
649 KB
Likes
0
Public
Click a slice to open those files.
.model649 KB · 45%
From the Hugging Face model README
The official SentencePiece BPE tokenizer for the ManipuriGPT foundation model ecosystem, trained on the deduplicated ManipuriGPT-Corpus-v1.0.
| Metric | Value |
|---|---|
| Algorithm | SentencePiece BPE |
| Vocabulary Size | 32,000 subwords |
| Vocabulary Utilization | 91.09% |
Unknown Token Rate (<unk>%) | 0.0000% |
| Avg Tokens / Sequence | 160.3 |
| Compression Ratio | 3.653 chars/token |
| Token Entropy | 11.64 bits |
| Token | ID |
|---|---|
<pad> | 0 |
<unk> | 1 |
<s> | 2 |
</s> | 3 |
<meitei> | 4 |
<bengali> | 5 |
<romanized> | 6 |
<mask> | 7 |
import sentencepiece as spm
sp = spm.SentencePieceProcessor()
sp.Load("tokenizer.model")
text = "ꯃꯅꯤꯄꯨꯔꯤ ꯂꯣꯟ ꯑꯁꯤ ꯑꯆꯧꯕ ꯂꯣꯟ ꯑꯃꯅꯤ"
tokens = sp.Encode(text, out_type=str)
print(tokens)
# Decode back
decoded = sp.Decode(tokens)
print(decoded)
| File | Description |
|---|---|
tokenizer.model | SentencePiece binary model (BPE) |
tokenizer.vocab | Full vocabulary with log-probabilities |
tokenizer_config.json | Training metadata, special tokens, and evaluation metrics |
special_tokens_map.json | HF-compatible special token mapping |
tokenizer_qualitative_samples.json | 50 qualitative encoding/decoding samples for manual inspection |
<unk> guarantee)<meitei>, <bengali>, <romanized> for script-conditioned generation@misc{manipurigpt_tokenizer_v10,
author = {ManipuriGPT Team},
title = {ManipuriGPT-Tokenizer-v1.0: SentencePiece BPE Tokenizer for Manipuri},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/nanskong/ManipuriGPT-Tokenizer-v1}
}