ChiJuiChen
commited on
Commit
•
9b82740
1
Parent(s):
ebda5b3
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: microsoft/git-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: GenerativeImage2Text-naruto
|
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 |
+
# GenerativeImage2Text-naruto
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [microsoft/git-base](https://huggingface.co/microsoft/git-base) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.0551
|
19 |
+
- Wer Score: 9.8
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 5e-05
|
39 |
+
- train_batch_size: 2
|
40 |
+
- eval_batch_size: 2
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 2
|
43 |
+
- total_train_batch_size: 4
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 50
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer Score |
|
52 |
+
|:-------------:|:-------:|:----:|:---------------:|:---------:|
|
53 |
+
| 5.6909 | 3.7037 | 50 | 2.9342 | 11.0167 |
|
54 |
+
| 1.1195 | 7.4074 | 100 | 0.1202 | 11.05 |
|
55 |
+
| 0.036 | 11.1111 | 150 | 0.0471 | 0.3833 |
|
56 |
+
| 0.0128 | 14.8148 | 200 | 0.0492 | 0.45 |
|
57 |
+
| 0.0101 | 18.5185 | 250 | 0.0508 | 4.35 |
|
58 |
+
| 0.0087 | 22.2222 | 300 | 0.0501 | 9.4 |
|
59 |
+
| 0.0081 | 25.9259 | 350 | 0.0531 | 10.35 |
|
60 |
+
| 0.0075 | 29.6296 | 400 | 0.0535 | 9.7833 |
|
61 |
+
| 0.0068 | 33.3333 | 450 | 0.0525 | 7.0333 |
|
62 |
+
| 0.0064 | 37.0370 | 500 | 0.0545 | 9.7333 |
|
63 |
+
| 0.0059 | 40.7407 | 550 | 0.0537 | 9.7333 |
|
64 |
+
| 0.0055 | 44.4444 | 600 | 0.0550 | 9.7833 |
|
65 |
+
| 0.0051 | 48.1481 | 650 | 0.0551 | 9.8 |
|
66 |
+
|
67 |
+
|
68 |
+
### Framework versions
|
69 |
+
|
70 |
+
- Transformers 4.40.2
|
71 |
+
- Pytorch 2.3.0+cu121
|
72 |
+
- Datasets 2.19.1
|
73 |
+
- 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.40.2"
|
7 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 706516040
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:368abed992a2acac0c56db914972556d369cef6cbf3c22341f93d5a14f034d88
|
3 |
size 706516040
|
runs/May30_12-42-52_pcslab-MS-7A69/events.out.tfevents.1717044174.pcslab-MS-7A69.61456.1
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:08664de8bc7f798da66688395d0ddf1fb7db3c8cd21dfd02b88cd0edc85d48f1
|
3 |
+
size 12250
|