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/Apr01_16-37-18_fa415a7ef97a/events.out.tfevents.1711989439.fa415a7ef97a.16009.0 +3 -0
- runs/Apr01_16-39-44_fa415a7ef97a/events.out.tfevents.1711989585.fa415a7ef97a.16009.1 +3 -0
- runs/Apr01_16-41-36_fa415a7ef97a/events.out.tfevents.1711989697.fa415a7ef97a.16009.2 +3 -0
- runs/Apr01_17-33-33_fa415a7ef97a/events.out.tfevents.1711992814.fa415a7ef97a.16009.3 +3 -0
- special_tokens_map.json +5 -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: prft1
|
| 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 |
+
# prft1
|
| 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.0107
|
| 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 | 0.0498 |
|
| 50 |
+
| No log | 2.0 | 2 | 0.0476 |
|
| 51 |
+
| No log | 3.0 | 3 | 0.0462 |
|
| 52 |
+
| No log | 4.0 | 4 | 0.0447 |
|
| 53 |
+
| No log | 5.0 | 5 | 0.0433 |
|
| 54 |
+
| No log | 6.0 | 6 | 0.0417 |
|
| 55 |
+
| No log | 7.0 | 7 | 0.0402 |
|
| 56 |
+
| No log | 8.0 | 8 | 0.0386 |
|
| 57 |
+
| No log | 9.0 | 9 | 0.0372 |
|
| 58 |
+
| No log | 10.0 | 10 | 0.0358 |
|
| 59 |
+
| No log | 11.0 | 11 | 0.0345 |
|
| 60 |
+
| No log | 12.0 | 12 | 0.0332 |
|
| 61 |
+
| No log | 13.0 | 13 | 0.0319 |
|
| 62 |
+
| No log | 14.0 | 14 | 0.0306 |
|
| 63 |
+
| No log | 15.0 | 15 | 0.0293 |
|
| 64 |
+
| No log | 16.0 | 16 | 0.0281 |
|
| 65 |
+
| No log | 17.0 | 17 | 0.0269 |
|
| 66 |
+
| No log | 18.0 | 18 | 0.0258 |
|
| 67 |
+
| No log | 19.0 | 19 | 0.0247 |
|
| 68 |
+
| No log | 20.0 | 20 | 0.0238 |
|
| 69 |
+
| No log | 21.0 | 21 | 0.0228 |
|
| 70 |
+
| No log | 22.0 | 22 | 0.0219 |
|
| 71 |
+
| No log | 23.0 | 23 | 0.0210 |
|
| 72 |
+
| No log | 24.0 | 24 | 0.0202 |
|
| 73 |
+
| No log | 25.0 | 25 | 0.0194 |
|
| 74 |
+
| No log | 26.0 | 26 | 0.0187 |
|
| 75 |
+
| No log | 27.0 | 27 | 0.0179 |
|
| 76 |
+
| No log | 28.0 | 28 | 0.0172 |
|
| 77 |
+
| No log | 29.0 | 29 | 0.0166 |
|
| 78 |
+
| No log | 30.0 | 30 | 0.0160 |
|
| 79 |
+
| No log | 31.0 | 31 | 0.0154 |
|
| 80 |
+
| No log | 32.0 | 32 | 0.0149 |
|
| 81 |
+
| No log | 33.0 | 33 | 0.0144 |
|
| 82 |
+
| No log | 34.0 | 34 | 0.0140 |
|
| 83 |
+
| No log | 35.0 | 35 | 0.0136 |
|
| 84 |
+
| No log | 36.0 | 36 | 0.0132 |
|
| 85 |
+
| No log | 37.0 | 37 | 0.0128 |
|
| 86 |
+
| No log | 38.0 | 38 | 0.0125 |
|
| 87 |
+
| No log | 39.0 | 39 | 0.0122 |
|
| 88 |
+
| No log | 40.0 | 40 | 0.0120 |
|
| 89 |
+
| No log | 41.0 | 41 | 0.0117 |
|
| 90 |
+
| No log | 42.0 | 42 | 0.0115 |
|
| 91 |
+
| No log | 43.0 | 43 | 0.0113 |
|
| 92 |
+
| No log | 44.0 | 44 | 0.0111 |
|
| 93 |
+
| No log | 45.0 | 45 | 0.0110 |
|
| 94 |
+
| No log | 46.0 | 46 | 0.0109 |
|
| 95 |
+
| No log | 47.0 | 47 | 0.0108 |
|
| 96 |
+
| No log | 48.0 | 48 | 0.0107 |
|
| 97 |
+
| No log | 49.0 | 49 | 0.0107 |
|
| 98 |
+
| No log | 50.0 | 50 | 0.0107 |
|
| 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:a60a09d2ee043632d4810258ef66a0e5353c73092553e5e034049d4d63b547c5
|
| 3 |
+
size 327657928
|
runs/Apr01_16-37-18_fa415a7ef97a/events.out.tfevents.1711989439.fa415a7ef97a.16009.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33d0cdb8b8e66702b9d49828b64b8bd03a00c2b9dcfac7244571db8922780316
|
| 3 |
+
size 5414
|
runs/Apr01_16-39-44_fa415a7ef97a/events.out.tfevents.1711989585.fa415a7ef97a.16009.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8479cd136776eda16d5bd64e9c3130b08d9de966f0294b4a6bf3e260485edf72
|
| 3 |
+
size 6210
|
runs/Apr01_16-41-36_fa415a7ef97a/events.out.tfevents.1711989697.fa415a7ef97a.16009.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ee7ed818319c75b7f00c910ed5455a33e5797ac8101749d4cbf57890ac6e76b
|
| 3 |
+
size 18528
|
runs/Apr01_17-33-33_fa415a7ef97a/events.out.tfevents.1711992814.fa415a7ef97a.16009.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73861289607b10215e5250b0c10cef51be6439b911d7a83633ac5269563eb820
|
| 3 |
+
size 18528
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<|endoftext|>",
|
| 3 |
+
"eos_token": "<|endoftext|>",
|
| 4 |
+
"unk_token": "<|endoftext|>"
|
| 5 |
+
}
|
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_eos_token": true,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"50256": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": true,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"bos_token": "<|endoftext|>",
|
| 15 |
+
"clean_up_tokenization_spaces": true,
|
| 16 |
+
"eos_token": "<|endoftext|>",
|
| 17 |
+
"model_max_length": 1024,
|
| 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:806f220b512a6ab01a0a3cd84b9bb7b9e7dad836f5495d514e34918f0efdef42
|
| 3 |
+
size 4856
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|