SodaXII commited on
Commit
22d0818
·
verified ·
1 Parent(s): 71835e1

Model save

Browse files
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: microsoft/beit-base-patch16-224
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: beit-base-patch16-224_rice-leaf-disease-augmented-v2_tl
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
+ # beit-base-patch16-224_rice-leaf-disease-augmented-v2_tl
16
+
17
+ This model is a fine-tuned version of [microsoft/beit-base-patch16-224](https://huggingface.co/microsoft/beit-base-patch16-224) 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: 0.0003
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: 20
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,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/beit-base-patch16-224",
3
+ "add_fpn": false,
4
+ "architectures": [
5
+ "BeitForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "auxiliary_channels": 256,
9
+ "auxiliary_concat_input": false,
10
+ "auxiliary_loss_weight": 0.4,
11
+ "auxiliary_num_convs": 1,
12
+ "drop_path_rate": 0.1,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.0,
15
+ "hidden_size": 768,
16
+ "id2label": {
17
+ "0": "Bacterial Leaf Blight",
18
+ "1": "Brown Spot",
19
+ "2": "Healthy Rice Leaf",
20
+ "3": "Leaf Blast",
21
+ "4": "Leaf scald",
22
+ "5": "Narrow Brown Leaf Spot",
23
+ "6": "Rice Hispa",
24
+ "7": "Sheath Blight"
25
+ },
26
+ "image_size": 224,
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 3072,
29
+ "label2id": {
30
+ "Bacterial Leaf Blight": 0,
31
+ "Brown Spot": 1,
32
+ "Healthy Rice Leaf": 2,
33
+ "Leaf Blast": 3,
34
+ "Leaf scald": 4,
35
+ "Narrow Brown Leaf Spot": 5,
36
+ "Rice Hispa": 6,
37
+ "Sheath Blight": 7
38
+ },
39
+ "layer_norm_eps": 1e-12,
40
+ "layer_scale_init_value": 0.1,
41
+ "model_type": "beit",
42
+ "num_attention_heads": 12,
43
+ "num_channels": 3,
44
+ "num_hidden_layers": 12,
45
+ "out_features": [
46
+ "stage12"
47
+ ],
48
+ "out_indices": [
49
+ 12
50
+ ],
51
+ "patch_size": 16,
52
+ "pool_scales": [
53
+ 1,
54
+ 2,
55
+ 3,
56
+ 6
57
+ ],
58
+ "reshape_hidden_states": true,
59
+ "semantic_loss_ignore_index": 255,
60
+ "stage_names": [
61
+ "stem",
62
+ "stage1",
63
+ "stage2",
64
+ "stage3",
65
+ "stage4",
66
+ "stage5",
67
+ "stage6",
68
+ "stage7",
69
+ "stage8",
70
+ "stage9",
71
+ "stage10",
72
+ "stage11",
73
+ "stage12"
74
+ ],
75
+ "torch_dtype": "float32",
76
+ "transformers_version": "4.48.3",
77
+ "use_absolute_position_embeddings": false,
78
+ "use_auxiliary_head": true,
79
+ "use_mask_token": false,
80
+ "use_mean_pooling": true,
81
+ "use_relative_position_bias": true,
82
+ "use_shared_relative_position_bias": false,
83
+ "vocab_size": 8192
84
+ }
logs/events.out.tfevents.1740248437.2fc0677913f2.828.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f852b6b58f63624151c33de49c8c28c837a44e43c17a7e2411d06a6072de0621
3
+ size 88
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbe188f4a3344045bf021f9b6d83d07606800256c8fccb5e0d03ffdeabdcc1dc
3
+ size 343098784
preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": false,
7
+ "do_normalize": true,
8
+ "do_reduce_labels": false,
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": "BeitImageProcessor",
17
+ "image_std": [
18
+ 0.5,
19
+ 0.5,
20
+ 0.5
21
+ ],
22
+ "resample": 2,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "height": 224,
26
+ "width": 224
27
+ }
28
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c72e13451fd913beaea5b2a6018b318ac51e2cc14ea35c6dbee24971d66f1aa
3
+ size 5496