Downloads · 30 days
0
learninbit/malayalam-llama-2-tokenizer-v0.1
malayalam-llama-2-tokenizer-v0.1 is a text classification model from learninbit. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
- This tokenizer was trained using the CulturaX dataset. We sample 1.2 million datapoints at random. - This was trained using the SentencePiece by Google. - Then the trained tokens were then added to the LlamaTokenize…
Downloads · 30 days
0
Access
Public
Updated Jan 26, 2024
Repo size
906 KB
Likes
0
Public
Click a slice to open those files.
.model906 KB · 100%
From the Hugging Face model README
LlamaTokenizer leading to a total of 49,120 tokens from 32,000 from the original tokenizer.from transformers import LlamaTokenizer
tokenizer = LlamaTokenizer.from_pretrained("learninbit/malayalam-llama-2-tokenizer-v0.1")
text = "ഹനഫസ ഹഫഞ്ചഥ ചകഡു ടെണല ഡൃൊമത്തീഴ ടഞ്ഞഭഞ റദ്ധഷ ഌിപത്മഫഥ ടജ്ജഡ്ഡപ്പെവ പഴുണൊ."
tokens = tokenizer.tokenizer(text)