Byte-Level BPE Tokenizer: dan_Latn (16K)

A Byte-Level BPE tokenizer trained on dan_Latn data from Fineweb-2-HQ.

Training Details

Parameter Value
Algorithm Byte-Level BPE
Language dan_Latn
Target Vocab Size 16,000
Final Vocab Size 16,000
Pre-tokenizer gpt4
Number handling individual
Contraction handling True
Normalizer NFC
Special Tokens <s>, </s>, <pad>, <unk>
Training Shards 2

Usage

from transformers import AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("flexitok/-bpe_dan_Latn_16000")
tokens = tokenizer.encode("Hello, world!")

Files

  • tokenizer.json — Full HuggingFace tokenizer
  • vocab.json — Vocabulary mapping
  • merges.txt — BPE merge rules

Sample Encoding

Text Tokens Token IDs
Hello, world! 12345 This is a test. こんにちは H, ello, ,, Ġw, orld, !, Ġ, 12, 3, 45, ĠTh, is, Ġis, Ġa, Ġtest, ., Ġ, ãģ, ĵ, ã 43, 12942, 15, 772, 4357, 4, 174, 1268, 22, 3888, 1859, 268, 951, 213, 1886, 17, 174, 7446, 194, 159
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including flexitok/bpe_dan_Latn_16000