hasan-farooq commited on
Commit
2aeeab0
·
verified ·
1 Parent(s): bbdd0fb

End of training

Browse files
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: HuggingFaceTB/SmolVLM-Instruct
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: SmolVLM-Instruct-med-vqav1
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # SmolVLM-Instruct-med-vqav1
16
+
17
+ This model is a fine-tuned version of [HuggingFaceTB/SmolVLM-Instruct](https://huggingface.co/HuggingFaceTB/SmolVLM-Instruct) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.1712
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: 0.001
39
+ - train_batch_size: 4
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 2
43
+ - total_train_batch_size: 8
44
+ - optimizer: Use OptimizerNames.ADAMW_HF with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - lr_scheduler_warmup_steps: 50
47
+ - num_epochs: 3
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:------:|:----:|:---------------:|
53
+ | 0.3885 | 0.4454 | 100 | 0.2168 |
54
+ | 0.1862 | 0.8909 | 200 | 0.1728 |
55
+ | 0.1258 | 1.3341 | 300 | 0.1678 |
56
+ | 0.1131 | 1.7795 | 400 | 0.1615 |
57
+ | 0.0885 | 2.2227 | 500 | 0.1682 |
58
+ | 0.0656 | 2.6682 | 600 | 0.1712 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.48.3
64
+ - Pytorch 2.5.1+cu124
65
+ - Datasets 3.3.0
66
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "HuggingFaceTB/SmolVLM-Instruct",
3
+ "architectures": [
4
+ "Idefics3ForConditionalGeneration"
5
+ ],
6
+ "image_seq_len": 81,
7
+ "image_token_id": 49153,
8
+ "model_type": "idefics3",
9
+ "pad_token_id": 128002,
10
+ "scale_factor": 3,
11
+ "text_config": {
12
+ "_flash_attn_2_enabled": true,
13
+ "_name_or_path": "/fsx/m4/experiments/local_experiment_dir/s3_async_temporary_checkpoint_folder/tr_324_opt_400/unwrapped_model",
14
+ "architectures": [
15
+ "VLlama3ForCausalLM"
16
+ ],
17
+ "bos_token_id": 0,
18
+ "eos_token_id": 0,
19
+ "head_dim": 64,
20
+ "hidden_size": 2048,
21
+ "intermediate_size": 8192,
22
+ "max_position_embeddings": 16384,
23
+ "model_type": "llama",
24
+ "neftune_noise_alpha": 0.0,
25
+ "num_hidden_layers": 24,
26
+ "pad_token_id": 2,
27
+ "perceiver_config": {
28
+ "_attn_implementation_autoset": false,
29
+ "_name_or_path": "",
30
+ "add_cross_attention": false,
31
+ "architectures": null,
32
+ "attention_dropout": 0.0,
33
+ "bad_words_ids": null,
34
+ "begin_suppress_tokens": null,
35
+ "bos_token_id": null,
36
+ "chunk_size_feed_forward": 0,
37
+ "cross_attention_hidden_size": null,
38
+ "decoder_start_token_id": null,
39
+ "diversity_penalty": 0.0,
40
+ "do_sample": false,
41
+ "early_stopping": false,
42
+ "encoder_no_repeat_ngram_size": 0,
43
+ "eos_token_id": null,
44
+ "exponential_decay_length_penalty": null,
45
+ "finetuning_task": null,
46
+ "forced_bos_token_id": null,
47
+ "forced_eos_token_id": null,
48
+ "hidden_act": "silu",
49
+ "id2label": {
50
+ "0": "LABEL_0",
51
+ "1": "LABEL_1"
52
+ },
53
+ "is_decoder": false,
54
+ "is_encoder_decoder": false,
55
+ "label2id": {
56
+ "LABEL_0": 0,
57
+ "LABEL_1": 1
58
+ },
59
+ "length_penalty": 1.0,
60
+ "max_length": 20,
61
+ "min_length": 0,
62
+ "model_type": "vllama3",
63
+ "no_repeat_ngram_size": 0,
64
+ "num_beam_groups": 1,
65
+ "num_beams": 1,
66
+ "num_key_value_heads": 1,
67
+ "num_return_sequences": 1,
68
+ "output_attentions": false,
69
+ "output_hidden_states": false,
70
+ "output_scores": false,
71
+ "pad_token_id": null,
72
+ "prefix": null,
73
+ "problem_type": null,
74
+ "pruned_heads": {},
75
+ "qk_layer_norms_perceiver": false,
76
+ "remove_invalid_values": false,
77
+ "repetition_penalty": 1.0,
78
+ "resampler_depth": 6,
79
+ "resampler_head_dim": 96,
80
+ "resampler_n_heads": 16,
81
+ "resampler_n_latents": 64,
82
+ "return_dict": true,
83
+ "return_dict_in_generate": false,
84
+ "sep_token_id": null,
85
+ "suppress_tokens": null,
86
+ "task_specific_params": null,
87
+ "temperature": 1.0,
88
+ "tf_legacy_loss": false,
89
+ "tie_encoder_decoder": false,
90
+ "tie_word_embeddings": true,
91
+ "tokenizer_class": null,
92
+ "top_k": 50,
93
+ "top_p": 1.0,
94
+ "torch_dtype": null,
95
+ "torchscript": false,
96
+ "transformers_version": "4.46.0",
97
+ "typical_p": 1.0,
98
+ "use_bfloat16": false
99
+ },
100
+ "qk_layer_norms": false,
101
+ "rms_norm_eps": 1e-05,
102
+ "rope_theta": 273768.0,
103
+ "torch_dtype": "bfloat16",
104
+ "use_resampler": false,
105
+ "vocab_size": 49155
106
+ },
107
+ "tie_word_embeddings": false,
108
+ "torch_dtype": "bfloat16",
109
+ "transformers.js_config": {
110
+ "dtype": {
111
+ "decoder_model_merged": "q4",
112
+ "embed_tokens": "auto",
113
+ "vision_encoder": "auto"
114
+ },
115
+ "kv_cache_dtype": {
116
+ "fp16": "float16",
117
+ "q4f16": "float16"
118
+ }
119
+ },
120
+ "transformers_version": "4.48.3",
121
+ "use_cache": true,
122
+ "vision_config": {
123
+ "image_size": 384,
124
+ "intermediate_size": 4304,
125
+ "max_image_size": {
126
+ "longest_edge": 384
127
+ },
128
+ "model_type": "idefics3_vision",
129
+ "num_hidden_layers": 27,
130
+ "patch_size": 14,
131
+ "size": {
132
+ "longest_edge": 1920
133
+ },
134
+ "tie_word_embeddings": false,
135
+ "torch_dtype": "bfloat16"
136
+ },
137
+ "vocab_size": 49155
138
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 49154,
5
+ "pad_token_id": 2,
6
+ "transformers_version": "4.48.3"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:396fc1d85907c5c5c1c0cc07c0582a0e0d0291aa425439cb37f32ddd8e9f1447
3
+ size 4492630912
runs/Feb14_20-58-49_50b9431e50b9/events.out.tfevents.1739566729.50b9431e50b9.1264.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38a6910491b21968519ac2cbee8bd449c71dd4bb277719690814159bd54d1f99
3
+ size 11492
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5aaf48f28e90d14431b9ad8787db2832b995800917651bdb5d4c674564a5baa
3
+ size 5368