Downloads · 30 days
105
29% of all-time downloads
igorktech/CharPicoSatirik-sm
CharPicoSatirik-sm 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
105
29% of all-time downloads
All-time downloads
363
Public
Parameters
8.2M
198 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors32.8 MB · 98%
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.
It achieves the following results on the evaluation set:
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-sm')
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
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.3401 | 1.81 | 2000 | 1.3465 |
| 1.2323 | 3.62 | 4000 | 1.2643 |