buddhadeb33 commited on
Commit
1caa219
·
verified ·
1 Parent(s): aa5108f

32health/non-ada-classification

Browse files
Files changed (5) hide show
  1. README.md +76 -0
  2. config.json +70 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +28 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: facebook/dinov2-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: outputs_Feb_2026
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # outputs_Feb_2026
20
+
21
+ This model is a fine-tuned version of [facebook/dinov2-base](https://huggingface.co/facebook/dinov2-base) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0353
24
+ - Precision: 0.9789
25
+ - Recall: 0.9769
26
+ - F1: 0.9779
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 5e-06
46
+ - train_batch_size: 4
47
+ - eval_batch_size: 4
48
+ - seed: 42
49
+ - gradient_accumulation_steps: 8
50
+ - total_train_batch_size: 32
51
+ - optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_steps: 0.1
54
+ - num_epochs: 8
55
+ - mixed_precision_training: Native AMP
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 |
60
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|
61
+ | 0.4174 | 1.0 | 145 | 0.0736 | 0.9245 | 0.9139 | 0.9192 |
62
+ | 0.2111 | 2.0 | 290 | 0.0321 | 0.9615 | 0.9716 | 0.9666 |
63
+ | 0.0776 | 3.0 | 435 | 0.0303 | 0.9667 | 0.9748 | 0.9707 |
64
+ | 0.0637 | 4.0 | 580 | 0.0316 | 0.9738 | 0.9769 | 0.9754 |
65
+ | 0.0401 | 5.0 | 725 | 0.0322 | 0.9850 | 0.9664 | 0.9756 |
66
+ | 0.0138 | 6.0 | 870 | 0.0357 | 0.9799 | 0.9716 | 0.9757 |
67
+ | 0.0449 | 7.0 | 1015 | 0.0391 | 0.9799 | 0.9748 | 0.9774 |
68
+ | 0.0008 | 8.0 | 1160 | 0.0353 | 0.9789 | 0.9769 | 0.9779 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 5.0.0
74
+ - Pytorch 2.10.0+cu128
75
+ - Datasets 4.5.0
76
+ - Tokenizers 0.22.2
config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "apply_layernorm": true,
3
+ "architectures": [
4
+ "Dinov2ForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "drop_path_rate": 0.0,
8
+ "dtype": "float32",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "Pano",
14
+ "1": "FMX",
15
+ "2": "BW",
16
+ "3": "PA",
17
+ "4": "PC",
18
+ "5": "IOP",
19
+ "6": "Photo",
20
+ "7": "NA"
21
+ },
22
+ "image_size": 518,
23
+ "initializer_range": 0.02,
24
+ "label2id": {
25
+ "BW": 2,
26
+ "FMX": 1,
27
+ "IOP": 5,
28
+ "NA": 7,
29
+ "PA": 3,
30
+ "PC": 4,
31
+ "Pano": 0,
32
+ "Photo": 6
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
+ "problem_type": "multi_label_classification",
49
+ "qkv_bias": true,
50
+ "reshape_hidden_states": true,
51
+ "stage_names": [
52
+ "stem",
53
+ "stage1",
54
+ "stage2",
55
+ "stage3",
56
+ "stage4",
57
+ "stage5",
58
+ "stage6",
59
+ "stage7",
60
+ "stage8",
61
+ "stage9",
62
+ "stage10",
63
+ "stage11",
64
+ "stage12"
65
+ ],
66
+ "transformers_version": "5.0.0",
67
+ "use_cache": false,
68
+ "use_mask_token": true,
69
+ "use_swiglu_ffn": false
70
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf71e37becf341923fb7011fd851669407086111825b07771802ff113953647d
3
+ size 346396816
preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "data_format": "channels_first",
7
+ "do_center_crop": true,
8
+ "do_convert_rgb": true,
9
+ "do_normalize": true,
10
+ "do_rescale": true,
11
+ "do_resize": true,
12
+ "image_mean": [
13
+ 0.485,
14
+ 0.456,
15
+ 0.406
16
+ ],
17
+ "image_processor_type": "BitImageProcessorFast",
18
+ "image_std": [
19
+ 0.229,
20
+ 0.224,
21
+ 0.225
22
+ ],
23
+ "resample": 3,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "shortest_edge": 256
27
+ }
28
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae59e5aed5ffeb8972fea4f8bb79d9c3fb0db4063281c95dd0a49170b70519cc
3
+ size 5201