prithivMLmods commited on
Commit
52cf86f
·
verified ·
1 Parent(s): af31b3d

Upload folder using huggingface_hub

Browse files
checkpoint-232/config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SiglipForImageClassification"
4
+ ],
5
+ "id2label": {
6
+ "0": "Bacterialblight",
7
+ "1": "Blast",
8
+ "2": "Brownspot",
9
+ "3": "Healthy",
10
+ "4": "Tungro"
11
+ },
12
+ "initializer_factor": 1.0,
13
+ "label2id": {
14
+ "Bacterialblight": 0,
15
+ "Blast": 1,
16
+ "Brownspot": 2,
17
+ "Healthy": 3,
18
+ "Tungro": 4
19
+ },
20
+ "model_type": "siglip",
21
+ "problem_type": "single_label_classification",
22
+ "text_config": {
23
+ "attention_dropout": 0.0,
24
+ "hidden_act": "gelu_pytorch_tanh",
25
+ "hidden_size": 768,
26
+ "intermediate_size": 3072,
27
+ "layer_norm_eps": 1e-06,
28
+ "max_position_embeddings": 64,
29
+ "model_type": "siglip_text_model",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "projection_size": 768,
33
+ "torch_dtype": "float32",
34
+ "vocab_size": 256000
35
+ },
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.50.0",
38
+ "vision_config": {
39
+ "attention_dropout": 0.0,
40
+ "hidden_act": "gelu_pytorch_tanh",
41
+ "hidden_size": 768,
42
+ "image_size": 224,
43
+ "intermediate_size": 3072,
44
+ "layer_norm_eps": 1e-06,
45
+ "model_type": "siglip_vision_model",
46
+ "num_attention_heads": 12,
47
+ "num_channels": 3,
48
+ "num_hidden_layers": 12,
49
+ "patch_size": 16,
50
+ "torch_dtype": "float32"
51
+ }
52
+ }
checkpoint-232/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e97a592416f73b2e436b7d27a35f160eb66642e75e8f41e7bfadec48ec829ec9
3
+ size 371577220
checkpoint-232/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72347db4f72b1eb57dd0c6154bd0812078ac7e433638bdb15195ae3ca01ed462
3
+ size 686574202
checkpoint-232/preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "SiglipImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "processor_class": "SiglipProcessor",
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "height": 224,
22
+ "width": 224
23
+ }
24
+ }
checkpoint-232/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa927868f2c5bc281ca17df5ff7bb78a467669a54b3b877ac1e795ec2753ab8a
3
+ size 14244
checkpoint-232/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:946be2e4c45bb5a83b16b7a1d8e85f94aaacd4350de79dbeabd44961ff98a412
3
+ size 1064
checkpoint-232/trainer_state.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 232,
3
+ "best_metric": 0.44485384225845337,
4
+ "best_model_checkpoint": "siglip2-finetune-full/checkpoint-232",
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 232,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 1.0,
14
+ "eval_accuracy": 0.831424336342811,
15
+ "eval_loss": 0.44485384225845337,
16
+ "eval_model_preparation_time": 0.0023,
17
+ "eval_runtime": 95.5646,
18
+ "eval_samples_per_second": 77.654,
19
+ "eval_steps_per_second": 9.711,
20
+ "step": 232
21
+ }
22
+ ],
23
+ "logging_steps": 500,
24
+ "max_steps": 464,
25
+ "num_input_tokens_seen": 0,
26
+ "num_train_epochs": 2,
27
+ "save_steps": 500,
28
+ "stateful_callbacks": {
29
+ "TrainerControl": {
30
+ "args": {
31
+ "should_epoch_stop": false,
32
+ "should_evaluate": false,
33
+ "should_log": false,
34
+ "should_save": true,
35
+ "should_training_stop": false
36
+ },
37
+ "attributes": {}
38
+ }
39
+ },
40
+ "total_flos": 6.215649969491988e+17,
41
+ "train_batch_size": 32,
42
+ "trial_name": null,
43
+ "trial_params": null
44
+ }
checkpoint-232/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a8827d78a733fd6830ab676c50e4c977f204759ddbc6e350b3f04d5c95fe641
3
+ size 5304
checkpoint-464/config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SiglipForImageClassification"
4
+ ],
5
+ "id2label": {
6
+ "0": "Bacterialblight",
7
+ "1": "Blast",
8
+ "2": "Brownspot",
9
+ "3": "Healthy",
10
+ "4": "Tungro"
11
+ },
12
+ "initializer_factor": 1.0,
13
+ "label2id": {
14
+ "Bacterialblight": 0,
15
+ "Blast": 1,
16
+ "Brownspot": 2,
17
+ "Healthy": 3,
18
+ "Tungro": 4
19
+ },
20
+ "model_type": "siglip",
21
+ "problem_type": "single_label_classification",
22
+ "text_config": {
23
+ "attention_dropout": 0.0,
24
+ "hidden_act": "gelu_pytorch_tanh",
25
+ "hidden_size": 768,
26
+ "intermediate_size": 3072,
27
+ "layer_norm_eps": 1e-06,
28
+ "max_position_embeddings": 64,
29
+ "model_type": "siglip_text_model",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "projection_size": 768,
33
+ "torch_dtype": "float32",
34
+ "vocab_size": 256000
35
+ },
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.50.0",
38
+ "vision_config": {
39
+ "attention_dropout": 0.0,
40
+ "hidden_act": "gelu_pytorch_tanh",
41
+ "hidden_size": 768,
42
+ "image_size": 224,
43
+ "intermediate_size": 3072,
44
+ "layer_norm_eps": 1e-06,
45
+ "model_type": "siglip_vision_model",
46
+ "num_attention_heads": 12,
47
+ "num_channels": 3,
48
+ "num_hidden_layers": 12,
49
+ "patch_size": 16,
50
+ "torch_dtype": "float32"
51
+ }
52
+ }
checkpoint-464/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:172e8e76ac71c08fd1ac4b0969b50ed1b710d2c3605dd44a7b99ae1ce5800750
3
+ size 371577220
checkpoint-464/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88a4a5efe282ab81824a212e2ad48732fb5995b107f5fe39cb5f038fc1b14b52
3
+ size 686574202
checkpoint-464/preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "SiglipImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "processor_class": "SiglipProcessor",
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "height": 224,
22
+ "width": 224
23
+ }
24
+ }
checkpoint-464/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cc7a4945243597e20e02876a928c8d3a726caed83593a9ee4a16ad2946765e6
3
+ size 14244
checkpoint-464/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9268fa1caef9a8db326d6a577a7db8b3bb9ded0c4d0590bf3532ca7dfff8ef61
3
+ size 1064
checkpoint-464/trainer_state.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 464,
3
+ "best_metric": 0.14544065296649933,
4
+ "best_model_checkpoint": "siglip2-finetune-full/checkpoint-464",
5
+ "epoch": 2.0,
6
+ "eval_steps": 500,
7
+ "global_step": 464,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 1.0,
14
+ "eval_accuracy": 0.831424336342811,
15
+ "eval_loss": 0.44485384225845337,
16
+ "eval_model_preparation_time": 0.0023,
17
+ "eval_runtime": 95.5646,
18
+ "eval_samples_per_second": 77.654,
19
+ "eval_steps_per_second": 9.711,
20
+ "step": 232
21
+ },
22
+ {
23
+ "epoch": 2.0,
24
+ "eval_accuracy": 0.9477159412478102,
25
+ "eval_loss": 0.14544065296649933,
26
+ "eval_model_preparation_time": 0.0023,
27
+ "eval_runtime": 95.3063,
28
+ "eval_samples_per_second": 77.865,
29
+ "eval_steps_per_second": 9.737,
30
+ "step": 464
31
+ }
32
+ ],
33
+ "logging_steps": 500,
34
+ "max_steps": 464,
35
+ "num_input_tokens_seen": 0,
36
+ "num_train_epochs": 2,
37
+ "save_steps": 500,
38
+ "stateful_callbacks": {
39
+ "TrainerControl": {
40
+ "args": {
41
+ "should_epoch_stop": false,
42
+ "should_evaluate": false,
43
+ "should_log": false,
44
+ "should_save": true,
45
+ "should_training_stop": true
46
+ },
47
+ "attributes": {}
48
+ }
49
+ },
50
+ "total_flos": 1.2431299938983977e+18,
51
+ "train_batch_size": 32,
52
+ "trial_name": null,
53
+ "trial_params": null
54
+ }
checkpoint-464/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a8827d78a733fd6830ab676c50e4c977f204759ddbc6e350b3f04d5c95fe641
3
+ size 5304
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SiglipForImageClassification"
4
+ ],
5
+ "id2label": {
6
+ "0": "Bacterialblight",
7
+ "1": "Blast",
8
+ "2": "Brownspot",
9
+ "3": "Healthy",
10
+ "4": "Tungro"
11
+ },
12
+ "initializer_factor": 1.0,
13
+ "label2id": {
14
+ "Bacterialblight": 0,
15
+ "Blast": 1,
16
+ "Brownspot": 2,
17
+ "Healthy": 3,
18
+ "Tungro": 4
19
+ },
20
+ "model_type": "siglip",
21
+ "problem_type": "single_label_classification",
22
+ "text_config": {
23
+ "attention_dropout": 0.0,
24
+ "hidden_act": "gelu_pytorch_tanh",
25
+ "hidden_size": 768,
26
+ "intermediate_size": 3072,
27
+ "layer_norm_eps": 1e-06,
28
+ "max_position_embeddings": 64,
29
+ "model_type": "siglip_text_model",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "projection_size": 768,
33
+ "torch_dtype": "float32",
34
+ "vocab_size": 256000
35
+ },
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.50.0",
38
+ "vision_config": {
39
+ "attention_dropout": 0.0,
40
+ "hidden_act": "gelu_pytorch_tanh",
41
+ "hidden_size": 768,
42
+ "image_size": 224,
43
+ "intermediate_size": 3072,
44
+ "layer_norm_eps": 1e-06,
45
+ "model_type": "siglip_vision_model",
46
+ "num_attention_heads": 12,
47
+ "num_channels": 3,
48
+ "num_hidden_layers": 12,
49
+ "patch_size": 16,
50
+ "torch_dtype": "float32"
51
+ }
52
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:172e8e76ac71c08fd1ac4b0969b50ed1b710d2c3605dd44a7b99ae1ce5800750
3
+ size 371577220
preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "SiglipImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "processor_class": "SiglipProcessor",
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "height": 224,
22
+ "width": 224
23
+ }
24
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a8827d78a733fd6830ab676c50e4c977f204759ddbc6e350b3f04d5c95fe641
3
+ size 5304