JensKrijgsman
commited on
Commit
•
e66d0b0
1
Parent(s):
0c3687e
End of training
Browse files- README.md +59 -0
- config.json +46 -0
- generation_config.json +6 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/May05_13-47-22_033ea2c12d5b/events.out.tfevents.1714916842.033ea2c12d5b.376.0 +3 -0
- runs/May05_13-47-22_033ea2c12d5b/events.out.tfevents.1714917333.033ea2c12d5b.376.1 +3 -0
- runs/May05_14-20-38_033ea2c12d5b/events.out.tfevents.1714918941.033ea2c12d5b.376.2 +3 -0
- runs/May05_14-22-46_033ea2c12d5b/events.out.tfevents.1714918972.033ea2c12d5b.376.3 +3 -0
- runs/May05_14-22-46_033ea2c12d5b/events.out.tfevents.1714918991.033ea2c12d5b.376.4 +3 -0
- runs/May05_14-22-46_033ea2c12d5b/events.out.tfevents.1714919022.033ea2c12d5b.376.5 +3 -0
- runs/May05_15-21-19_033ea2c12d5b/events.out.tfevents.1714922494.033ea2c12d5b.376.6 +3 -0
- runs/May05_15-21-19_033ea2c12d5b/events.out.tfevents.1714922505.033ea2c12d5b.376.7 +3 -0
- runs/May05_15-21-19_033ea2c12d5b/events.out.tfevents.1714922538.033ea2c12d5b.376.8 +3 -0
- runs/May05_15-21-19_033ea2c12d5b/events.out.tfevents.1714922610.033ea2c12d5b.376.9 +3 -0
- runs/May05_15-21-19_033ea2c12d5b/events.out.tfevents.1714922649.033ea2c12d5b.376.10 +3 -0
- runs/May05_16-07-58_033ea2c12d5b/events.out.tfevents.1714925279.033ea2c12d5b.376.11 +3 -0
- runs/May05_16-48-08_033ea2c12d5b/events.out.tfevents.1714927689.033ea2c12d5b.44629.0 +3 -0
- runs/May05_16-48-08_033ea2c12d5b/events.out.tfevents.1714928271.033ea2c12d5b.44629.1 +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,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilgpt2
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: distilgpt2-finetuned-prompts
|
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 |
+
# distilgpt2-finetuned-prompts
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 4.6516
|
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: 8
|
39 |
+
- eval_batch_size: 8
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 3.0
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
49 |
+
| No log | 1.0 | 13 | 4.9266 |
|
50 |
+
| No log | 2.0 | 26 | 4.7161 |
|
51 |
+
| No log | 3.0 | 39 | 4.6516 |
|
52 |
+
|
53 |
+
|
54 |
+
### Framework versions
|
55 |
+
|
56 |
+
- Transformers 4.40.1
|
57 |
+
- Pytorch 2.2.1+cu121
|
58 |
+
- Datasets 2.19.0
|
59 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "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.40.1",
|
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.40.1"
|
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:7f816bd2302e52cfcfce9d2ffc42ae60e1a3d7c651383106e1dc183748ca06d1
|
3 |
+
size 327657928
|
runs/May05_13-47-22_033ea2c12d5b/events.out.tfevents.1714916842.033ea2c12d5b.376.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:866109149b429b5dcbb99318cdd189d68dbdad6843d4c78c86003c91cf940b2d
|
3 |
+
size 6192
|
runs/May05_13-47-22_033ea2c12d5b/events.out.tfevents.1714917333.033ea2c12d5b.376.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c2f5004e4c4f55b4596d311ccc9f829ff54836238b31d78d9c66965409c2bf4c
|
3 |
+
size 354
|
runs/May05_14-20-38_033ea2c12d5b/events.out.tfevents.1714918941.033ea2c12d5b.376.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ebca7e0113699499b8307e7280397b28f5605f2876fb312c97445984b2c06966
|
3 |
+
size 5046
|
runs/May05_14-22-46_033ea2c12d5b/events.out.tfevents.1714918972.033ea2c12d5b.376.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f59d2ae4a1b2585beeadde8c1d2c5cd2c4c859fec1cb6ab257487678a4aa244d
|
3 |
+
size 5046
|
runs/May05_14-22-46_033ea2c12d5b/events.out.tfevents.1714918991.033ea2c12d5b.376.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55b86fe5f16be7253e0d8e06ff77f0c2528eabb9829641e67fb89e67649ddd49
|
3 |
+
size 10004
|
runs/May05_14-22-46_033ea2c12d5b/events.out.tfevents.1714919022.033ea2c12d5b.376.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f512202abd31124c8cfba832a051695d92d53a91c6aa6907ceb6da6397f40103
|
3 |
+
size 5046
|
runs/May05_15-21-19_033ea2c12d5b/events.out.tfevents.1714922494.033ea2c12d5b.376.6
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03684ecc165fbb5017034d4a6547b09f957689f9853a9978b97c9aa70c0fd56c
|
3 |
+
size 5046
|
runs/May05_15-21-19_033ea2c12d5b/events.out.tfevents.1714922505.033ea2c12d5b.376.7
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d641024d26d5438370f5c8582c7158924db8f583e9f78da0aef3c034045389b8
|
3 |
+
size 5046
|
runs/May05_15-21-19_033ea2c12d5b/events.out.tfevents.1714922538.033ea2c12d5b.376.8
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4642623552e551fb5cacf6c0dc1398e07a63376b3ad448f903663d833f6ce05b
|
3 |
+
size 5046
|
runs/May05_15-21-19_033ea2c12d5b/events.out.tfevents.1714922610.033ea2c12d5b.376.9
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ebaecba8a4895c3517185c5ce8a2bfc236548f5b74b3a493c9872710466bf06
|
3 |
+
size 5046
|
runs/May05_15-21-19_033ea2c12d5b/events.out.tfevents.1714922649.033ea2c12d5b.376.10
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27a9ac18094b10ad18f925015adce84b25d33aa04ffdfa5daa7061695b4623d5
|
3 |
+
size 5046
|
runs/May05_16-07-58_033ea2c12d5b/events.out.tfevents.1714925279.033ea2c12d5b.376.11
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:316106230144e3810ab69015e6d968df7790b7bdbc9863ea0f73647072176634
|
3 |
+
size 5046
|
runs/May05_16-48-08_033ea2c12d5b/events.out.tfevents.1714927689.033ea2c12d5b.44629.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:145105f3051d1e971a6d9be1408cfab7ae5ee93711d2655653389db0d741205d
|
3 |
+
size 6192
|
runs/May05_16-48-08_033ea2c12d5b/events.out.tfevents.1714928271.033ea2c12d5b.44629.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:171c6f96e2ee444a0eb9d28afd82901f93965195ff07ad75560ca3a3aa43e025
|
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:1ddda7451cbac1043a2791683993a9de67b9cbe5e8801b782bee4a05122ce0a4
|
3 |
+
size 4984
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|