itsLeen commited on
Commit
8234dee
1 Parent(s): 6c321ca

🍻 cheers

Browse files
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ model-index:
8
+ - name: finetuned-indian-food
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # finetuned-indian-food
16
+
17
+ 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 indian_food_images dataset.
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 0.0002
37
+ - train_batch_size: 16
38
+ - eval_batch_size: 8
39
+ - seed: 42
40
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
41
+ - lr_scheduler_type: linear
42
+ - num_epochs: 4
43
+ - mixed_precision_training: Native AMP
44
+
45
+ ### Framework versions
46
+
47
+ - Transformers 4.42.4
48
+ - Pytorch 2.3.1+cu121
49
+ - Datasets 2.21.0
50
+ - Tokenizers 0.19.1
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.42.4"
67
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d58c073314f5ac2f7ca77bfb5ec45f829058974ecb27cd4cf55ff51c5658b04f
3
+ size 343279344
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": "ViTFeatureExtractor",
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/Aug21_22-41-44_eed1c66d12d1/events.out.tfevents.1724280118.eed1c66d12d1.777.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e60946987ca9e8633e8dd1248e1236e0cafd8deb90e11b5f12e761c6344132bf
3
+ size 4184
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13f9ebd3c294e9aec77c38451c69c262cae96a32a8df36dab5148d0a6c05fdde
3
+ size 5112