| | --- |
| | license: apache-2.0 |
| | tags: |
| | - generated_from_trainer |
| | metrics: |
| | - rouge |
| | model-index: |
| | - name: t5-small-codesearchnet-python3 |
| | results: [] |
| | --- |
| | |
| | <!-- This model card has been generated automatically according to the information the Trainer had access to. You |
| | should probably proofread and complete it, then remove this comment. --> |
| |
|
| | # t5-small-codesearchnet-python3 |
| |
|
| | This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on an unknown dataset. |
| | It achieves the following results on the evaluation set: |
| | - Loss: 0.1308 |
| | - Rouge1: 0.0046 |
| | - Rouge2: 0.0044 |
| | - Avg Length: 0.317 |
| |
|
| | ## 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: 16 |
| | - eval_batch_size: 16 |
| | - seed: 42 |
| | - gradient_accumulation_steps: 16 |
| | - total_train_batch_size: 256 |
| | - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 |
| | - lr_scheduler_type: linear |
| | - num_epochs: 5 |
| | |
| | ### Training results |
| | |
| | | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Avg Length | |
| | |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:----------:| |
| | | No log | 1.0 | 39 | 8.0395 | 0.1733 | 0.0997 | 18.4264 | |
| | | No log | 2.0 | 78 | 0.3933 | 0.0 | 0.0 | 0.0004 | |
| | | No log | 3.0 | 117 | 0.2376 | 0.0 | 0.0 | 0.0 | |
| | | No log | 3.99 | 156 | 0.1693 | 0.0 | 0.0 | 0.0 | |
| | | No log | 4.99 | 195 | 0.1308 | 0.0046 | 0.0044 | 0.317 | |
| | |
| | |
| | ### Framework versions |
| | |
| | - Transformers 4.28.1 |
| | - Pytorch 2.0.0+cu118 |
| | - Datasets 2.12.0 |
| | - Tokenizers 0.13.3 |
| | |