End of training
Browse files
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
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
|
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: 2.9586
|
21 |
+
- Accuracy: 0.2692
|
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: 16
|
42 |
+
- eval_batch_size: 16
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 30
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| No log | 1.0 | 26 | 3.2666 | 0.0385 |
|
53 |
+
| No log | 2.0 | 52 | 3.2701 | 0.0385 |
|
54 |
+
| No log | 3.0 | 78 | 3.2713 | 0.0288 |
|
55 |
+
| No log | 4.0 | 104 | 3.2701 | 0.0769 |
|
56 |
+
| No log | 5.0 | 130 | 3.2584 | 0.0385 |
|
57 |
+
| No log | 6.0 | 156 | 3.2537 | 0.0577 |
|
58 |
+
| No log | 7.0 | 182 | 3.2402 | 0.0577 |
|
59 |
+
| No log | 8.0 | 208 | 3.2364 | 0.0577 |
|
60 |
+
| No log | 9.0 | 234 | 3.2055 | 0.0769 |
|
61 |
+
| No log | 10.0 | 260 | 3.1794 | 0.0769 |
|
62 |
+
| No log | 11.0 | 286 | 3.1851 | 0.1346 |
|
63 |
+
| No log | 12.0 | 312 | 3.1811 | 0.1058 |
|
64 |
+
| No log | 13.0 | 338 | 3.1594 | 0.1346 |
|
65 |
+
| No log | 14.0 | 364 | 3.1269 | 0.1635 |
|
66 |
+
| No log | 15.0 | 390 | 3.1082 | 0.125 |
|
67 |
+
| No log | 16.0 | 416 | 3.1019 | 0.2019 |
|
68 |
+
| No log | 17.0 | 442 | 3.0886 | 0.2019 |
|
69 |
+
| No log | 18.0 | 468 | 3.0599 | 0.2115 |
|
70 |
+
| No log | 19.0 | 494 | 3.0622 | 0.1731 |
|
71 |
+
| 3.0197 | 20.0 | 520 | 3.0474 | 0.1538 |
|
72 |
+
| 3.0197 | 21.0 | 546 | 3.0245 | 0.2115 |
|
73 |
+
| 3.0197 | 22.0 | 572 | 3.0386 | 0.1923 |
|
74 |
+
| 3.0197 | 23.0 | 598 | 3.0236 | 0.1923 |
|
75 |
+
| 3.0197 | 24.0 | 624 | 3.0201 | 0.1923 |
|
76 |
+
| 3.0197 | 25.0 | 650 | 3.0056 | 0.2212 |
|
77 |
+
| 3.0197 | 26.0 | 676 | 2.9649 | 0.25 |
|
78 |
+
| 3.0197 | 27.0 | 702 | 2.9900 | 0.2212 |
|
79 |
+
| 3.0197 | 28.0 | 728 | 2.9823 | 0.2308 |
|
80 |
+
| 3.0197 | 29.0 | 754 | 2.9782 | 0.2115 |
|
81 |
+
| 3.0197 | 30.0 | 780 | 3.0136 | 0.1635 |
|
82 |
+
|
83 |
+
|
84 |
+
### Framework versions
|
85 |
+
|
86 |
+
- Transformers 4.38.2
|
87 |
+
- Pytorch 2.2.1+cu121
|
88 |
+
- Datasets 2.18.0
|
89 |
+
- 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:ed6a5e443d7155a0e561b91d3caa5152e70fc3be9059dd7507c6432a10d6fc30
|
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/Mar17_18-55-40_df1c186cd307/events.out.tfevents.1710701754.df1c186cd307.237.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a7e95ba83bf4dbb253c92dea4001ce21f2f0283aac670f14675d63df437b57b
|
3 |
+
size 15529
|
runs/Mar17_18-55-40_df1c186cd307/events.out.tfevents.1710702509.df1c186cd307.237.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1fb94bdece10b82beb4c537d003e7b097df9f427128140795ec966bda5bc068f
|
3 |
+
size 411
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d9f2ffd3df424426ed2af993dea95342f028c15ab56c4f5da2c6004a1a43509f
|
3 |
+
size 4920
|