Downloads · 30 days
174
25% of all-time downloads
sail/scaling-vocab-3b-43k-overtrain
scaling-vocab-3b-43k-overtrain is a text generation model from sail. Use it when you need the model to write or continue text. It is set up for transformers.
The pre-trained 3B model with the vocabulary size 43K in the paper Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabularies. We investigate how vocabulary size impacts language model scaling law in this…
Downloads · 30 days
174
25% of all-time downloads
All-time downloads
691
Public
Parameters
3.1B
6.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.3 GB · 100%
From the Hugging Face model README
The pre-trained 3B model with the vocabulary size 43K in the paper Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabularies. We investigate how vocabulary size impacts language model scaling law in this paper.
Based on our approach, we predict the optimal vocabulary size for 3B model is about 43K. Then, we train a Llama-based 3B model on a sampled version Slimpajama datasets. The model with 43K vocabulary outperforms the model with the common vocabulary size, 32K, despite using fewer training tokens. It is noteworthy that the proposed approach can be used for different model sizes.