--- library_name: transformers tags: - generated_from_trainer datasets: - kanishka/babylm2-rewritten-clean-spacy metrics: - accuracy model-index: - name: opt-babylm2-rewritten-clean-spacy-32k-earlystop_seed-42_1e-3 results: - task: name: Causal Language Modeling type: text-generation dataset: name: kanishka/babylm2-rewritten-clean-spacy type: kanishka/babylm2-rewritten-clean-spacy metrics: - name: Accuracy type: accuracy value: 0.42861324947683616 --- # opt-babylm2-rewritten-clean-spacy-32k-earlystop_seed-42_1e-3 This model was trained from scratch on the kanishka/babylm2-rewritten-clean-spacy dataset. It achieves the following results on the evaluation set: - Loss: 2.9304 - Accuracy: 0.4286 ## Model description More information needed ## Intended uses & limitations More information needed ## Training and evaluation data More information needed ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 0.001 - train_batch_size: 32 - eval_batch_size: 64 - seed: 42 - gradient_accumulation_steps: 8 - total_train_batch_size: 256 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 32000 - num_epochs: 20.0 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | |:-------------:|:-------:|:-----:|:---------------:|:--------:| | 5.9216 | 0.9996 | 1931 | 4.0134 | 0.3253 | | 3.7977 | 1.9997 | 3863 | 3.5448 | 0.3639 | | 3.3887 | 2.9999 | 5795 | 3.3242 | 0.3841 | | 3.1805 | 4.0 | 7727 | 3.2082 | 0.3949 | | 3.0632 | 4.9996 | 9658 | 3.1432 | 0.4012 | | 2.9865 | 5.9997 | 11590 | 3.1010 | 0.4056 | | 2.9347 | 6.9999 | 13522 | 3.0715 | 0.4087 | | 2.8953 | 8.0 | 15454 | 3.0539 | 0.4108 | | 2.8689 | 8.9996 | 17385 | 3.0392 | 0.4122 | | 2.8456 | 9.9997 | 19317 | 3.0310 | 0.4134 | | 2.8298 | 10.9999 | 21249 | 3.0251 | 0.4144 | | 2.817 | 12.0 | 23181 | 3.0175 | 0.4152 | | 2.8069 | 12.9996 | 25112 | 3.0119 | 0.4158 | | 2.7996 | 13.9997 | 27044 | 3.0060 | 0.4163 | | 2.7615 | 14.9999 | 28976 | 3.0038 | 0.4171 | | 2.7575 | 16.0 | 30908 | 3.0022 | 0.4169 | | 2.7573 | 16.9996 | 32839 | 2.9877 | 0.4190 | | 2.71 | 17.9997 | 34771 | 2.9555 | 0.4230 | | 2.6248 | 18.9999 | 36703 | 2.9325 | 0.4268 | | 2.5172 | 19.9922 | 38620 | 2.9304 | 0.4286 | ### Framework versions - Transformers 4.45.1 - Pytorch 2.4.1+cu121 - Datasets 3.0.1 - Tokenizers 0.20.0