Maheswari001 commited on
Commit
fc9c1ed
1 Parent(s): d380949

🍻 cheers

Browse files
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224-in21k
4
+ tags:
5
+ - image-classification
6
+ - generated_from_trainer
7
+ datasets:
8
+ - imagefolder
9
+ model-index:
10
+ - name: finetuned-indian-food
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # finetuned-indian-food
18
+
19
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the finetuned-indian-food dataset.
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 0.0002
39
+ - train_batch_size: 16
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 4
45
+
46
+ ### Framework versions
47
+
48
+ - Transformers 4.39.3
49
+ - Pytorch 2.2.2+cu121
50
+ - Datasets 2.18.0
51
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "burger",
13
+ "1": "butter_naan",
14
+ "10": "kaathi_rolls",
15
+ "11": "kadai_paneer",
16
+ "12": "kulfi",
17
+ "13": "masala_dosa",
18
+ "14": "momos",
19
+ "15": "paani_puri",
20
+ "16": "pakode",
21
+ "17": "pav_bhaji",
22
+ "18": "pizza",
23
+ "19": "samosa",
24
+ "2": "chai",
25
+ "3": "chapati",
26
+ "4": "chole_bhature",
27
+ "5": "dal_makhani",
28
+ "6": "dhokla",
29
+ "7": "fried_rice",
30
+ "8": "idli",
31
+ "9": "jalebi"
32
+ },
33
+ "image_size": 224,
34
+ "initializer_range": 0.02,
35
+ "intermediate_size": 3072,
36
+ "label2id": {
37
+ "burger": "0",
38
+ "butter_naan": "1",
39
+ "chai": "2",
40
+ "chapati": "3",
41
+ "chole_bhature": "4",
42
+ "dal_makhani": "5",
43
+ "dhokla": "6",
44
+ "fried_rice": "7",
45
+ "idli": "8",
46
+ "jalebi": "9",
47
+ "kaathi_rolls": "10",
48
+ "kadai_paneer": "11",
49
+ "kulfi": "12",
50
+ "masala_dosa": "13",
51
+ "momos": "14",
52
+ "paani_puri": "15",
53
+ "pakode": "16",
54
+ "pav_bhaji": "17",
55
+ "pizza": "18",
56
+ "samosa": "19"
57
+ },
58
+ "layer_norm_eps": 1e-12,
59
+ "model_type": "vit",
60
+ "num_attention_heads": 12,
61
+ "num_channels": 3,
62
+ "num_hidden_layers": 12,
63
+ "patch_size": 16,
64
+ "qkv_bias": true,
65
+ "torch_dtype": "float32",
66
+ "transformers_version": "4.39.3"
67
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fa00d457c51a64a739cceb5d86fea87ae112cea06db942b36bfb4b879432bcf
3
+ size 343279344
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": "ViTFeatureExtractor",
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
+ }
runs/Apr16_07-19-41_2babcb6593df/events.out.tfevents.1713253061.2babcb6593df.7358.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a028e893925d2e00fe135f8bda7dfc11d7b13299dd31ef010b1751dc388dfb79
3
+ size 5375
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc7f881950d4fc6040e05b9fca74978747541b0eb1b1b41516bab7e474f95df0
3
+ size 4920