Marxulia commited on
Commit
d7f9612
·
verified ·
1 Parent(s): 93d4ef1

End of training

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224-in21k
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: asl_aplhabet_img_classifier_v3
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # asl_aplhabet_img_classifier_v3
17
+
18
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.7922
21
+ - Accuracy: 0.7549
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 1e-05
41
+ - train_batch_size: 32
42
+ - eval_batch_size: 32
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 8
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | No log | 1.0 | 272 | 3.0038 | 0.3802 |
53
+ | 3.0097 | 2.0 | 544 | 2.5739 | 0.5880 |
54
+ | 3.0097 | 3.0 | 816 | 2.2886 | 0.6464 |
55
+ | 2.3653 | 4.0 | 1088 | 2.0810 | 0.7099 |
56
+ | 2.3653 | 5.0 | 1360 | 1.9355 | 0.7407 |
57
+ | 1.9884 | 6.0 | 1632 | 1.8371 | 0.7582 |
58
+ | 1.9884 | 7.0 | 1904 | 1.7752 | 0.7701 |
59
+ | 1.8003 | 8.0 | 2176 | 1.7531 | 0.7674 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.38.2
65
+ - Pytorch 2.2.1+cu121
66
+ - Datasets 2.18.0
67
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "A",
13
+ "1": "B",
14
+ "10": "K",
15
+ "11": "L",
16
+ "12": "M",
17
+ "13": "N",
18
+ "14": "O",
19
+ "15": "P",
20
+ "16": "Q",
21
+ "17": "R",
22
+ "18": "S",
23
+ "19": "T",
24
+ "2": "C",
25
+ "20": "U",
26
+ "21": "V",
27
+ "22": "W",
28
+ "23": "X",
29
+ "24": "Y",
30
+ "25": "Z",
31
+ "3": "D",
32
+ "4": "E",
33
+ "5": "F",
34
+ "6": "G",
35
+ "7": "H",
36
+ "8": "I",
37
+ "9": "J"
38
+ },
39
+ "image_size": 224,
40
+ "initializer_range": 0.02,
41
+ "intermediate_size": 3072,
42
+ "label2id": {
43
+ "A": "0",
44
+ "B": "1",
45
+ "C": "2",
46
+ "D": "3",
47
+ "E": "4",
48
+ "F": "5",
49
+ "G": "6",
50
+ "H": "7",
51
+ "I": "8",
52
+ "J": "9",
53
+ "K": "10",
54
+ "L": "11",
55
+ "M": "12",
56
+ "N": "13",
57
+ "O": "14",
58
+ "P": "15",
59
+ "Q": "16",
60
+ "R": "17",
61
+ "S": "18",
62
+ "T": "19",
63
+ "U": "20",
64
+ "V": "21",
65
+ "W": "22",
66
+ "X": "23",
67
+ "Y": "24",
68
+ "Z": "25"
69
+ },
70
+ "layer_norm_eps": 1e-12,
71
+ "model_type": "vit",
72
+ "num_attention_heads": 12,
73
+ "num_channels": 3,
74
+ "num_hidden_layers": 12,
75
+ "patch_size": 16,
76
+ "problem_type": "single_label_classification",
77
+ "qkv_bias": true,
78
+ "torch_dtype": "float32",
79
+ "transformers_version": "4.38.2"
80
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccab1c18932a22d067b0112731c80a6da47845d218d12ff420b0bdc81b58da8c
3
+ size 343297800
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/Mar18_18-09-59_303953badf65/events.out.tfevents.1710785407.303953badf65.429.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc61453e5c8263ebe72de3e5df4ae6cfa88689efffe1282f8067db550ecce3b5
3
+ size 9088
runs/Mar18_18-09-59_303953badf65/events.out.tfevents.1710788353.303953badf65.429.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c84fef7897041d2977409d960001c1d9e08fca25f6a3ebc7ab1d5ef3fb21cdb
3
+ size 411
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16bee53eb2c058bc6b2e1a8523815bf88413d782ad6f9764dda8dce97f3818fa
3
+ size 4920