--- library_name: transformers license: apache-2.0 base_model: HuggingFaceTB/SmolLM2-135M tags: - generated_from_trainer model-index: - name: SmolLM2-135M-finetuned-python-purpose results: [] datasets: - flytech/python-codes-25k language: - en --- # SmolLM2-135M-finetuned-python-purpose This model is a fine-tuned version of [HuggingFaceTB/SmolLM2-135M](https://huggingface.co/HuggingFaceTB/SmolLM2-135M) on [flytech/python-codes-25k](https://huggingface.co/flytech/python-codes-25k). It achieves the following results on the evaluation set: - Loss: 0.3285 ## 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.0003 - train_batch_size: 12 - eval_batch_size: 12 - seed: 42 - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments - lr_scheduler_type: linear - num_epochs: 5 ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:-----:|:---------------:| | 0.7266 | 1.0 | 2745 | 0.6829 | | 0.4378 | 2.0 | 5490 | 0.5090 | | 0.2008 | 3.0 | 8235 | 0.3869 | | 0.071 | 4.0 | 10980 | 0.3293 | | 0.0145 | 5.0 | 13725 | 0.3285 | ### Framework versions - Transformers 4.57.1 - Pytorch 2.4.1+cu121 - Datasets 4.4.1 - Tokenizers 0.22.1