Commit
•
5236a82
1
Parent(s):
667644e
add model
Browse files- README.md +111 -0
- config.json +45 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_keras_callback
|
4 |
+
model-index:
|
5 |
+
- name: distilgpt_new2_0060
|
6 |
+
results: []
|
7 |
+
---
|
8 |
+
|
9 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
10 |
+
probably proofread and complete it, then remove this comment. -->
|
11 |
+
|
12 |
+
# distilgpt_new2_0060
|
13 |
+
|
14 |
+
This model is a fine-tuned version of [/content/drive/MyDrive/Colab Notebooks/oscar/trybackup/new_backup_008585](https://huggingface.co//content/drive/MyDrive/Colab Notebooks/oscar/trybackup/new_backup_008585) on an unknown dataset.
|
15 |
+
It achieves the following results on the evaluation set:
|
16 |
+
- Train Loss: 2.6610
|
17 |
+
- Validation Loss: 2.5503
|
18 |
+
- Epoch: 59
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 2e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}
|
38 |
+
- training_precision: float32
|
39 |
+
|
40 |
+
### Training results
|
41 |
+
|
42 |
+
| Train Loss | Validation Loss | Epoch |
|
43 |
+
|:----------:|:---------------:|:-----:|
|
44 |
+
| 2.7786 | 2.6701 | 0 |
|
45 |
+
| 2.7759 | 2.6662 | 1 |
|
46 |
+
| 2.7730 | 2.6642 | 2 |
|
47 |
+
| 2.7704 | 2.6602 | 3 |
|
48 |
+
| 2.7679 | 2.6590 | 4 |
|
49 |
+
| 2.7654 | 2.6565 | 5 |
|
50 |
+
| 2.7629 | 2.6538 | 6 |
|
51 |
+
| 2.7604 | 2.6525 | 7 |
|
52 |
+
| 2.7579 | 2.6489 | 8 |
|
53 |
+
| 2.7556 | 2.6452 | 9 |
|
54 |
+
| 2.7531 | 2.6454 | 10 |
|
55 |
+
| 2.7505 | 2.6411 | 11 |
|
56 |
+
| 2.7483 | 2.6387 | 12 |
|
57 |
+
| 2.7458 | 2.6370 | 13 |
|
58 |
+
| 2.7435 | 2.6365 | 14 |
|
59 |
+
| 2.7412 | 2.6308 | 15 |
|
60 |
+
| 2.7391 | 2.6289 | 16 |
|
61 |
+
| 2.7368 | 2.6288 | 17 |
|
62 |
+
| 2.7347 | 2.6257 | 18 |
|
63 |
+
| 2.7325 | 2.6238 | 19 |
|
64 |
+
| 2.7303 | 2.6228 | 20 |
|
65 |
+
| 2.7282 | 2.6189 | 21 |
|
66 |
+
| 2.7262 | 2.6170 | 22 |
|
67 |
+
| 2.7240 | 2.6145 | 23 |
|
68 |
+
| 2.7221 | 2.6137 | 24 |
|
69 |
+
| 2.7201 | 2.6108 | 25 |
|
70 |
+
| 2.7181 | 2.6082 | 26 |
|
71 |
+
| 2.7161 | 2.6057 | 27 |
|
72 |
+
| 2.7141 | 2.6039 | 28 |
|
73 |
+
| 2.7122 | 2.6031 | 29 |
|
74 |
+
| 2.7103 | 2.6018 | 30 |
|
75 |
+
| 2.7083 | 2.5984 | 31 |
|
76 |
+
| 2.7064 | 2.5975 | 32 |
|
77 |
+
| 2.7045 | 2.5941 | 33 |
|
78 |
+
| 2.7026 | 2.5945 | 34 |
|
79 |
+
| 2.7008 | 2.5930 | 35 |
|
80 |
+
| 2.6989 | 2.5874 | 36 |
|
81 |
+
| 2.6972 | 2.5864 | 37 |
|
82 |
+
| 2.6953 | 2.5858 | 38 |
|
83 |
+
| 2.6935 | 2.5831 | 39 |
|
84 |
+
| 2.6917 | 2.5809 | 40 |
|
85 |
+
| 2.6900 | 2.5791 | 41 |
|
86 |
+
| 2.6881 | 2.5780 | 42 |
|
87 |
+
| 2.6865 | 2.5765 | 43 |
|
88 |
+
| 2.6848 | 2.5761 | 44 |
|
89 |
+
| 2.6832 | 2.5720 | 45 |
|
90 |
+
| 2.6814 | 2.5709 | 46 |
|
91 |
+
| 2.6797 | 2.5689 | 47 |
|
92 |
+
| 2.6782 | 2.5692 | 48 |
|
93 |
+
| 2.6766 | 2.5672 | 49 |
|
94 |
+
| 2.6750 | 2.5646 | 50 |
|
95 |
+
| 2.6733 | 2.5635 | 51 |
|
96 |
+
| 2.6719 | 2.5623 | 52 |
|
97 |
+
| 2.6701 | 2.5594 | 53 |
|
98 |
+
| 2.6684 | 2.5586 | 54 |
|
99 |
+
| 2.6670 | 2.5584 | 55 |
|
100 |
+
| 2.6655 | 2.5556 | 56 |
|
101 |
+
| 2.6640 | 2.5542 | 57 |
|
102 |
+
| 2.6626 | 2.5521 | 58 |
|
103 |
+
| 2.6610 | 2.5503 | 59 |
|
104 |
+
|
105 |
+
|
106 |
+
### Framework versions
|
107 |
+
|
108 |
+
- Transformers 4.20.1
|
109 |
+
- TensorFlow 2.8.2
|
110 |
+
- Datasets 2.3.2
|
111 |
+
- Tokenizers 0.12.1
|
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/content/drive/MyDrive/Colab Notebooks/oscar/trybackup/new_backup_008585",
|
3 |
+
"_num_labels": 1,
|
4 |
+
"activation_function": "gelu_new",
|
5 |
+
"architectures": [
|
6 |
+
"GPT2LMHeadModel"
|
7 |
+
],
|
8 |
+
"attn_pdrop": 0.1,
|
9 |
+
"bos_token_id": 50256,
|
10 |
+
"embd_pdrop": 0.1,
|
11 |
+
"eos_token_id": 50256,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0"
|
14 |
+
},
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"label2id": {
|
17 |
+
"LABEL_0": 0
|
18 |
+
},
|
19 |
+
"layer_norm_epsilon": 1e-05,
|
20 |
+
"model_type": "gpt2",
|
21 |
+
"n_ctx": 1024,
|
22 |
+
"n_embd": 768,
|
23 |
+
"n_head": 12,
|
24 |
+
"n_inner": null,
|
25 |
+
"n_layer": 6,
|
26 |
+
"n_positions": 1024,
|
27 |
+
"reorder_and_upcast_attn": false,
|
28 |
+
"resid_pdrop": 0.1,
|
29 |
+
"scale_attn_by_inverse_layer_idx": false,
|
30 |
+
"scale_attn_weights": true,
|
31 |
+
"summary_activation": null,
|
32 |
+
"summary_first_dropout": 0.1,
|
33 |
+
"summary_proj_to_labels": true,
|
34 |
+
"summary_type": "cls_index",
|
35 |
+
"summary_use_proj": true,
|
36 |
+
"task_specific_params": {
|
37 |
+
"text-generation": {
|
38 |
+
"do_sample": true,
|
39 |
+
"max_length": 50
|
40 |
+
}
|
41 |
+
},
|
42 |
+
"transformers_version": "4.20.1",
|
43 |
+
"use_cache": true,
|
44 |
+
"vocab_size": 27672
|
45 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4edbbca9708770b376aa81a993e7c271c10b81961463a6a68248350c33a91bf6
|
3 |
+
size 258364376
|