bigmorning
commited on
Commit
•
9b33e31
1
Parent(s):
2358c57
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_new_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_new_0060
|
13 |
+
|
14 |
+
This model was trained from scratch on an unknown dataset.
|
15 |
+
It achieves the following results on the evaluation set:
|
16 |
+
- Train Loss: 2.8691
|
17 |
+
- Validation Loss: 2.7610
|
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 |
+
| 5.6632 | 4.5153 | 0 |
|
45 |
+
| 4.4292 | 4.0923 | 1 |
|
46 |
+
| 4.1169 | 3.8723 | 2 |
|
47 |
+
| 3.9326 | 3.7260 | 3 |
|
48 |
+
| 3.8026 | 3.6281 | 4 |
|
49 |
+
| 3.7045 | 3.5355 | 5 |
|
50 |
+
| 3.6254 | 3.4645 | 6 |
|
51 |
+
| 3.5604 | 3.4093 | 7 |
|
52 |
+
| 3.5048 | 3.3587 | 8 |
|
53 |
+
| 3.4569 | 3.3136 | 9 |
|
54 |
+
| 3.4155 | 3.2778 | 10 |
|
55 |
+
| 3.3791 | 3.2443 | 11 |
|
56 |
+
| 3.3470 | 3.2157 | 12 |
|
57 |
+
| 3.3183 | 3.1854 | 13 |
|
58 |
+
| 3.2922 | 3.1642 | 14 |
|
59 |
+
| 3.2685 | 3.1400 | 15 |
|
60 |
+
| 3.2467 | 3.1193 | 16 |
|
61 |
+
| 3.2267 | 3.1009 | 17 |
|
62 |
+
| 3.2078 | 3.0838 | 18 |
|
63 |
+
| 3.1904 | 3.0689 | 19 |
|
64 |
+
| 3.1739 | 3.0520 | 20 |
|
65 |
+
| 3.1584 | 3.0379 | 21 |
|
66 |
+
| 3.1438 | 3.0255 | 22 |
|
67 |
+
| 3.1300 | 3.0116 | 23 |
|
68 |
+
| 3.1168 | 2.9965 | 24 |
|
69 |
+
| 3.1044 | 2.9866 | 25 |
|
70 |
+
| 3.0925 | 2.9752 | 26 |
|
71 |
+
| 3.0812 | 2.9631 | 27 |
|
72 |
+
| 3.0704 | 2.9539 | 28 |
|
73 |
+
| 3.0601 | 2.9458 | 29 |
|
74 |
+
| 3.0502 | 2.9340 | 30 |
|
75 |
+
| 3.0408 | 2.9251 | 31 |
|
76 |
+
| 3.0317 | 2.9179 | 32 |
|
77 |
+
| 3.0230 | 2.9082 | 33 |
|
78 |
+
| 3.0147 | 2.9002 | 34 |
|
79 |
+
| 3.0065 | 2.8948 | 35 |
|
80 |
+
| 2.9987 | 2.8855 | 36 |
|
81 |
+
| 2.9911 | 2.8779 | 37 |
|
82 |
+
| 2.9838 | 2.8706 | 38 |
|
83 |
+
| 2.9767 | 2.8643 | 39 |
|
84 |
+
| 2.9698 | 2.8570 | 40 |
|
85 |
+
| 2.9632 | 2.8501 | 41 |
|
86 |
+
| 2.9567 | 2.8441 | 42 |
|
87 |
+
| 2.9505 | 2.8385 | 43 |
|
88 |
+
| 2.9445 | 2.8327 | 44 |
|
89 |
+
| 2.9385 | 2.8260 | 45 |
|
90 |
+
| 2.9329 | 2.8213 | 46 |
|
91 |
+
| 2.9272 | 2.8160 | 47 |
|
92 |
+
| 2.9217 | 2.8107 | 48 |
|
93 |
+
| 2.9162 | 2.8052 | 49 |
|
94 |
+
| 2.9110 | 2.8020 | 50 |
|
95 |
+
| 2.9060 | 2.7938 | 51 |
|
96 |
+
| 2.9010 | 2.7896 | 52 |
|
97 |
+
| 2.8962 | 2.7857 | 53 |
|
98 |
+
| 2.8913 | 2.7827 | 54 |
|
99 |
+
| 2.8866 | 2.7768 | 55 |
|
100 |
+
| 2.8821 | 2.7724 | 56 |
|
101 |
+
| 2.8776 | 2.7679 | 57 |
|
102 |
+
| 2.8733 | 2.7642 | 58 |
|
103 |
+
| 2.8691 | 2.7610 | 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/backup_009494",
|
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:8e85e1cbf412d87aa058950d18239f0033df1f4838da52e1818e638d23bbbef3
|
3 |
+
size 258364376
|