iTzMiNOS commited on
Commit
3566422
·
verified ·
1 Parent(s): a34f365

Upload 4 files

Browse files
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "kookoo_sabzi",
13
+ "1": "tahchin",
14
+ "2": "ash_reshteh",
15
+ "3": "khoresht_gheymeh",
16
+ "4": "zereshk_polo",
17
+ "5": "ghormeh_sabzi",
18
+ "6": "shole_zard",
19
+ "7": "kabab_koobideh",
20
+ "8": "faloodeh",
21
+ "9": "fesenjan",
22
+ "10": "halim_bademjan",
23
+ "11": "baghali_polo"
24
+ },
25
+ "image_size": 224,
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "ash_reshteh": 2,
30
+ "baghali_polo": 11,
31
+ "faloodeh": 8,
32
+ "fesenjan": 9,
33
+ "ghormeh_sabzi": 5,
34
+ "halim_bademjan": 10,
35
+ "kabab_koobideh": 7,
36
+ "khoresht_gheymeh": 3,
37
+ "kookoo_sabzi": 0,
38
+ "shole_zard": 6,
39
+ "tahchin": 1,
40
+ "zereshk_polo": 4
41
+ },
42
+ "layer_norm_eps": 1e-12,
43
+ "model_type": "vit",
44
+ "num_attention_heads": 12,
45
+ "num_channels": 3,
46
+ "num_hidden_layers": 12,
47
+ "patch_size": 16,
48
+ "problem_type": "single_label_classification",
49
+ "qkv_bias": true,
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.48.3"
52
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04d21028f870e07b2a025d6508a119e6cd74a1af3924429ff3b78717106ed33c
3
+ size 343254736
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": "ViTImageProcessorFast",
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81dff14ef9e27ba036e95215b54032e710a04dbefb1fffe51b9f4083744e2b55
3
+ size 5304