End of training
Browse files- README.md +74 -0
- config.json +42 -0
- model.safetensors +3 -0
- preprocessor_config.json +23 -0
- runs/Jan29_14-43-32_modal/events.out.tfevents.1738161813.modal.2.0 +3 -0
- runs/Jan29_14-43-32_modal/events.out.tfevents.1738161813.modal.2.1 +3 -0
- runs/Jan29_14-43-32_modal/events.out.tfevents.1738161870.modal.2.2 +3 -0
- runs/Jan29_14-43-32_modal/events.out.tfevents.1738161870.modal.2.3 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: google/vit-base-patch16-224-in21k
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: test_model_94
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# test_model_94
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the corranm/first_vote_100_per_new2 dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.8933
|
22 |
+
- F1 Macro: 0.0863
|
23 |
+
- F1 Micro: 0.2197
|
24 |
+
- F1 Weighted: 0.1195
|
25 |
+
- Precision Macro: 0.0630
|
26 |
+
- Precision Micro: 0.2197
|
27 |
+
- Precision Weighted: 0.0868
|
28 |
+
- Recall Macro: 0.1568
|
29 |
+
- Recall Micro: 0.2197
|
30 |
+
- Recall Weighted: 0.2197
|
31 |
+
- Accuracy: 0.2197
|
32 |
+
|
33 |
+
## Model description
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Intended uses & limitations
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training and evaluation data
|
42 |
+
|
43 |
+
More information needed
|
44 |
+
|
45 |
+
## Training procedure
|
46 |
+
|
47 |
+
### Training hyperparameters
|
48 |
+
|
49 |
+
The following hyperparameters were used during training:
|
50 |
+
- learning_rate: 5e-05
|
51 |
+
- train_batch_size: 32
|
52 |
+
- eval_batch_size: 32
|
53 |
+
- seed: 42
|
54 |
+
- gradient_accumulation_steps: 4
|
55 |
+
- total_train_batch_size: 128
|
56 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
57 |
+
- lr_scheduler_type: linear
|
58 |
+
- lr_scheduler_warmup_ratio: 0.1
|
59 |
+
- num_epochs: 2
|
60 |
+
|
61 |
+
### Training results
|
62 |
+
|
63 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 Macro | F1 Micro | F1 Weighted | Precision Macro | Precision Micro | Precision Weighted | Recall Macro | Recall Micro | Recall Weighted | Accuracy |
|
64 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:-----------:|:---------------:|:---------------:|:------------------:|:------------:|:------------:|:---------------:|:--------:|
|
65 |
+
| 1.9541 | 0.8 | 3 | 1.9150 | 0.0426 | 0.1591 | 0.0609 | 0.0263 | 0.1591 | 0.0377 | 0.1111 | 0.1591 | 0.1591 | 0.1591 |
|
66 |
+
| 1.9037 | 1.8 | 6 | 1.8975 | 0.0848 | 0.2121 | 0.1175 | 0.0601 | 0.2121 | 0.0831 | 0.1520 | 0.2121 | 0.2121 | 0.2121 |
|
67 |
+
|
68 |
+
|
69 |
+
### Framework versions
|
70 |
+
|
71 |
+
- Transformers 4.48.1
|
72 |
+
- Pytorch 2.5.1+cu124
|
73 |
+
- Datasets 3.2.0
|
74 |
+
- Tokenizers 0.21.0
|
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
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": "-",
|
13 |
+
"1": "0",
|
14 |
+
"2": "1",
|
15 |
+
"3": "2",
|
16 |
+
"4": "3",
|
17 |
+
"5": "4",
|
18 |
+
"6": "5"
|
19 |
+
},
|
20 |
+
"image_size": 224,
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"-": "0",
|
25 |
+
"0": "1",
|
26 |
+
"1": "2",
|
27 |
+
"2": "3",
|
28 |
+
"3": "4",
|
29 |
+
"4": "5",
|
30 |
+
"5": "6"
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-12,
|
33 |
+
"model_type": "vit",
|
34 |
+
"num_attention_heads": 12,
|
35 |
+
"num_channels": 3,
|
36 |
+
"num_hidden_layers": 12,
|
37 |
+
"patch_size": 16,
|
38 |
+
"problem_type": "single_label_classification",
|
39 |
+
"qkv_bias": true,
|
40 |
+
"torch_dtype": "float32",
|
41 |
+
"transformers_version": "4.48.1"
|
42 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:78f8ca6973fd02def57c9981bc33d63ab83f098a9e34e917261845eee1500645
|
3 |
+
size 343239356
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_rgb": null,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.5,
|
8 |
+
0.5,
|
9 |
+
0.5
|
10 |
+
],
|
11 |
+
"image_processor_type": "ViTImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.5,
|
14 |
+
0.5,
|
15 |
+
0.5
|
16 |
+
],
|
17 |
+
"resample": 2,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"height": 224,
|
21 |
+
"width": 224
|
22 |
+
}
|
23 |
+
}
|
runs/Jan29_14-43-32_modal/events.out.tfevents.1738161813.modal.2.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:04e0d14b4514da6e2b42a9a3c9b955f1d1f485808fb5e7e140d3be6d40977024
|
3 |
+
size 7741
|
runs/Jan29_14-43-32_modal/events.out.tfevents.1738161813.modal.2.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b03a8c755d2e55b4d01a628e6e032512b8a48686e78d796bdc3ae01cbac21db9
|
3 |
+
size 7741
|
runs/Jan29_14-43-32_modal/events.out.tfevents.1738161870.modal.2.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bce360999d4d9c99a1ad29e7b3eb8188ae44ebf8e29caafa7b73de9e41dccad5
|
3 |
+
size 906
|
runs/Jan29_14-43-32_modal/events.out.tfevents.1738161870.modal.2.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43cc81ed1bc04870ce1d5de0be4b5d40be87d856b7a6a425916e312cef5098c7
|
3 |
+
size 906
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9da51136f1a3bba0acdb597d582d2e1cb3f2c940610ae907507223e8e78d9d50
|
3 |
+
size 5368
|