danieladeeko
commited on
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: openai-community/gpt2
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
- accuracy
|
12 |
+
model-index:
|
13 |
+
- name: finetuned_gpt2_model2
|
14 |
+
results: []
|
15 |
+
---
|
16 |
+
|
17 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
18 |
+
should probably proofread and complete it, then remove this comment. -->
|
19 |
+
|
20 |
+
# finetuned_gpt2_model2
|
21 |
+
|
22 |
+
This model is a fine-tuned version of [openai-community/gpt2](https://huggingface.co/openai-community/gpt2) on an unknown dataset.
|
23 |
+
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 0.1285
|
25 |
+
- Precision: 0.3701
|
26 |
+
- Recall: 0.4221
|
27 |
+
- F1: 0.3944
|
28 |
+
- Accuracy: 0.9579
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 1e-05
|
48 |
+
- train_batch_size: 16
|
49 |
+
- eval_batch_size: 16
|
50 |
+
- seed: 42
|
51 |
+
- gradient_accumulation_steps: 2
|
52 |
+
- total_train_batch_size: 32
|
53 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
54 |
+
- lr_scheduler_type: linear
|
55 |
+
- lr_scheduler_warmup_steps: 100
|
56 |
+
- num_epochs: 6
|
57 |
+
|
58 |
+
### Training results
|
59 |
+
|
60 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
61 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
62 |
+
| No log | 1.0 | 250 | 0.1313 | 0.3755 | 0.4334 | 0.4024 | 0.9570 |
|
63 |
+
| 0.1287 | 2.0 | 500 | 0.1298 | 0.3706 | 0.4266 | 0.3967 | 0.9577 |
|
64 |
+
| 0.1287 | 3.0 | 750 | 0.1298 | 0.3746 | 0.4242 | 0.3979 | 0.9573 |
|
65 |
+
| 0.1269 | 4.0 | 1000 | 0.1285 | 0.3701 | 0.4221 | 0.3944 | 0.9579 |
|
66 |
+
| 0.1269 | 5.0 | 1250 | 0.1287 | 0.3771 | 0.4300 | 0.4018 | 0.9576 |
|
67 |
+
| 0.127 | 6.0 | 1500 | 0.1288 | 0.3774 | 0.4300 | 0.4020 | 0.9575 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.44.2
|
73 |
+
- Pytorch 2.4.0+cu121
|
74 |
+
- Datasets 3.0.0
|
75 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 497786660
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1436e7c19d88dd41e75fea56a7ec9b2e65317499943c31593f6f15f9a6080e0b
|
3 |
size 497786660
|
runs/Sep15_02-46-19_ccc0b343fe29/events.out.tfevents.1726370659.ccc0b343fe29.6058.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fcc648710dc59d98c2d1ab3e1a1a6327be0f5e9f7099546a8633446dd666dc53
|
3 |
+
size 560
|