samhitmantrala
commited on
Commit
•
e632fdf
1
Parent(s):
5119c2d
End of training
Browse files- README.md +106 -0
- config.json +46 -0
- generation_config.json +6 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/Mar30_11-19-59_87fd3b9d5476/events.out.tfevents.1711797604.87fd3b9d5476.1560.2 +3 -0
- runs/Mar30_11-32-10_87fd3b9d5476/events.out.tfevents.1711798331.87fd3b9d5476.1560.3 +3 -0
- runs/Mar30_11-32-33_87fd3b9d5476/events.out.tfevents.1711798353.87fd3b9d5476.1560.4 +3 -0
- runs/Mar30_11-32-33_87fd3b9d5476/events.out.tfevents.1711799900.87fd3b9d5476.1560.5 +3 -0
- special_tokens_map.json +6 -0
- tokenizer.json +0 -0
- tokenizer_config.json +20 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert/distilgpt2
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: ckt1
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# ckt1
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [distilbert/distilgpt2](https://huggingface.co/distilbert/distilgpt2) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.9517
|
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 |
+
- learning_rate: 2e-05
|
38 |
+
- train_batch_size: 32
|
39 |
+
- eval_batch_size: 32
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 50
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
49 |
+
| No log | 1.0 | 1 | 1.9943 |
|
50 |
+
| No log | 2.0 | 2 | 1.9329 |
|
51 |
+
| No log | 3.0 | 3 | 1.8768 |
|
52 |
+
| No log | 4.0 | 4 | 1.8236 |
|
53 |
+
| No log | 5.0 | 5 | 1.7748 |
|
54 |
+
| No log | 6.0 | 6 | 1.7300 |
|
55 |
+
| No log | 7.0 | 7 | 1.6890 |
|
56 |
+
| No log | 8.0 | 8 | 1.6514 |
|
57 |
+
| No log | 9.0 | 9 | 1.6152 |
|
58 |
+
| No log | 10.0 | 10 | 1.5820 |
|
59 |
+
| No log | 11.0 | 11 | 1.5501 |
|
60 |
+
| No log | 12.0 | 12 | 1.5189 |
|
61 |
+
| No log | 13.0 | 13 | 1.4888 |
|
62 |
+
| No log | 14.0 | 14 | 1.4590 |
|
63 |
+
| No log | 15.0 | 15 | 1.4322 |
|
64 |
+
| No log | 16.0 | 16 | 1.4058 |
|
65 |
+
| No log | 17.0 | 17 | 1.3810 |
|
66 |
+
| No log | 18.0 | 18 | 1.3556 |
|
67 |
+
| No log | 19.0 | 19 | 1.3308 |
|
68 |
+
| No log | 20.0 | 20 | 1.3066 |
|
69 |
+
| No log | 21.0 | 21 | 1.2823 |
|
70 |
+
| No log | 22.0 | 22 | 1.2586 |
|
71 |
+
| No log | 23.0 | 23 | 1.2353 |
|
72 |
+
| No log | 24.0 | 24 | 1.2135 |
|
73 |
+
| No log | 25.0 | 25 | 1.1919 |
|
74 |
+
| No log | 26.0 | 26 | 1.1719 |
|
75 |
+
| No log | 27.0 | 27 | 1.1529 |
|
76 |
+
| No log | 28.0 | 28 | 1.1349 |
|
77 |
+
| No log | 29.0 | 29 | 1.1180 |
|
78 |
+
| No log | 30.0 | 30 | 1.1012 |
|
79 |
+
| No log | 31.0 | 31 | 1.0854 |
|
80 |
+
| No log | 32.0 | 32 | 1.0700 |
|
81 |
+
| No log | 33.0 | 33 | 1.0561 |
|
82 |
+
| No log | 34.0 | 34 | 1.0429 |
|
83 |
+
| No log | 35.0 | 35 | 1.0313 |
|
84 |
+
| No log | 36.0 | 36 | 1.0208 |
|
85 |
+
| No log | 37.0 | 37 | 1.0112 |
|
86 |
+
| No log | 38.0 | 38 | 1.0024 |
|
87 |
+
| No log | 39.0 | 39 | 0.9942 |
|
88 |
+
| No log | 40.0 | 40 | 0.9869 |
|
89 |
+
| No log | 41.0 | 41 | 0.9804 |
|
90 |
+
| No log | 42.0 | 42 | 0.9745 |
|
91 |
+
| No log | 43.0 | 43 | 0.9694 |
|
92 |
+
| No log | 44.0 | 44 | 0.9649 |
|
93 |
+
| No log | 45.0 | 45 | 0.9611 |
|
94 |
+
| No log | 46.0 | 46 | 0.9580 |
|
95 |
+
| No log | 47.0 | 47 | 0.9555 |
|
96 |
+
| No log | 48.0 | 48 | 0.9536 |
|
97 |
+
| No log | 49.0 | 49 | 0.9523 |
|
98 |
+
| No log | 50.0 | 50 | 0.9517 |
|
99 |
+
|
100 |
+
|
101 |
+
### Framework versions
|
102 |
+
|
103 |
+
- Transformers 4.38.2
|
104 |
+
- Pytorch 2.2.1+cu121
|
105 |
+
- Datasets 2.18.0
|
106 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert/distilgpt2",
|
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 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.38.2",
|
44 |
+
"use_cache": true,
|
45 |
+
"vocab_size": 50257
|
46 |
+
}
|
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.38.2"
|
6 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ea97dc45ccfc03bb1671029e8c0806c21f56ca21fecb9a8aa3f181873427880
|
3 |
+
size 327657928
|
runs/Mar30_11-19-59_87fd3b9d5476/events.out.tfevents.1711797604.87fd3b9d5476.1560.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0c78c8ddac84792768c706225715471ea0a8e87bb620b4c98bad0c362f1e150
|
3 |
+
size 15519
|
runs/Mar30_11-32-10_87fd3b9d5476/events.out.tfevents.1711798331.87fd3b9d5476.1560.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0fe2facb9735893ec6b82f9ea1c69ef1979abba2038307a6fafab997ef24ec7
|
3 |
+
size 4879
|
runs/Mar30_11-32-33_87fd3b9d5476/events.out.tfevents.1711798353.87fd3b9d5476.1560.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:837fd8a122be14c0c64d2f479262f59a14d1e5fb56b7e3939ccb3891bd5d7d59
|
3 |
+
size 18525
|
runs/Mar30_11-32-33_87fd3b9d5476/events.out.tfevents.1711799900.87fd3b9d5476.1560.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d8f3ae3da8d2be11dffe3c3b05fe623b2e95bf360727ccfa8c6476178c90514
|
3 |
+
size 354
|
special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<|endoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>",
|
4 |
+
"pad_token": "<|endoftext|>",
|
5 |
+
"unk_token": "<|endoftext|>"
|
6 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"50256": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
}
|
12 |
+
},
|
13 |
+
"bos_token": "<|endoftext|>",
|
14 |
+
"clean_up_tokenization_spaces": true,
|
15 |
+
"eos_token": "<|endoftext|>",
|
16 |
+
"model_max_length": 1024,
|
17 |
+
"pad_token": "<|endoftext|>",
|
18 |
+
"tokenizer_class": "GPT2Tokenizer",
|
19 |
+
"unk_token": "<|endoftext|>"
|
20 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:995baba8440d43f53b3a5a044d52fe42e6576152ef509c0ea70d23dc9fe47b88
|
3 |
+
size 4856
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|