Model save
Browse files
README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model: gpt2
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
model-index:
|
| 9 |
+
- name: stage2Only_scaffoldGPT_new
|
| 10 |
+
results: []
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
+
|
| 16 |
+
# stage2Only_scaffoldGPT_new
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the None dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.3643
|
| 21 |
+
- Accuracy: 0.8806
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 5e-05
|
| 41 |
+
- train_batch_size: 24
|
| 42 |
+
- eval_batch_size: 24
|
| 43 |
+
- seed: 42
|
| 44 |
+
- distributed_type: multi-GPU
|
| 45 |
+
- num_devices: 8
|
| 46 |
+
- total_train_batch_size: 192
|
| 47 |
+
- total_eval_batch_size: 192
|
| 48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 49 |
+
- lr_scheduler_type: linear
|
| 50 |
+
- num_epochs: 20.0
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
+
|:-------------:|:-----:|:------:|:---------------:|:--------:|
|
| 56 |
+
| 0.4661 | 1.0 | 6015 | 0.4390 | 0.8615 |
|
| 57 |
+
| 0.4302 | 2.0 | 12030 | 0.4107 | 0.8688 |
|
| 58 |
+
| 0.4145 | 3.0 | 18045 | 0.3979 | 0.8721 |
|
| 59 |
+
| 0.405 | 4.0 | 24060 | 0.3902 | 0.8740 |
|
| 60 |
+
| 0.3985 | 5.0 | 30075 | 0.3850 | 0.8753 |
|
| 61 |
+
| 0.3934 | 6.0 | 36090 | 0.3808 | 0.8764 |
|
| 62 |
+
| 0.3896 | 7.0 | 42105 | 0.3778 | 0.8772 |
|
| 63 |
+
| 0.3864 | 8.0 | 48120 | 0.3752 | 0.8778 |
|
| 64 |
+
| 0.3839 | 9.0 | 54135 | 0.3731 | 0.8784 |
|
| 65 |
+
| 0.3817 | 10.0 | 60150 | 0.3714 | 0.8788 |
|
| 66 |
+
| 0.3799 | 11.0 | 66165 | 0.3700 | 0.8792 |
|
| 67 |
+
| 0.3784 | 12.0 | 72180 | 0.3687 | 0.8795 |
|
| 68 |
+
| 0.3771 | 13.0 | 78195 | 0.3677 | 0.8798 |
|
| 69 |
+
| 0.376 | 14.0 | 84210 | 0.3668 | 0.8800 |
|
| 70 |
+
| 0.3751 | 15.0 | 90225 | 0.3661 | 0.8802 |
|
| 71 |
+
| 0.3743 | 16.0 | 96240 | 0.3655 | 0.8803 |
|
| 72 |
+
| 0.3737 | 17.0 | 102255 | 0.3650 | 0.8804 |
|
| 73 |
+
| 0.3732 | 18.0 | 108270 | 0.3646 | 0.8805 |
|
| 74 |
+
| 0.3729 | 19.0 | 114285 | 0.3644 | 0.8806 |
|
| 75 |
+
| 0.3726 | 20.0 | 120300 | 0.3643 | 0.8806 |
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
### Framework versions
|
| 79 |
+
|
| 80 |
+
- Transformers 4.36.0.dev0
|
| 81 |
+
- Pytorch 2.1.1+cu121
|
| 82 |
+
- Datasets 2.15.0
|
| 83 |
+
- Tokenizers 0.15.0
|
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 50256,
|
| 4 |
+
"eos_token_id": 50256,
|
| 5 |
+
"transformers_version": "4.36.0.dev0"
|
| 6 |
+
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 652163920
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f650bb70c3d6e967a10e49ad396a3513ba76ac39af6ec408bb1d9944f3ad9bd3
|
| 3 |
size 652163920
|
runs/Jul31_15-51-57_rbdgx1/events.out.tfevents.1722459155.rbdgx1.2931468.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3cce25b57e3f5e4ba09a85dd14cb535508630a637d4cb594a9e3c089ec4ec2a0
|
| 3 |
+
size 49791
|