henriquepxl
commited on
Commit
•
ec2acde
1
Parent(s):
e139760
End of training
Browse files- README.md +73 -0
- generation_config.json +7 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-pokemon
|
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-pokemon
|
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.3785
|
21 |
+
- Wer Score: 2.7939
|
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: 10
|
42 |
+
- eval_batch_size: 10
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 4
|
45 |
+
- total_train_batch_size: 40
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- num_epochs: 50
|
49 |
+
- mixed_precision_training: Native AMP
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer Score |
|
54 |
+
|:-------------:|:-------:|:----:|:---------------:|:---------:|
|
55 |
+
| 6.818 | 4.4444 | 50 | 4.1955 | 4.1407 |
|
56 |
+
| 2.3051 | 8.8889 | 100 | 0.6527 | 2.5893 |
|
57 |
+
| 0.2976 | 13.3333 | 150 | 0.2576 | 2.2313 |
|
58 |
+
| 0.1103 | 17.7778 | 200 | 0.2680 | 2.9372 |
|
59 |
+
| 0.056 | 22.2222 | 250 | 0.3025 | 2.8351 |
|
60 |
+
| 0.0323 | 26.6667 | 300 | 0.3286 | 2.9704 |
|
61 |
+
| 0.0207 | 31.1111 | 350 | 0.3488 | 2.9758 |
|
62 |
+
| 0.0144 | 35.5556 | 400 | 0.3587 | 2.8506 |
|
63 |
+
| 0.0111 | 40.0 | 450 | 0.3688 | 2.7654 |
|
64 |
+
| 0.0091 | 44.4444 | 500 | 0.3762 | 2.8455 |
|
65 |
+
| 0.0081 | 48.8889 | 550 | 0.3785 | 2.7939 |
|
66 |
+
|
67 |
+
|
68 |
+
### Framework versions
|
69 |
+
|
70 |
+
- Transformers 4.42.0.dev0
|
71 |
+
- Pytorch 2.3.0+cu121
|
72 |
+
- Datasets 2.20.0
|
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.42.0.dev0"
|
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:c924276d4d19090679ba62016ef48af6faebaf12d7e47e5ebeeceed320f197aa
|
3 |
size 706516040
|