Sigurdur commited on
Commit
6848278
·
verified ·
1 Parent(s): af6c36b

End of training

Browse files
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: HuggingFaceTB/SmolVLM-Base
5
+ tags:
6
+ - base_model:adapter:HuggingFaceTB/SmolVLM-Base
7
+ - lora
8
+ - transformers
9
+ metrics:
10
+ - wer
11
+ model-index:
12
+ - name: SmolVLM-Base-ocr-isl
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # SmolVLM-Base-ocr-isl
20
+
21
+ This model is a fine-tuned version of [HuggingFaceTB/SmolVLM-Base](https://huggingface.co/HuggingFaceTB/SmolVLM-Base) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0420
24
+ - Wer: 0.4108
25
+ - Cer: 0.4556
26
+ - Exact Match: 0.0
27
+ - Special Char Acc: 0.0084
28
+ - Seq Acc 5: 0.0
29
+ - Seq Acc 10: 0.0
30
+
31
+ ## Model description
32
+
33
+ More information needed
34
+
35
+ ## Intended uses & limitations
36
+
37
+ More information needed
38
+
39
+ ## Training and evaluation data
40
+
41
+ More information needed
42
+
43
+ ## Training procedure
44
+
45
+ ### Training hyperparameters
46
+
47
+ The following hyperparameters were used during training:
48
+ - learning_rate: 0.0001
49
+ - train_batch_size: 4
50
+ - eval_batch_size: 1
51
+ - seed: 42
52
+ - gradient_accumulation_steps: 4
53
+ - total_train_batch_size: 16
54
+ - optimizer: Use OptimizerNames.PAGED_ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
55
+ - lr_scheduler_type: linear
56
+ - lr_scheduler_warmup_steps: 50
57
+ - num_epochs: 1
58
+
59
+ ### Training results
60
+
61
+ | Training Loss | Epoch | Step | Validation Loss | Wer | Cer | Exact Match | Special Char Acc | Seq Acc 5 | Seq Acc 10 |
62
+ |:-------------:|:------:|:----:|:---------------:|:------:|:------:|:-----------:|:----------------:|:---------:|:----------:|
63
+ | 0.1564 | 0.1245 | 500 | 0.1101 | 0.4213 | 0.5448 | 0.0 | 0.0140 | 0.0 | 0.0 |
64
+ | 0.0866 | 0.2490 | 1000 | 0.0791 | 0.3409 | 0.4947 | 0.0 | 0.0112 | 0.0 | 0.0 |
65
+ | 0.1093 | 0.3735 | 1500 | 0.0646 | 0.4073 | 0.4989 | 0.0 | 0.0140 | 0.0 | 0.0 |
66
+ | 0.1016 | 0.4979 | 2000 | 0.0570 | 0.3951 | 0.4507 | 0.0 | 0.0056 | 0.0 | 0.0 |
67
+ | 0.1 | 0.6224 | 2500 | 0.0504 | 0.4318 | 0.5059 | 0.0 | 0.0169 | 0.0 | 0.0 |
68
+ | 0.0777 | 0.7469 | 3000 | 0.0415 | 0.4248 | 0.4692 | 0.0 | 0.0140 | 0.0 | 0.0 |
69
+ | 0.107 | 0.8714 | 3500 | 0.0427 | 0.4021 | 0.4732 | 0.0 | 0.0140 | 0.0 | 0.0 |
70
+ | 0.1286 | 0.9959 | 4000 | 0.0420 | 0.4108 | 0.4556 | 0.0 | 0.0084 | 0.0 | 0.0 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - PEFT 0.17.1
76
+ - Transformers 4.56.2
77
+ - Pytorch 2.8.0+cu128
78
+ - Datasets 4.1.0
79
+ - Tokenizers 0.22.1
adapter_config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "Idefics3ForConditionalGeneration",
5
+ "parent_library": "transformers.models.idefics3.modeling_idefics3"
6
+ },
7
+ "base_model_name_or_path": "HuggingFaceTB/SmolVLM-Base",
8
+ "bias": "none",
9
+ "corda_config": null,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": "gaussian",
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 8,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.1,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "qalora_group_size": 16,
27
+ "r": 8,
28
+ "rank_pattern": {},
29
+ "revision": null,
30
+ "target_modules": [
31
+ "q_proj",
32
+ "up_proj",
33
+ "down_proj",
34
+ "gate_proj",
35
+ "k_proj",
36
+ "o_proj",
37
+ "v_proj"
38
+ ],
39
+ "target_parameters": null,
40
+ "task_type": null,
41
+ "trainable_token_indices": null,
42
+ "use_dora": true,
43
+ "use_qalora": false,
44
+ "use_rslora": false
45
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d2445d90d762b7146bd98b632b57d70102e8818b06b48215a23c233797e971b
3
+ size 45187904
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ee83ff50357c5e4feee01fd9dfdedfc3eea77f8fcf7ad0c11806fac224ff779
3
+ size 5777