Downloads · 30 days
21
28% of all-time downloads
igorktech/CharPicoSatirik-m
CharPicoSatirik-m is a text generation model from igorktech. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
21
28% of all-time downloads
All-time downloads
74
Public
Parameters
15.3M
609 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors61 MB · 99%
From the Hugging Face model README
This model is a pre-trained version of really tiny LLama2 model on an anekdots dataset.
Inspired by TinyStories.
To utilize the model, install the special tokenizer:
pip install git+https://github.com/Koziev/character-tokenizer
In addition to recognizing Cyrillic characters and punctuation, this tokenizer is aware of special tokens such as <s>, </s>, <pad>, and <unk>.
As this is a non-standard tokenizer for transformers, load it not via transformers.AutoTokenizer.from_pretrained, but somewhat like this:
import charactertokenizer
...
tokenizer = charactertokenizer.CharacterTokenizer.from_pretrained('igorktech/CharPicoSatirik-m')
To observe tokenization, use this code snippet:
prompt = '<s>Hello World\n'
encoded_prompt = tokenizer.encode(prompt, return_tensors='pt')
print('Tokenized prompt:', ' | '.join(tokenizer.decode([t]) for t in encoded_prompt[0]))
You will see a list of tokens separated by the | symbol:
Tokenized prompt: <s> | H | e | l | l | o | | W | o | r | l | d |
Tokenizer created by Koziev.
Llama2 architecture based.
More information needed
More information needed
The following hyperparameters were used during training: