Downloads · 30 days
60
32% of all-time downloads
mrcha033/YunMin-tokenizer-96k
YunMin-tokenizer-96k is a text generation model from mrcha033. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A Korean language tokenizer with 96,000 vocabulary size, optimized for Korean text processing.
Downloads · 30 days
60
32% of all-time downloads
All-time downloads
190
Public
Repo size
2.1 MB
Likes
0
Public
Click a slice to open those files.
.model2.1 MB · 51%
From the Hugging Face model README
A Korean language tokenizer with 96,000 vocabulary size, optimized for Korean text processing.
YunMin-tokenizer-96k.model - SentencePiece model file (2.0MB)YunMin-tokenizer-96k.vocab - Vocabulary file (2.0MB)tokenizer.json - Hugging Face tokenizer configurationtokenizer_config.json - Tokenizer configuration parametersspecial_tokens_map.json - Special tokens mappingconfig.json - Model configurationfrom transformers import PreTrainedTokenizerFast
# Load the tokenizer from Hugging Face Hub
tokenizer = PreTrainedTokenizerFast.from_pretrained("mrcha033/YunMin-tokenizer-96k")
# Tokenize Korean text
text = "안녕하세요, 한국어 토크나이저입니다."
tokens = tokenizer.tokenize(text)
token_ids = tokenizer.encode(text)
print(f"Tokens: {tokens}")
print(f"Token IDs: {token_ids}")
# Decode back to text
decoded_text = tokenizer.decode(token_ids)
print(f"Decoded: {decoded_text}")
<unk> - Unknown token<s> - Beginning of sequence</s> - End of sequence<pad> - Padding token96,000 tokens optimized for Korean language processing.
Unigram language model with whitespace pre-tokenization.