| | --- |
| | license: mit |
| | base_model: microsoft/phi-2 |
| | tags: |
| | - generated_from_trainer |
| | model-index: |
| | - name: V0309P8 |
| | 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. --> |
| |
|
| | # V0309P8 |
| |
|
| | This model is a fine-tuned version of [microsoft/phi-2](https://huggingface.co/microsoft/phi-2) on an unknown dataset. |
| | It achieves the following results on the evaluation set: |
| | - Loss: 0.0688 |
| |
|
| | ## 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: 4 |
| | - eval_batch_size: 8 |
| | - seed: 42 |
| | - gradient_accumulation_steps: 32 |
| | - total_train_batch_size: 128 |
| | - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 |
| | - lr_scheduler_type: cosine_with_restarts |
| | - lr_scheduler_warmup_steps: 20 |
| | - num_epochs: 3 |
| | - mixed_precision_training: Native AMP |
| |
|
| | ### Training results |
| |
|
| | | Training Loss | Epoch | Step | Validation Loss | |
| | |:-------------:|:-----:|:----:|:---------------:| |
| | | 2.1598 | 0.09 | 10 | 1.0083 | |
| | | 0.4064 | 0.17 | 20 | 0.1257 | |
| | | 0.1215 | 0.26 | 30 | 0.0774 | |
| | | 0.1055 | 0.34 | 40 | 0.0736 | |
| | | 0.0962 | 0.43 | 50 | 0.0642 | |
| | | 0.0853 | 0.51 | 60 | 0.0657 | |
| | | 0.0804 | 0.6 | 70 | 0.0616 | |
| | | 0.0843 | 0.68 | 80 | 0.0628 | |
| | | 0.0729 | 0.77 | 90 | 0.0615 | |
| | | 0.0704 | 0.85 | 100 | 0.0609 | |
| | | 0.0761 | 0.94 | 110 | 0.0601 | |
| | | 0.0721 | 1.02 | 120 | 0.0648 | |
| | | 0.0697 | 1.11 | 130 | 0.0638 | |
| | | 0.0654 | 1.19 | 140 | 0.0620 | |
| | | 0.0618 | 1.28 | 150 | 0.0608 | |
| | | 0.0632 | 1.37 | 160 | 0.0648 | |
| | | 0.0627 | 1.45 | 170 | 0.0636 | |
| | | 0.0584 | 1.54 | 180 | 0.0622 | |
| | | 0.0621 | 1.62 | 190 | 0.0604 | |
| | | 0.0615 | 1.71 | 200 | 0.0625 | |
| | | 0.0625 | 1.79 | 210 | 0.0594 | |
| | | 0.0606 | 1.88 | 220 | 0.0651 | |
| | | 0.0556 | 1.96 | 230 | 0.0609 | |
| | | 0.0544 | 2.05 | 240 | 0.0641 | |
| | | 0.0462 | 2.13 | 250 | 0.0659 | |
| | | 0.0468 | 2.22 | 260 | 0.0695 | |
| | | 0.043 | 2.3 | 270 | 0.0711 | |
| | | 0.0523 | 2.39 | 280 | 0.0665 | |
| | | 0.051 | 2.47 | 290 | 0.0643 | |
| | | 0.0502 | 2.56 | 300 | 0.0647 | |
| | | 0.0509 | 2.65 | 310 | 0.0661 | |
| | | 0.0434 | 2.73 | 320 | 0.0677 | |
| | | 0.0452 | 2.82 | 330 | 0.0682 | |
| | | 0.0444 | 2.9 | 340 | 0.0686 | |
| | | 0.0477 | 2.99 | 350 | 0.0688 | |
| |
|
| |
|
| | ### Framework versions |
| |
|
| | - Transformers 4.36.0.dev0 |
| | - Pytorch 2.1.2+cu121 |
| | - Datasets 2.14.6 |
| | - Tokenizers 0.14.1 |
| |
|