Sigurdur commited on
Commit
3aef668
·
verified ·
1 Parent(s): be87e12

End of training

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: isl-img2text
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
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/sigurdurhaukur-team/huggingface/runs/wdrysu9g)
17
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/sigurdurhaukur-team/huggingface/runs/wdrysu9g)
18
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/sigurdurhaukur-team/huggingface/runs/wdrysu9g)
19
+ # isl-img2text
20
+
21
+ This model is a fine-tuned version of [microsoft/git-base](https://huggingface.co/microsoft/git-base) on the imagefolder dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 4.0588
24
+ - Wer Score: 37.0
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 5e-05
44
+ - train_batch_size: 2
45
+ - eval_batch_size: 2
46
+ - seed: 42
47
+ - gradient_accumulation_steps: 2
48
+ - total_train_batch_size: 4
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 50
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Wer Score |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|
58
+ | 7.786 | 25.0 | 50 | 5.6066 | 38.2222 |
59
+ | 4.6043 | 50.0 | 100 | 4.0588 | 37.0 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.42.3
65
+ - Pytorch 2.1.2+cu118
66
+ - Datasets 2.20.0
67
+ - 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.3"
7
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:df1f0c0cb307d0116774d5c006618aa69afc324a4931e2cc527aa86ad20e4467
3
  size 706516040
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed741d5a53bf97e3df50f6778617d7698a3f99afe01953a901474a5a20c0dcba
3
  size 706516040
runs/Jun29_13-31-52_Haukurs-pc/events.out.tfevents.1719667912.Haukurs-pc.10322.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bed34f848abbf3d2060d05371dde3338a11e1ca27296eb95e61cf9569e8fa0ce
3
- size 5578
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9af47713ab4bda7ba466b4941aa6cf696f587310e93b1840153f0ff166d89d71
3
+ size 6451