π¦
Supra Mini v6 1M
Supra Mini v6 1M is a very small model tand it's the sixth version of our Supra Mini series.
Model Config
- Parameters: 1,410,688 (1M)
- Architecture: Llama
- Vocab size with custom BPE tokenizer: 4096
- Hidden Size: 128
- Intermediate Size: 256
- Hidden Layers: 6
- Attention Heads: 4
- Key Value Heads: 2
- Max Position Embeddings: 1024
- Learning rate: 6e-4
- Weight Decay: 0.1
- Trained in bfloat16
Final Loss
This model reached a final CrossEntropy loss (on the train set) of 3.79.
Benchmarks
All benchmarks were executed using lm_eval.
For further benchmarks, see benchmarks.md in this repo's files list.
Usage
To use our model, just run this code:
Use cases
- Educational research
- deployment or testing/fine-tuning on edge environments
- Or more simply, for fun
Limitations
- Cannot reason, chat, or code
- Incoherent more often than not
- Mostly unfactual
Training guide
We trained Supra Mini v6 1M on a single NVIDIA RTX 5060 Ti 16GB in ~3 hours for 1 epoch.
The full training code can be found in this repo as train_tokenizer.py (train costum BPE tokenizer with vocab size of 16384) and train_model.py (train the model).
The model was trained on the first 5 billion tokens of 70% Sample-10BT from Fineweb-Edu and 30% Cosmopedia-v2.