SodaXII commited on
Commit
2835f1e
·
verified ·
1 Parent(s): c5f7e0f

Model save

Browse files
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: facebook/dinov2-base
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: dinov2-base_rice-leaf-disease-augmented_t_020225
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
+ # dinov2-base_rice-leaf-disease-augmented_t_020225
16
+
17
+ This model is a fine-tuned version of [facebook/dinov2-base](https://huggingface.co/facebook/dinov2-base) 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: linear
42
+ - lr_scheduler_warmup_ratio: 0.1
43
+ - num_epochs: 15
44
+
45
+ ### Framework versions
46
+
47
+ - Transformers 4.47.1
48
+ - Pytorch 2.5.1+cu124
49
+ - Datasets 3.2.0
50
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/dinov2-base",
3
+ "apply_layernorm": true,
4
+ "architectures": [
5
+ "Dinov2ForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "drop_path_rate": 0.0,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "Bacterial Leaf Blight",
14
+ "1": "Brown Spot",
15
+ "2": "Healthy Rice Leaf",
16
+ "3": "Leaf Blast",
17
+ "4": "Leaf Scald",
18
+ "5": "Narrow Brown Leaf Spot",
19
+ "6": "Rice Hispa",
20
+ "7": "Sheath Blight"
21
+ },
22
+ "image_size": 518,
23
+ "initializer_range": 0.02,
24
+ "label2id": {
25
+ "Bacterial Leaf Blight": 0,
26
+ "Brown Spot": 1,
27
+ "Healthy Rice Leaf": 2,
28
+ "Leaf Blast": 3,
29
+ "Leaf Scald": 4,
30
+ "Narrow Brown Leaf Spot": 5,
31
+ "Rice Hispa": 6,
32
+ "Sheath Blight": 7
33
+ },
34
+ "layer_norm_eps": 1e-06,
35
+ "layerscale_value": 1.0,
36
+ "mlp_ratio": 4,
37
+ "model_type": "dinov2",
38
+ "num_attention_heads": 12,
39
+ "num_channels": 3,
40
+ "num_hidden_layers": 12,
41
+ "out_features": [
42
+ "stage12"
43
+ ],
44
+ "out_indices": [
45
+ 12
46
+ ],
47
+ "patch_size": 14,
48
+ "qkv_bias": true,
49
+ "reshape_hidden_states": true,
50
+ "stage_names": [
51
+ "stem",
52
+ "stage1",
53
+ "stage2",
54
+ "stage3",
55
+ "stage4",
56
+ "stage5",
57
+ "stage6",
58
+ "stage7",
59
+ "stage8",
60
+ "stage9",
61
+ "stage10",
62
+ "stage11",
63
+ "stage12"
64
+ ],
65
+ "torch_dtype": "float32",
66
+ "transformers_version": "4.47.1",
67
+ "use_swiglu_ffn": false
68
+ }
logs/events.out.tfevents.1738506722.35f2609e732b.424.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8fcb41d586ff3360aa2decfd0578c30e89b466824086e69df89bd3a3e4eed73
3
+ size 88
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e7d162a179946bad4427ef2beecadc69141d51499d6e0b5da70ed647756e61b
3
+ size 346396816
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
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.485,
13
+ 0.456,
14
+ 0.406
15
+ ],
16
+ "image_processor_type": "BitImageProcessor",
17
+ "image_std": [
18
+ 0.229,
19
+ 0.224,
20
+ 0.225
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "shortest_edge": 256
26
+ }
27
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0c72446bae2d18434191920fbaf3bb247983bd69ed54b9782bcd03403bf2189
3
+ size 5432