Downloads · 30 days
0
Arkintea/Nija_Pidgin_Tokenizer
Nija_Pidgin_Tokenizer is a machine learning model from Arkintea. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A custom tokenizer trained for Nigerian Pidgin English (Naija). Designed for NLP pipelines, chatbots, language modelling, and text processing where Pidgin-specific vocabulary and slang need to be accurately captured.
Downloads · 30 days
0
Access
Public
Updated Nov 21, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json4.1 MB · 100%
From the Hugging Face model README
A custom tokenizer trained for Nigerian Pidgin English (Naija).
Designed for NLP pipelines, chatbots, language modelling, and text processing where Pidgin-specific vocabulary and slang need to be accurately captured.
<|startoftext|>, <|endoftext|>, <|pad|>, <|user|>, <|assistant|>, <|system|>, <|unk|>, <|endofprompt|>from transformers import PreTrainedTokenizerFast
tokenizer = PreTrainedTokenizerFast.from_pretrained("Arkintea/Nija_Pidgin_Tokenizer")
text = "How you dey my guy?"
tokens = tokenizer.encode(text)
decoded = tokenizer.decode(tokens)
print("Tokens:", tokens)
print("Decoded:", decoded)