SodaXII commited on
Commit
5d85eb7
·
verified ·
1 Parent(s): 620dd5f

Model save

Browse files
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/vit-hybrid-base-bit-384
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: vit-hybrid-base-bit-384_rice-leaf-disease-augmented-v2_fft
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
+ # vit-hybrid-base-bit-384_rice-leaf-disease-augmented-v2_fft
16
+
17
+ This model is a fine-tuned version of [google/vit-hybrid-base-bit-384](https://huggingface.co/google/vit-hybrid-base-bit-384) on an unknown dataset.
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 5e-05
37
+ - train_batch_size: 64
38
+ - eval_batch_size: 64
39
+ - seed: 42
40
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
41
+ - lr_scheduler_type: cosine_with_restarts
42
+ - lr_scheduler_warmup_ratio: 0.1
43
+ - num_epochs: 15
44
+ - mixed_precision_training: Native AMP
45
+
46
+ ### Framework versions
47
+
48
+ - Transformers 4.48.3
49
+ - Pytorch 2.5.1+cu124
50
+ - Datasets 3.3.2
51
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-hybrid-base-bit-384",
3
+ "architectures": [
4
+ "ViTHybridForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "backbone": null,
8
+ "backbone_config": {
9
+ "depths": [
10
+ 3,
11
+ 4,
12
+ 9
13
+ ],
14
+ "embedding_dynamic_padding": true,
15
+ "global_padding": "SAME",
16
+ "layer_type": "bottleneck",
17
+ "model_type": "bit",
18
+ "out_features": [
19
+ "stage3"
20
+ ],
21
+ "out_indices": [
22
+ 3
23
+ ],
24
+ "stage_names": [
25
+ "stem",
26
+ "stage1",
27
+ "stage2",
28
+ "stage3"
29
+ ]
30
+ },
31
+ "backbone_featmap_shape": [
32
+ 1,
33
+ 1024,
34
+ 24,
35
+ 24
36
+ ],
37
+ "backbone_kwargs": null,
38
+ "hidden_act": "gelu",
39
+ "hidden_dropout_prob": 0.0,
40
+ "hidden_size": 768,
41
+ "id2label": {
42
+ "0": "Bacterial Leaf Blight",
43
+ "1": "Brown Spot",
44
+ "2": "Healthy Rice Leaf",
45
+ "3": "Leaf Blast",
46
+ "4": "Leaf scald",
47
+ "5": "Narrow Brown Leaf Spot",
48
+ "6": "Rice Hispa",
49
+ "7": "Sheath Blight"
50
+ },
51
+ "image_size": 384,
52
+ "initializer_range": 0.02,
53
+ "intermediate_size": 3072,
54
+ "label2id": {
55
+ "Bacterial Leaf Blight": 0,
56
+ "Brown Spot": 1,
57
+ "Healthy Rice Leaf": 2,
58
+ "Leaf Blast": 3,
59
+ "Leaf scald": 4,
60
+ "Narrow Brown Leaf Spot": 5,
61
+ "Rice Hispa": 6,
62
+ "Sheath Blight": 7
63
+ },
64
+ "layer_norm_eps": 1e-12,
65
+ "model_type": "vit-hybrid",
66
+ "num_attention_heads": 12,
67
+ "num_channels": 3,
68
+ "num_hidden_layers": 12,
69
+ "patch_size": 1,
70
+ "qkv_bias": true,
71
+ "torch_dtype": "float32",
72
+ "transformers_version": "4.48.3",
73
+ "use_pretrained_backbone": false,
74
+ "use_timm_backbone": false
75
+ }
logs/events.out.tfevents.1740258419.694aa7296547.4810.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:356667fcf716b47a894a1e2f1e7f3d98c340006b8bb2a6caa49f7e83c9cf4fcf
3
+ size 88
logs/events.out.tfevents.1740258602.694aa7296547.5964.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49d30dc4d777b090e2b75b1d43df55025bc35286eceb8ca2232bf1ac2cc54ee4
3
+ size 88
logs/events.out.tfevents.1740291559.acfbe5726840.218.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:827d0d4553359c3a2600b242b5df8542c1fca7b0febf0b6fa105b3be0b3bc4ac
3
+ size 88
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60da15bb7f3c879b7404ddb8071728d6f43386fbd092072a99e24798c186933a
3
+ size 392799384
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 384,
4
+ "width": 384
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "image_processor_type": "ViTHybridImageProcessor",
17
+ "image_std": [
18
+ 0.5,
19
+ 0.5,
20
+ 0.5
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "shortest_edge": 384
26
+ }
27
+ }
trainer_state.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0,
5
+ "eval_steps": 500,
6
+ "global_step": 0,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [],
11
+ "logging_steps": 500,
12
+ "max_steps": 3750,
13
+ "num_input_tokens_seen": 0,
14
+ "num_train_epochs": 15,
15
+ "save_steps": 500,
16
+ "stateful_callbacks": {
17
+ "TrainerControl": {
18
+ "args": {
19
+ "should_epoch_stop": false,
20
+ "should_evaluate": false,
21
+ "should_log": false,
22
+ "should_save": false,
23
+ "should_training_stop": false
24
+ },
25
+ "attributes": {}
26
+ }
27
+ },
28
+ "total_flos": 0,
29
+ "train_batch_size": 32,
30
+ "trial_name": null,
31
+ "trial_params": null
32
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41243169d4abca80f8adb6832f18d99e3b50865ace834b17c7286803e72153a7
3
+ size 5496