Ganesh-KSV
commited on
Commit
•
eaf7839
1
Parent(s):
564a108
Upload 4 files
Browse files- config.json +66 -0
- model.safetensors +3 -0
- preprocessor_config.json +36 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "WinKawaks/vit-tiny-patch16-224",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 192,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Angelina Jolie",
|
13 |
+
"1": "Brad Pitt",
|
14 |
+
"2": "Chris Evans",
|
15 |
+
"3": "Chris Hemsworth",
|
16 |
+
"4": "Denzel Washington",
|
17 |
+
"5": "Hugh Jackman",
|
18 |
+
"6": "Jennifer Lawrence",
|
19 |
+
"7": "Johnny Depp",
|
20 |
+
"8": "Kate Winslet",
|
21 |
+
"9": "Leonardo DiCaprio",
|
22 |
+
"10": "Megan Fox",
|
23 |
+
"11": "Natalie Portman",
|
24 |
+
"12": "Nicole Kidman",
|
25 |
+
"13": "Robert Downey Jr",
|
26 |
+
"14": "Sandra Bullock",
|
27 |
+
"15": "Scarlett Johansson",
|
28 |
+
"16": "Tom Cruise",
|
29 |
+
"17": "Tom Hanks",
|
30 |
+
"18": "Will Smith"
|
31 |
+
},
|
32 |
+
"image_size": 224,
|
33 |
+
"initializer_range": 0.02,
|
34 |
+
"intermediate_size": 768,
|
35 |
+
"label2id": {
|
36 |
+
"Angelina Jolie": 0,
|
37 |
+
"Brad Pitt": 1,
|
38 |
+
"Chris Evans": 2,
|
39 |
+
"Chris Hemsworth": 3,
|
40 |
+
"Denzel Washington": 4,
|
41 |
+
"Hugh Jackman": 5,
|
42 |
+
"Jennifer Lawrence": 6,
|
43 |
+
"Johnny Depp": 7,
|
44 |
+
"Kate Winslet": 8,
|
45 |
+
"Leonardo DiCaprio": 9,
|
46 |
+
"Megan Fox": 10,
|
47 |
+
"Natalie Portman": 11,
|
48 |
+
"Nicole Kidman": 12,
|
49 |
+
"Robert Downey Jr": 13,
|
50 |
+
"Sandra Bullock": 14,
|
51 |
+
"Scarlett Johansson": 15,
|
52 |
+
"Tom Cruise": 16,
|
53 |
+
"Tom Hanks": 17,
|
54 |
+
"Will Smith": 18
|
55 |
+
},
|
56 |
+
"layer_norm_eps": 1e-12,
|
57 |
+
"model_type": "vit",
|
58 |
+
"num_attention_heads": 3,
|
59 |
+
"num_channels": 3,
|
60 |
+
"num_hidden_layers": 12,
|
61 |
+
"patch_size": 16,
|
62 |
+
"problem_type": "single_label_classification",
|
63 |
+
"qkv_bias": true,
|
64 |
+
"torch_dtype": "float32",
|
65 |
+
"transformers_version": "4.41.0"
|
66 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6735edfdf9383664c670b4fe91025c691bd9f63d0c60f6066b634d4f658fbb62
|
3 |
+
size 22135052
|
preprocessor_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_rescale",
|
8 |
+
"rescale_factor",
|
9 |
+
"do_normalize",
|
10 |
+
"image_mean",
|
11 |
+
"image_std",
|
12 |
+
"return_tensors",
|
13 |
+
"data_format",
|
14 |
+
"input_data_format"
|
15 |
+
],
|
16 |
+
"do_normalize": true,
|
17 |
+
"do_rescale": true,
|
18 |
+
"do_resize": true,
|
19 |
+
"image_mean": [
|
20 |
+
0.5,
|
21 |
+
0.5,
|
22 |
+
0.5
|
23 |
+
],
|
24 |
+
"image_processor_type": "ViTImageProcessor",
|
25 |
+
"image_std": [
|
26 |
+
0.5,
|
27 |
+
0.5,
|
28 |
+
0.5
|
29 |
+
],
|
30 |
+
"resample": 2,
|
31 |
+
"rescale_factor": 0.00392156862745098,
|
32 |
+
"size": {
|
33 |
+
"height": 224,
|
34 |
+
"width": 224
|
35 |
+
}
|
36 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c14a678bf2fad40a7aa2941892db45e9b95899257ba19c9421baea30b02f692f
|
3 |
+
size 5048
|