Downloads · 30 days
0
Supernova11c/Supernova-Nepali-Tokenizer-V3
Supernova-Nepali-Tokenizer-V3 is a machine learning model from Supernova11c. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Supernova V3 is a scratch-built tokenizer infrastructure that achieves 7x the efficiency and speed of generic tokenizers (like Tiktoken or HuggingFace Fast Tokenizers) for the Nepali language.
Downloads · 30 days
0
Access
Public
Updated Aug 19, 2026
Repo size
—
Likes
1
Public
Click a slice to open those files.
.json8.3 KB · 67%
From the Hugging Face model README
Supernova V3 is a scratch-built tokenizer infrastructure that achieves 7x the efficiency and speed of generic tokenizers (like Tiktoken or HuggingFace Fast Tokenizers) for the Nepali language.
# Load the tokenizer_v3.json and use the encode/decode logic provided in the Supernova class.
Status: Shipped. The era of GPU-dependency for Nepali NLP ends here. Supernova Nepali Tokenizer V3
A lightweight, CPU-oriented Nepali tokenizer using a custom Trie-based Max-Match Priority Encoder.
Installation
pip install huggingface_hub
Download
from huggingface_hub import hf_hub_download
tokenizer_path = hf_hub_download( repo_id="Supernova11c/Supernova-Nepali-Tokenizer-V3", filename="tokenizer.json" )
print("Tokenizer:", tokenizer_path)
Important
This repository contains a custom tokenizer format.
It is not a standard "AutoTokenizer" repository.
The "tokenizer.json" file contains the tokenizer vocabulary, merge definitions, and architecture metadata.
Architecture
Loading
import json
with open(tokenizer_path, "r", encoding="utf-8") as f: config = json.load(f)
print(config["model_name"]) print(config["version"]) print(config["architecture"]) print("Vocabulary:", len(config["vocab"])) print("Merges:", len(config["merges"]))
Benchmarking
For reproducible comparisons, benchmark all tokenizers on the same corpus and CPU.
Recommended metrics:
Do not compare token counts alone because different tokenizers can represent the same text using very different numbers of tokens.
Benchmark claim
Benchmark results should always include:
Performance claims should be reported from measured results rather than assumed architectural advantages.