--- library_name: transformers license: apache-2.0 base_model: Salesforce/codet5-small tags: - generated_from_trainer model-index: - name: code-assistant-py-java2 results: [] --- # code-assistant-py-java2 This model is a fine-tuned version of [Salesforce/codet5-small](https://huggingface.co/Salesforce/codet5-small) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.2914 ## 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: 5e-05 - train_batch_size: 8 - eval_batch_size: 8 - seed: 42 - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments - lr_scheduler_type: linear - num_epochs: 15 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:----:|:---------------:| | 0.9758 | 1.0 | 41 | 0.6294 | | 0.5964 | 2.0 | 82 | 0.4193 | | 0.4172 | 3.0 | 123 | 0.3718 | | 0.4899 | 4.0 | 164 | 0.3431 | | 0.3984 | 5.0 | 205 | 0.3274 | | 0.2469 | 6.0 | 246 | 0.3141 | | 0.2722 | 7.0 | 287 | 0.3135 | | 0.3021 | 8.0 | 328 | 0.3052 | | 0.203 | 9.0 | 369 | 0.3035 | | 0.1948 | 10.0 | 410 | 0.3049 | | 0.1843 | 11.0 | 451 | 0.2965 | | 0.1489 | 12.0 | 492 | 0.2889 | | 0.1279 | 13.0 | 533 | 0.2921 | | 0.1923 | 14.0 | 574 | 0.2919 | | 0.1829 | 15.0 | 615 | 0.2914 | ### Framework versions - Transformers 4.57.3 - Pytorch 2.9.0+cu126 - Datasets 4.4.1 - Tokenizers 0.22.1