bigmorning
commited on
Commit
•
3f554f8
1
Parent(s):
8b83ab4
add model
Browse files- README.md +91 -0
- config.json +45 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_keras_callback
|
4 |
+
model-index:
|
5 |
+
- name: distilgpt_new5_0040
|
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_new5_0040
|
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.4633
|
17 |
+
- Validation Loss: 2.3432
|
18 |
+
- Epoch: 39
|
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.4839 | 2.3639 | 0 |
|
45 |
+
| 2.4833 | 2.3630 | 1 |
|
46 |
+
| 2.4827 | 2.3620 | 2 |
|
47 |
+
| 2.4821 | 2.3632 | 3 |
|
48 |
+
| 2.4816 | 2.3617 | 4 |
|
49 |
+
| 2.4811 | 2.3614 | 5 |
|
50 |
+
| 2.4805 | 2.3613 | 6 |
|
51 |
+
| 2.4799 | 2.3613 | 7 |
|
52 |
+
| 2.4794 | 2.3600 | 8 |
|
53 |
+
| 2.4788 | 2.3589 | 9 |
|
54 |
+
| 2.4784 | 2.3582 | 10 |
|
55 |
+
| 2.4779 | 2.3563 | 11 |
|
56 |
+
| 2.4774 | 2.3579 | 12 |
|
57 |
+
| 2.4768 | 2.3563 | 13 |
|
58 |
+
| 2.4762 | 2.3561 | 14 |
|
59 |
+
| 2.4756 | 2.3554 | 15 |
|
60 |
+
| 2.4751 | 2.3539 | 16 |
|
61 |
+
| 2.4746 | 2.3550 | 17 |
|
62 |
+
| 2.4741 | 2.3534 | 18 |
|
63 |
+
| 2.4736 | 2.3530 | 19 |
|
64 |
+
| 2.4731 | 2.3522 | 20 |
|
65 |
+
| 2.4725 | 2.3522 | 21 |
|
66 |
+
| 2.4719 | 2.3525 | 22 |
|
67 |
+
| 2.4714 | 2.3519 | 23 |
|
68 |
+
| 2.4709 | 2.3505 | 24 |
|
69 |
+
| 2.4705 | 2.3489 | 25 |
|
70 |
+
| 2.4699 | 2.3488 | 26 |
|
71 |
+
| 2.4694 | 2.3498 | 27 |
|
72 |
+
| 2.4689 | 2.3472 | 28 |
|
73 |
+
| 2.4683 | 2.3476 | 29 |
|
74 |
+
| 2.4679 | 2.3477 | 30 |
|
75 |
+
| 2.4675 | 2.3468 | 31 |
|
76 |
+
| 2.4668 | 2.3454 | 32 |
|
77 |
+
| 2.4665 | 2.3455 | 33 |
|
78 |
+
| 2.4659 | 2.3456 | 34 |
|
79 |
+
| 2.4655 | 2.3436 | 35 |
|
80 |
+
| 2.4649 | 2.3433 | 36 |
|
81 |
+
| 2.4644 | 2.3437 | 37 |
|
82 |
+
| 2.4638 | 2.3428 | 38 |
|
83 |
+
| 2.4633 | 2.3432 | 39 |
|
84 |
+
|
85 |
+
|
86 |
+
### Framework versions
|
87 |
+
|
88 |
+
- Transformers 4.20.1
|
89 |
+
- TensorFlow 2.8.2
|
90 |
+
- Datasets 2.4.0
|
91 |
+
- Tokenizers 0.12.1
|
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/content/drive/MyDrive/Colab Notebooks/oscar/trybackup/new_backup4_00055",
|
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:cb34c09c5175236eb771f2ab998de61faef7b65ead7ea545bfb45bebecbe24bb
|
3 |
+
size 258364376
|