contemmcm commited on
Commit
04fa562
·
verified ·
1 Parent(s): a681a74

End of training

Browse files
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert/distilgpt2
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: 65a3e1a2e304a0b2e1118431fd0a5f60
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # 65a3e1a2e304a0b2e1118431fd0a5f60
18
+
19
+ This model is a fine-tuned version of [distilbert/distilgpt2](https://huggingface.co/distilbert/distilgpt2) on the contemmcm/clickbait dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.0242
22
+ - Data Size: 1.0
23
+ - Epoch Runtime: 29.1527
24
+ - Accuracy: 0.9979
25
+ - F1 Macro: 0.9978
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 5e-05
45
+ - train_batch_size: 8
46
+ - eval_batch_size: 8
47
+ - seed: 42
48
+ - distributed_type: multi-GPU
49
+ - num_devices: 4
50
+ - total_train_batch_size: 32
51
+ - total_eval_batch_size: 32
52
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
53
+ - lr_scheduler_type: constant
54
+ - num_epochs: 50
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Data Size | Epoch Runtime | Accuracy | F1 Macro |
59
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:-------------:|:--------:|:--------:|
60
+ | No log | 0 | 0 | 5.0518 | 0 | 3.5783 | 0.3873 | 0.2797 |
61
+ | No log | 1 | 650 | 0.2177 | 0.0078 | 3.8926 | 0.9296 | 0.9264 |
62
+ | No log | 2 | 1300 | 0.0150 | 0.0156 | 3.9929 | 0.9967 | 0.9965 |
63
+ | No log | 3 | 1950 | 0.0046 | 0.0312 | 4.3827 | 0.9986 | 0.9986 |
64
+ | No log | 4 | 2600 | 0.0039 | 0.0625 | 5.0552 | 0.9988 | 0.9988 |
65
+ | 0.0064 | 5 | 3250 | 0.0032 | 0.125 | 6.7608 | 0.9990 | 0.9990 |
66
+ | 0.0034 | 6 | 3900 | 0.0124 | 0.25 | 9.9927 | 0.9983 | 0.9982 |
67
+ | 0.0002 | 7 | 4550 | 0.0107 | 0.5 | 15.8401 | 0.9985 | 0.9984 |
68
+ | 0.0012 | 8.0 | 5200 | 0.0041 | 1.0 | 29.0009 | 0.9992 | 0.9992 |
69
+ | 0.0 | 9.0 | 5850 | 0.0017 | 1.0 | 29.7472 | 0.9992 | 0.9992 |
70
+ | 0.0 | 10.0 | 6500 | 0.0047 | 1.0 | 28.6022 | 0.9994 | 0.9994 |
71
+ | 0.0 | 11.0 | 7150 | 0.0089 | 1.0 | 28.0580 | 0.9992 | 0.9992 |
72
+ | 0.0 | 12.0 | 7800 | 0.0057 | 1.0 | 28.4593 | 0.9992 | 0.9992 |
73
+ | 0.0041 | 13.0 | 8450 | 0.0242 | 1.0 | 29.1527 | 0.9979 | 0.9978 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.57.0
79
+ - Pytorch 2.8.0+cu128
80
+ - Datasets 4.3.0
81
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_num_labels": 1,
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForSequenceClassification"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "dtype": "float32",
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 50256,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "model_type": "gpt2",
15
+ "n_ctx": 1024,
16
+ "n_embd": 768,
17
+ "n_head": 12,
18
+ "n_inner": null,
19
+ "n_layer": 6,
20
+ "n_positions": 1024,
21
+ "pad_token_id": 50256,
22
+ "problem_type": "single_label_classification",
23
+ "reorder_and_upcast_attn": false,
24
+ "resid_pdrop": 0.1,
25
+ "scale_attn_by_inverse_layer_idx": false,
26
+ "scale_attn_weights": true,
27
+ "summary_activation": null,
28
+ "summary_first_dropout": 0.1,
29
+ "summary_proj_to_labels": true,
30
+ "summary_type": "cls_index",
31
+ "summary_use_proj": true,
32
+ "task_specific_params": {
33
+ "text-generation": {
34
+ "do_sample": true,
35
+ "max_length": 50
36
+ }
37
+ },
38
+ "transformers_version": "4.57.0",
39
+ "use_cache": true,
40
+ "vocab_size": 50257
41
+ }
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:2b1f0ab4d0282e16906d6a03a7164151a97f1d283161c125e84961682e02c38c
3
+ size 327664152
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,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
15
+ "eos_token": "<|endoftext|>",
16
+ "extra_special_tokens": {},
17
+ "model_max_length": 1024,
18
+ "pad_token": "<|endoftext|>",
19
+ "tokenizer_class": "GPT2Tokenizer",
20
+ "unk_token": "<|endoftext|>"
21
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0f7cc0a946ce570b61085853c6f55140d0bf934e49a4ce723043595732c0406
3
+ size 5969
vocab.json ADDED
The diff for this file is too large to render. See raw diff