Commit
•
51950f6
1
Parent(s):
b5b2f91
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: gpt2
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: mentalcaption-gen
|
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 |
+
# mentalcaption-gen
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 7.2071
|
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 |
+
- gradient_accumulation_steps: 8
|
42 |
+
- total_train_batch_size: 256
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: cosine
|
45 |
+
- lr_scheduler_warmup_steps: 1000
|
46 |
+
- num_epochs: 20
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
+
|:-------------:|:-------:|:----:|:---------------:|
|
53 |
+
| No log | 0.9915 | 102 | 15.0712 |
|
54 |
+
| No log | 1.9927 | 205 | 13.1284 |
|
55 |
+
| No log | 2.9939 | 308 | 11.8544 |
|
56 |
+
| No log | 3.9951 | 411 | 10.6004 |
|
57 |
+
| No log | 4.9964 | 514 | 9.4891 |
|
58 |
+
| No log | 5.9976 | 617 | 8.7946 |
|
59 |
+
| No log | 6.9988 | 720 | 8.4227 |
|
60 |
+
| No log | 8.0 | 823 | 8.1604 |
|
61 |
+
| No log | 8.9915 | 925 | 7.9719 |
|
62 |
+
| No log | 9.9927 | 1028 | 7.8098 |
|
63 |
+
| No log | 10.9939 | 1131 | 7.6744 |
|
64 |
+
| No log | 11.9951 | 1234 | 7.5685 |
|
65 |
+
| No log | 12.9964 | 1337 | 7.4601 |
|
66 |
+
| No log | 13.9976 | 1440 | 7.3741 |
|
67 |
+
| No log | 14.9988 | 1543 | 7.3002 |
|
68 |
+
| No log | 16.0 | 1646 | 7.2581 |
|
69 |
+
| No log | 16.9915 | 1748 | 7.2293 |
|
70 |
+
| No log | 17.9927 | 1851 | 7.2151 |
|
71 |
+
| No log | 18.9939 | 1954 | 7.2077 |
|
72 |
+
| No log | 19.8299 | 2040 | 7.2071 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- Transformers 4.41.0
|
78 |
+
- Pytorch 2.3.0+cu121
|
79 |
+
- Datasets 2.19.1
|
80 |
+
- Tokenizers 0.19.1
|
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.41.0"
|
6 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 497774208
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d08355edc204953465bd330473394cafa97d9d71df60c28fd4df2623b4575dbd
|
3 |
size 497774208
|
runs/May24_16-12-06_511b78404442/events.out.tfevents.1716567127.511b78404442.651.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e94040f777546c4676c4d6ffffa3d1defb0bb147e2b6f375dc519c5239b1e2c
|
3 |
+
size 10819
|
runs/May24_16-12-06_511b78404442/events.out.tfevents.1716575634.511b78404442.651.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d087f1b66406ed881a0de3e8982078aeb91846b9ed0a4c61b77e438b068347a
|
3 |
+
size 359
|