SmolLM2-135M-finetuned-python-purpose

This model is a fine-tuned version of HuggingFaceTB/SmolLM2-135M on 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
Downloads last month
148
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for JstnMcBrd/SmolLM2-135M-finetuned-python-purpose

Finetuned
(797)
this model

Dataset used to train JstnMcBrd/SmolLM2-135M-finetuned-python-purpose

Evaluation results