End of training
Browse files
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: microsoft/git-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
model-index:
|
9 |
+
- name: git-base-captioning
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# git-base-captioning
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [microsoft/git-base](https://huggingface.co/microsoft/git-base) on the imagefolder dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.3575
|
21 |
+
- Wer Score: 0.8322
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 5e-05
|
41 |
+
- train_batch_size: 4
|
42 |
+
- eval_batch_size: 4
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 2
|
45 |
+
- total_train_batch_size: 8
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- num_epochs: 10
|
49 |
+
- mixed_precision_training: Native AMP
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer Score |
|
54 |
+
|:-------------:|:------:|:----:|:---------------:|:---------:|
|
55 |
+
| 7.8992 | 0.3540 | 20 | 7.5466 | 11.1579 |
|
56 |
+
| 5.9879 | 0.7080 | 40 | 5.6121 | 5.1946 |
|
57 |
+
| 4.1288 | 1.0619 | 60 | 3.7153 | 4.5433 |
|
58 |
+
| 2.3477 | 1.4159 | 80 | 1.9989 | 4.0242 |
|
59 |
+
| 1.0242 | 1.7699 | 100 | 0.8650 | 0.8657 |
|
60 |
+
| 0.4954 | 2.1239 | 120 | 0.4766 | 0.8676 |
|
61 |
+
| 0.3365 | 2.4779 | 140 | 0.3993 | 3.7516 |
|
62 |
+
| 0.4286 | 2.8319 | 160 | 0.3773 | 0.8336 |
|
63 |
+
| 0.2952 | 3.1858 | 180 | 0.3663 | 0.8329 |
|
64 |
+
| 0.3996 | 3.5398 | 200 | 0.3619 | 0.8224 |
|
65 |
+
| 0.2629 | 3.8938 | 220 | 0.3574 | 0.8204 |
|
66 |
+
| 0.254 | 4.2478 | 240 | 0.3555 | 0.8178 |
|
67 |
+
| 0.2642 | 4.6018 | 260 | 0.3557 | 0.8132 |
|
68 |
+
| 0.2725 | 4.9558 | 280 | 0.3533 | 0.8139 |
|
69 |
+
| 0.2746 | 5.3097 | 300 | 0.3554 | 0.8093 |
|
70 |
+
| 0.1765 | 5.6637 | 320 | 0.3561 | 0.8244 |
|
71 |
+
| 0.2981 | 6.0177 | 340 | 0.3542 | 0.8375 |
|
72 |
+
| 0.1489 | 6.3717 | 360 | 0.3567 | 0.8329 |
|
73 |
+
| 0.256 | 6.7257 | 380 | 0.3553 | 0.8362 |
|
74 |
+
| 0.1574 | 7.0796 | 400 | 0.3558 | 0.8342 |
|
75 |
+
| 0.1836 | 7.4336 | 420 | 0.3566 | 0.8336 |
|
76 |
+
| 0.1697 | 7.7876 | 440 | 0.3578 | 0.8362 |
|
77 |
+
| 0.1596 | 8.1416 | 460 | 0.3571 | 0.8414 |
|
78 |
+
| 0.1628 | 8.4956 | 480 | 0.3579 | 0.8388 |
|
79 |
+
| 0.1958 | 8.8496 | 500 | 0.3572 | 0.8362 |
|
80 |
+
| 0.1695 | 9.2035 | 520 | 0.3575 | 0.8303 |
|
81 |
+
| 0.1686 | 9.5575 | 540 | 0.3576 | 0.8336 |
|
82 |
+
| 0.2166 | 9.9115 | 560 | 0.3575 | 0.8322 |
|
83 |
+
|
84 |
+
|
85 |
+
### Framework versions
|
86 |
+
|
87 |
+
- Transformers 4.41.2
|
88 |
+
- Pytorch 2.3.0+cu121
|
89 |
+
- Datasets 2.19.2
|
90 |
+
- Tokenizers 0.19.1
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 101,
|
4 |
+
"eos_token_id": 102,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.41.2"
|
7 |
+
}
|
runs/Jun10_17-56-54_0d8f1de1c7d9/events.out.tfevents.1718042222.0d8f1de1c7d9.16937.6
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:0ea36d7805f764c331e37112a3a4977a446cccaf3a864c947478320962c91dd5
|
3 |
+
size 37959
|