Augusto777 commited on
Commit
9444427
1 Parent(s): 74787fc

Model save

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ metrics:
5
+ - accuracy
6
+ model-index:
7
+ - name: vit-base-patch16-224-dmae-va-U5-100bc
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # vit-base-patch16-224-dmae-va-U5-100bc
15
+
16
+ This model was trained from scratch on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.5346
19
+ - Accuracy: 0.85
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 32
40
+ - eval_batch_size: 32
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 4
43
+ - total_train_batch_size: 128
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - lr_scheduler_warmup_ratio: 0.05
47
+ - num_epochs: 10
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | No log | 0.9 | 7 | 0.5017 | 0.8667 |
54
+ | 0.3168 | 1.94 | 15 | 0.5970 | 0.8 |
55
+ | 0.2613 | 2.97 | 23 | 0.5442 | 0.8167 |
56
+ | 0.222 | 4.0 | 31 | 0.7156 | 0.7667 |
57
+ | 0.222 | 4.9 | 38 | 0.5175 | 0.85 |
58
+ | 0.1783 | 5.94 | 46 | 0.6035 | 0.8167 |
59
+ | 0.168 | 6.97 | 54 | 0.5045 | 0.85 |
60
+ | 0.1456 | 8.0 | 62 | 0.4923 | 0.85 |
61
+ | 0.1456 | 8.9 | 69 | 0.5346 | 0.85 |
62
+ | 0.1236 | 9.03 | 70 | 0.5346 | 0.85 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.36.2
68
+ - Pytorch 2.1.2+cu118
69
+ - Datasets 2.16.1
70
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "vit-base-patch16-224-dmae-va-U5-100b\\checkpoint-100",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "avanzada",
13
+ "1": "leve",
14
+ "2": "moderada",
15
+ "3": "no dmae"
16
+ },
17
+ "image_size": 224,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "avanzada": 0,
22
+ "leve": 1,
23
+ "moderada": 2,
24
+ "no dmae": 3
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "model_type": "vit",
28
+ "num_attention_heads": 12,
29
+ "num_channels": 3,
30
+ "num_hidden_layers": 12,
31
+ "patch_size": 16,
32
+ "problem_type": "single_label_classification",
33
+ "qkv_bias": true,
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.36.2"
36
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:120a0417a0713fe75c311a3e609ac77adb86345612974d044bad53a11a1c17a5
3
+ size 343230128
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
runs/Apr25_10-42-39_DESKTOP-SKBE9FB/events.out.tfevents.1714063360.DESKTOP-SKBE9FB.12604.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ef95abe139a01b86bf8e741c2067dd858b163a65785673e5d089acfde1297a0
3
+ size 9215
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ced0f50911af5396e7f670e4f5d283469978aa717c00dbe739bcd9d6ca27bd84
3
+ size 4792