29thDay commited on
Commit
8d52be0
·
verified ·
1 Parent(s): ee9207c

End of training

Browse files
Files changed (2) hide show
  1. README.md +72 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: openai-community/gpt2
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ model-index:
11
+ - name: gpt2-classifier
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # gpt2-classifier
19
+
20
+ This model is a fine-tuned version of [openai-community/gpt2](https://huggingface.co/openai-community/gpt2) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.3035
23
+ - Accuracy: 0.8660
24
+ - F1: 0.7584
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 2e-05
44
+ - train_batch_size: 32
45
+ - eval_batch_size: 32
46
+ - seed: 42
47
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 2
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:------:|
55
+ | No log | 0 | 0 | 4.5305 | 0.2536 | 0.4046 |
56
+ | No log | 0.2020 | 79 | 0.4243 | 0.8055 | 0.6281 |
57
+ | No log | 0.4041 | 158 | 0.3872 | 0.8213 | 0.6884 |
58
+ | No log | 0.6061 | 237 | 0.3544 | 0.8545 | 0.7363 |
59
+ | No log | 0.8082 | 316 | 0.3220 | 0.8588 | 0.7278 |
60
+ | No log | 1.0102 | 395 | 0.3321 | 0.8516 | 0.7392 |
61
+ | No log | 1.2123 | 474 | 0.3121 | 0.8746 | 0.7655 |
62
+ | 0.4499 | 1.4143 | 553 | 0.2934 | 0.8790 | 0.7717 |
63
+ | 0.4499 | 1.6164 | 632 | 0.3184 | 0.8602 | 0.7544 |
64
+ | 0.4499 | 1.8184 | 711 | 0.3035 | 0.8660 | 0.7584 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.54.0
70
+ - Pytorch 2.6.0+cu124
71
+ - Datasets 4.0.0
72
+ - Tokenizers 0.21.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dba324fa452158616fee101152c4e5c79747648c4a59772a0b91a008a29e0b64
3
  size 497780432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4d51e9a8234810f10418262ebbc7c9f177f1971bece866672d77ead18995b6a
3
  size 497780432