Downloads · 30 days
0
metythorn/xlm-roberta-tokenizer-50k
xlm-roberta-tokenizer-50k is a machine learning model from metythorn. 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.
This is a custom tokenizer trained for Khmer language based on XLM-RoBERTa architecture.
Downloads · 30 days
0
Access
Public
Updated Jul 10, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json3.9 MB · 100%
From the Hugging Face model README
This is a custom tokenizer trained for Khmer language based on XLM-RoBERTa architecture.
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("metythorn/xlm-roberta-tokenizer-50k")
# Example usage
text = "ខ្ញុំចង់រៀនភាសាខ្មែរ"
tokens = tokenizer.tokenize(text)
print(tokens)
This tokenizer is designed for: