Upload 4 files
Browse files- config.json +80 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/content/google-vit-base-ASL/content/content/trainer",
|
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 |
+
"2": "C",
|
15 |
+
"3": "D",
|
16 |
+
"4": "E",
|
17 |
+
"5": "F",
|
18 |
+
"6": "G",
|
19 |
+
"7": "H",
|
20 |
+
"8": "I",
|
21 |
+
"9": "J",
|
22 |
+
"10": "K",
|
23 |
+
"11": "L",
|
24 |
+
"12": "M",
|
25 |
+
"13": "N",
|
26 |
+
"14": "O",
|
27 |
+
"15": "P",
|
28 |
+
"16": "Q",
|
29 |
+
"17": "R",
|
30 |
+
"18": "S",
|
31 |
+
"19": "T",
|
32 |
+
"20": "U",
|
33 |
+
"21": "V",
|
34 |
+
"22": "W",
|
35 |
+
"23": "X",
|
36 |
+
"24": "Y",
|
37 |
+
"25": "Z"
|
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:3ab3ffbe314bdae0498e589061dccf105ef66537e21889245c6664a4c59381ae
|
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 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:310689f34d419fb0e8121737c9237dca002ed528af27d3eb50811a93f4de533d
|
3 |
+
size 4920
|