Image Classification
Transformers
TensorBoard
Safetensors
vit
food-ingredient-classification
food101
food101-finetuned
Generated from Trainer
Instructions to use ericmconnelly/finetuned-food101 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ericmconnelly/finetuned-food101 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ericmconnelly/finetuned-food101") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("ericmconnelly/finetuned-food101") model = AutoModelForImageClassification.from_pretrained("ericmconnelly/finetuned-food101", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Eric Connelly commited on
Model save
Browse files- README.md +221 -0
- config.json +230 -0
- model.safetensors +3 -0
- preprocessor_config.json +36 -0
- runs/Apr27_05-09-20_8eec29eb7fb6/events.out.tfevents.1714194595.8eec29eb7fb6.22380.0 +3 -0
- runs/Apr27_05-14-22_8eec29eb7fb6/events.out.tfevents.1714194870.8eec29eb7fb6.22380.1 +3 -0
- runs/Apr27_05-15-14_8eec29eb7fb6/events.out.tfevents.1714194920.8eec29eb7fb6.22380.2 +3 -0
- runs/Apr27_05-18-08_8eec29eb7fb6/events.out.tfevents.1714195093.8eec29eb7fb6.22380.3 +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: google/vit-base-patch16-224-in21k
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
model-index:
|
| 9 |
+
- name: finetuned-food101
|
| 10 |
+
results: []
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
+
|
| 16 |
+
# finetuned-food101
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.6105
|
| 21 |
+
- Accuracy: 0.8400
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 0.0002
|
| 41 |
+
- train_batch_size: 16
|
| 42 |
+
- eval_batch_size: 8
|
| 43 |
+
- seed: 42
|
| 44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 45 |
+
- lr_scheduler_type: linear
|
| 46 |
+
- num_epochs: 4
|
| 47 |
+
- mixed_precision_training: Native AMP
|
| 48 |
+
|
| 49 |
+
### Training results
|
| 50 |
+
|
| 51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 52 |
+
|:-------------:|:------:|:-----:|:---------------:|:--------:|
|
| 53 |
+
| 4.1344 | 0.0248 | 100 | 4.0304 | 0.3063 |
|
| 54 |
+
| 3.5328 | 0.0497 | 200 | 3.3729 | 0.4410 |
|
| 55 |
+
| 2.9715 | 0.0745 | 300 | 2.8900 | 0.5135 |
|
| 56 |
+
| 2.724 | 0.0994 | 400 | 2.5096 | 0.5443 |
|
| 57 |
+
| 2.311 | 0.1242 | 500 | 2.1726 | 0.5895 |
|
| 58 |
+
| 2.266 | 0.1491 | 600 | 2.0223 | 0.5880 |
|
| 59 |
+
| 1.9671 | 0.1739 | 700 | 1.7585 | 0.6330 |
|
| 60 |
+
| 1.8617 | 0.1988 | 800 | 1.7300 | 0.6212 |
|
| 61 |
+
| 1.4694 | 0.2236 | 900 | 1.7507 | 0.6078 |
|
| 62 |
+
| 1.7876 | 0.2484 | 1000 | 1.6520 | 0.6133 |
|
| 63 |
+
| 1.7647 | 0.2733 | 1100 | 1.4576 | 0.6598 |
|
| 64 |
+
| 1.7 | 0.2981 | 1200 | 1.4420 | 0.6577 |
|
| 65 |
+
| 1.533 | 0.3230 | 1300 | 1.4389 | 0.6537 |
|
| 66 |
+
| 1.3895 | 0.3478 | 1400 | 1.4178 | 0.6587 |
|
| 67 |
+
| 1.5497 | 0.3727 | 1500 | 1.3048 | 0.6861 |
|
| 68 |
+
| 1.3327 | 0.3975 | 1600 | 1.3361 | 0.6714 |
|
| 69 |
+
| 1.53 | 0.4224 | 1700 | 1.3425 | 0.6697 |
|
| 70 |
+
| 1.538 | 0.4472 | 1800 | 1.3453 | 0.6642 |
|
| 71 |
+
| 1.5056 | 0.4720 | 1900 | 1.2742 | 0.6783 |
|
| 72 |
+
| 1.2728 | 0.4969 | 2000 | 1.1779 | 0.7045 |
|
| 73 |
+
| 1.1734 | 0.5217 | 2100 | 1.2630 | 0.6808 |
|
| 74 |
+
| 1.527 | 0.5466 | 2200 | 1.1810 | 0.7023 |
|
| 75 |
+
| 1.3873 | 0.5714 | 2300 | 1.1831 | 0.7040 |
|
| 76 |
+
| 1.3545 | 0.5963 | 2400 | 1.1836 | 0.7002 |
|
| 77 |
+
| 1.4842 | 0.6211 | 2500 | 1.1441 | 0.7129 |
|
| 78 |
+
| 1.1974 | 0.6460 | 2600 | 1.1230 | 0.7155 |
|
| 79 |
+
| 1.4204 | 0.6708 | 2700 | 1.1766 | 0.7002 |
|
| 80 |
+
| 1.152 | 0.6957 | 2800 | 1.2166 | 0.6950 |
|
| 81 |
+
| 1.162 | 0.7205 | 2900 | 1.1674 | 0.7003 |
|
| 82 |
+
| 1.4516 | 0.7453 | 3000 | 1.1207 | 0.7140 |
|
| 83 |
+
| 1.2378 | 0.7702 | 3100 | 1.2072 | 0.6906 |
|
| 84 |
+
| 0.991 | 0.7950 | 3200 | 1.1122 | 0.7131 |
|
| 85 |
+
| 1.3078 | 0.8199 | 3300 | 1.1207 | 0.7170 |
|
| 86 |
+
| 1.1483 | 0.8447 | 3400 | 1.0665 | 0.7245 |
|
| 87 |
+
| 1.453 | 0.8696 | 3500 | 1.0640 | 0.7267 |
|
| 88 |
+
| 1.4457 | 0.8944 | 3600 | 1.0565 | 0.7321 |
|
| 89 |
+
| 1.1636 | 0.9193 | 3700 | 1.0576 | 0.7255 |
|
| 90 |
+
| 1.157 | 0.9441 | 3800 | 1.0648 | 0.7261 |
|
| 91 |
+
| 1.1923 | 0.9689 | 3900 | 1.0473 | 0.7271 |
|
| 92 |
+
| 1.2325 | 0.9938 | 4000 | 1.0501 | 0.7298 |
|
| 93 |
+
| 1.1503 | 1.0186 | 4100 | 1.0566 | 0.7243 |
|
| 94 |
+
| 1.0633 | 1.0435 | 4200 | 1.0005 | 0.7444 |
|
| 95 |
+
| 1.2061 | 1.0683 | 4300 | 1.0196 | 0.7377 |
|
| 96 |
+
| 1.0315 | 1.0932 | 4400 | 1.0139 | 0.7392 |
|
| 97 |
+
| 1.038 | 1.1180 | 4500 | 1.0299 | 0.7318 |
|
| 98 |
+
| 0.7728 | 1.1429 | 4600 | 1.0522 | 0.7257 |
|
| 99 |
+
| 0.9302 | 1.1677 | 4700 | 1.0219 | 0.7362 |
|
| 100 |
+
| 1.1084 | 1.1925 | 4800 | 0.9940 | 0.7349 |
|
| 101 |
+
| 1.0345 | 1.2174 | 4900 | 0.9775 | 0.7446 |
|
| 102 |
+
| 1.0541 | 1.2422 | 5000 | 1.0076 | 0.7366 |
|
| 103 |
+
| 0.9345 | 1.2671 | 5100 | 1.0075 | 0.7398 |
|
| 104 |
+
| 0.9149 | 1.2919 | 5200 | 1.0558 | 0.7261 |
|
| 105 |
+
| 1.2583 | 1.3168 | 5300 | 0.9703 | 0.7476 |
|
| 106 |
+
| 1.0745 | 1.3416 | 5400 | 0.9902 | 0.7425 |
|
| 107 |
+
| 0.8319 | 1.3665 | 5500 | 0.9442 | 0.7553 |
|
| 108 |
+
| 1.1286 | 1.3913 | 5600 | 0.9620 | 0.7532 |
|
| 109 |
+
| 0.8228 | 1.4161 | 5700 | 0.9329 | 0.7555 |
|
| 110 |
+
| 1.3209 | 1.4410 | 5800 | 0.9402 | 0.7543 |
|
| 111 |
+
| 0.7629 | 1.4658 | 5900 | 0.9497 | 0.7547 |
|
| 112 |
+
| 0.9906 | 1.4907 | 6000 | 0.9362 | 0.7589 |
|
| 113 |
+
| 0.9966 | 1.5155 | 6100 | 0.9322 | 0.7595 |
|
| 114 |
+
| 0.8868 | 1.5404 | 6200 | 0.9613 | 0.7506 |
|
| 115 |
+
| 0.956 | 1.5652 | 6300 | 0.9370 | 0.7568 |
|
| 116 |
+
| 1.1833 | 1.5901 | 6400 | 0.9277 | 0.7597 |
|
| 117 |
+
| 0.9747 | 1.6149 | 6500 | 0.8777 | 0.7696 |
|
| 118 |
+
| 1.0119 | 1.6398 | 6600 | 0.8980 | 0.7653 |
|
| 119 |
+
| 0.9764 | 1.6646 | 6700 | 0.9071 | 0.7641 |
|
| 120 |
+
| 1.0528 | 1.6894 | 6800 | 0.8941 | 0.7694 |
|
| 121 |
+
| 0.942 | 1.7143 | 6900 | 0.8718 | 0.7737 |
|
| 122 |
+
| 1.0387 | 1.7391 | 7000 | 0.8615 | 0.7787 |
|
| 123 |
+
| 0.9054 | 1.7640 | 7100 | 0.8689 | 0.7735 |
|
| 124 |
+
| 1.0327 | 1.7888 | 7200 | 0.8953 | 0.7692 |
|
| 125 |
+
| 0.8425 | 1.8137 | 7300 | 0.8533 | 0.7761 |
|
| 126 |
+
| 0.9388 | 1.8385 | 7400 | 0.8772 | 0.7687 |
|
| 127 |
+
| 1.1037 | 1.8634 | 7500 | 0.8634 | 0.7731 |
|
| 128 |
+
| 0.9659 | 1.8882 | 7600 | 0.8502 | 0.7766 |
|
| 129 |
+
| 1.0133 | 1.9130 | 7700 | 0.8479 | 0.7766 |
|
| 130 |
+
| 0.8395 | 1.9379 | 7800 | 0.8052 | 0.7889 |
|
| 131 |
+
| 0.8803 | 1.9627 | 7900 | 0.8379 | 0.7775 |
|
| 132 |
+
| 0.7866 | 1.9876 | 8000 | 0.8283 | 0.7835 |
|
| 133 |
+
| 0.5067 | 2.0124 | 8100 | 0.8207 | 0.7835 |
|
| 134 |
+
| 0.7083 | 2.0373 | 8200 | 0.8320 | 0.7803 |
|
| 135 |
+
| 0.6581 | 2.0621 | 8300 | 0.8162 | 0.7869 |
|
| 136 |
+
| 0.7376 | 2.0870 | 8400 | 0.8222 | 0.7871 |
|
| 137 |
+
| 0.6492 | 2.1118 | 8500 | 0.8153 | 0.7868 |
|
| 138 |
+
| 0.6356 | 2.1366 | 8600 | 0.7930 | 0.7929 |
|
| 139 |
+
| 0.7626 | 2.1615 | 8700 | 0.8167 | 0.7874 |
|
| 140 |
+
| 0.7389 | 2.1863 | 8800 | 0.8076 | 0.7889 |
|
| 141 |
+
| 0.503 | 2.2112 | 8900 | 0.8312 | 0.7869 |
|
| 142 |
+
| 0.7901 | 2.2360 | 9000 | 0.8137 | 0.7900 |
|
| 143 |
+
| 0.8387 | 2.2609 | 9100 | 0.8207 | 0.7832 |
|
| 144 |
+
| 0.7048 | 2.2857 | 9200 | 0.8105 | 0.7898 |
|
| 145 |
+
| 0.6412 | 2.3106 | 9300 | 0.7829 | 0.7950 |
|
| 146 |
+
| 0.6864 | 2.3354 | 9400 | 0.7851 | 0.7941 |
|
| 147 |
+
| 0.7411 | 2.3602 | 9500 | 0.7642 | 0.8031 |
|
| 148 |
+
| 0.6221 | 2.3851 | 9600 | 0.7603 | 0.8030 |
|
| 149 |
+
| 0.7769 | 2.4099 | 9700 | 0.7846 | 0.7975 |
|
| 150 |
+
| 0.7939 | 2.4348 | 9800 | 0.7914 | 0.7933 |
|
| 151 |
+
| 0.5641 | 2.4596 | 9900 | 0.7700 | 0.7992 |
|
| 152 |
+
| 0.8009 | 2.4845 | 10000 | 0.7699 | 0.8015 |
|
| 153 |
+
| 0.6111 | 2.5093 | 10100 | 0.7603 | 0.8036 |
|
| 154 |
+
| 0.925 | 2.5342 | 10200 | 0.7727 | 0.8003 |
|
| 155 |
+
| 0.6206 | 2.5590 | 10300 | 0.7765 | 0.7984 |
|
| 156 |
+
| 0.5977 | 2.5839 | 10400 | 0.7793 | 0.7960 |
|
| 157 |
+
| 0.8146 | 2.6087 | 10500 | 0.7799 | 0.7978 |
|
| 158 |
+
| 0.7869 | 2.6335 | 10600 | 0.7396 | 0.8087 |
|
| 159 |
+
| 0.8966 | 2.6584 | 10700 | 0.7386 | 0.8071 |
|
| 160 |
+
| 0.6654 | 2.6832 | 10800 | 0.7305 | 0.8103 |
|
| 161 |
+
| 0.737 | 2.7081 | 10900 | 0.7317 | 0.8083 |
|
| 162 |
+
| 0.9283 | 2.7329 | 11000 | 0.7409 | 0.8072 |
|
| 163 |
+
| 0.7491 | 2.7578 | 11100 | 0.7088 | 0.8153 |
|
| 164 |
+
| 0.6807 | 2.7826 | 11200 | 0.7154 | 0.8123 |
|
| 165 |
+
| 0.4485 | 2.8075 | 11300 | 0.6985 | 0.8180 |
|
| 166 |
+
| 0.6694 | 2.8323 | 11400 | 0.7124 | 0.8147 |
|
| 167 |
+
| 0.6661 | 2.8571 | 11500 | 0.7075 | 0.8153 |
|
| 168 |
+
| 0.7971 | 2.8820 | 11600 | 0.7375 | 0.8078 |
|
| 169 |
+
| 0.9771 | 2.9068 | 11700 | 0.7133 | 0.8133 |
|
| 170 |
+
| 0.5238 | 2.9317 | 11800 | 0.7077 | 0.8157 |
|
| 171 |
+
| 0.5636 | 2.9565 | 11900 | 0.7419 | 0.8030 |
|
| 172 |
+
| 0.8962 | 2.9814 | 12000 | 0.7021 | 0.8175 |
|
| 173 |
+
| 0.4561 | 3.0062 | 12100 | 0.7031 | 0.8162 |
|
| 174 |
+
| 0.4906 | 3.0311 | 12200 | 0.7104 | 0.8171 |
|
| 175 |
+
| 0.5422 | 3.0559 | 12300 | 0.7035 | 0.8154 |
|
| 176 |
+
| 0.5541 | 3.0807 | 12400 | 0.6905 | 0.8232 |
|
| 177 |
+
| 0.5009 | 3.1056 | 12500 | 0.6994 | 0.8173 |
|
| 178 |
+
| 0.4567 | 3.1304 | 12600 | 0.6911 | 0.8203 |
|
| 179 |
+
| 0.4431 | 3.1553 | 12700 | 0.6933 | 0.8192 |
|
| 180 |
+
| 0.5915 | 3.1801 | 12800 | 0.6838 | 0.8221 |
|
| 181 |
+
| 0.5551 | 3.2050 | 12900 | 0.6886 | 0.8199 |
|
| 182 |
+
| 0.4528 | 3.2298 | 13000 | 0.6883 | 0.8212 |
|
| 183 |
+
| 0.5563 | 3.2547 | 13100 | 0.6867 | 0.8192 |
|
| 184 |
+
| 0.4836 | 3.2795 | 13200 | 0.6771 | 0.8253 |
|
| 185 |
+
| 0.4535 | 3.3043 | 13300 | 0.6713 | 0.8249 |
|
| 186 |
+
| 0.468 | 3.3292 | 13400 | 0.6616 | 0.8270 |
|
| 187 |
+
| 0.4691 | 3.3540 | 13500 | 0.6707 | 0.8261 |
|
| 188 |
+
| 0.4784 | 3.3789 | 13600 | 0.6733 | 0.8241 |
|
| 189 |
+
| 0.5187 | 3.4037 | 13700 | 0.6658 | 0.8251 |
|
| 190 |
+
| 0.5105 | 3.4286 | 13800 | 0.6631 | 0.8275 |
|
| 191 |
+
| 0.3935 | 3.4534 | 13900 | 0.6656 | 0.8283 |
|
| 192 |
+
| 0.463 | 3.4783 | 14000 | 0.6554 | 0.8301 |
|
| 193 |
+
| 0.3259 | 3.5031 | 14100 | 0.6640 | 0.8292 |
|
| 194 |
+
| 0.7286 | 3.5280 | 14200 | 0.6500 | 0.8308 |
|
| 195 |
+
| 0.4422 | 3.5528 | 14300 | 0.6540 | 0.8313 |
|
| 196 |
+
| 0.4374 | 3.5776 | 14400 | 0.6497 | 0.8317 |
|
| 197 |
+
| 0.7962 | 3.6025 | 14500 | 0.6416 | 0.8340 |
|
| 198 |
+
| 0.6297 | 3.6273 | 14600 | 0.6393 | 0.8339 |
|
| 199 |
+
| 0.4933 | 3.6522 | 14700 | 0.6379 | 0.8336 |
|
| 200 |
+
| 0.5548 | 3.6770 | 14800 | 0.6300 | 0.8356 |
|
| 201 |
+
| 0.564 | 3.7019 | 14900 | 0.6284 | 0.8352 |
|
| 202 |
+
| 0.2638 | 3.7267 | 15000 | 0.6299 | 0.8338 |
|
| 203 |
+
| 0.6129 | 3.7516 | 15100 | 0.6253 | 0.8374 |
|
| 204 |
+
| 0.51 | 3.7764 | 15200 | 0.6205 | 0.8390 |
|
| 205 |
+
| 0.4612 | 3.8012 | 15300 | 0.6165 | 0.8390 |
|
| 206 |
+
| 0.5304 | 3.8261 | 15400 | 0.6112 | 0.8412 |
|
| 207 |
+
| 0.4738 | 3.8509 | 15500 | 0.6149 | 0.8388 |
|
| 208 |
+
| 0.3845 | 3.8758 | 15600 | 0.6141 | 0.8391 |
|
| 209 |
+
| 0.4533 | 3.9006 | 15700 | 0.6139 | 0.8399 |
|
| 210 |
+
| 0.3539 | 3.9255 | 15800 | 0.6131 | 0.8402 |
|
| 211 |
+
| 0.6485 | 3.9503 | 15900 | 0.6118 | 0.8397 |
|
| 212 |
+
| 0.331 | 3.9752 | 16000 | 0.6108 |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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "apple_pie",
|
| 13 |
+
"1": "baby_back_ribs",
|
| 14 |
+
"10": "bruschetta",
|
| 15 |
+
"100": "waffles",
|
| 16 |
+
"11": "caesar_salad",
|
| 17 |
+
"12": "cannoli",
|
| 18 |
+
"13": "caprese_salad",
|
| 19 |
+
"14": "carrot_cake",
|
| 20 |
+
"15": "ceviche",
|
| 21 |
+
"16": "cheesecake",
|
| 22 |
+
"17": "cheese_plate",
|
| 23 |
+
"18": "chicken_curry",
|
| 24 |
+
"19": "chicken_quesadilla",
|
| 25 |
+
"2": "baklava",
|
| 26 |
+
"20": "chicken_wings",
|
| 27 |
+
"21": "chocolate_cake",
|
| 28 |
+
"22": "chocolate_mousse",
|
| 29 |
+
"23": "churros",
|
| 30 |
+
"24": "clam_chowder",
|
| 31 |
+
"25": "club_sandwich",
|
| 32 |
+
"26": "crab_cakes",
|
| 33 |
+
"27": "creme_brulee",
|
| 34 |
+
"28": "croque_madame",
|
| 35 |
+
"29": "cup_cakes",
|
| 36 |
+
"3": "beef_carpaccio",
|
| 37 |
+
"30": "deviled_eggs",
|
| 38 |
+
"31": "donuts",
|
| 39 |
+
"32": "dumplings",
|
| 40 |
+
"33": "edamame",
|
| 41 |
+
"34": "eggs_benedict",
|
| 42 |
+
"35": "escargots",
|
| 43 |
+
"36": "falafel",
|
| 44 |
+
"37": "filet_mignon",
|
| 45 |
+
"38": "fish_and_chips",
|
| 46 |
+
"39": "foie_gras",
|
| 47 |
+
"4": "beef_tartare",
|
| 48 |
+
"40": "french_fries",
|
| 49 |
+
"41": "french_onion_soup",
|
| 50 |
+
"42": "french_toast",
|
| 51 |
+
"43": "fried_calamari",
|
| 52 |
+
"44": "fried_rice",
|
| 53 |
+
"45": "frozen_yogurt",
|
| 54 |
+
"46": "garlic_bread",
|
| 55 |
+
"47": "gnocchi",
|
| 56 |
+
"48": "greek_salad",
|
| 57 |
+
"49": "grilled_cheese_sandwich",
|
| 58 |
+
"5": "beet_salad",
|
| 59 |
+
"50": "grilled_salmon",
|
| 60 |
+
"51": "guacamole",
|
| 61 |
+
"52": "gyoza",
|
| 62 |
+
"53": "hamburger",
|
| 63 |
+
"54": "hot_and_sour_soup",
|
| 64 |
+
"55": "hot_dog",
|
| 65 |
+
"56": "huevos_rancheros",
|
| 66 |
+
"57": "hummus",
|
| 67 |
+
"58": "ice_cream",
|
| 68 |
+
"59": "lasagna",
|
| 69 |
+
"6": "beignets",
|
| 70 |
+
"60": "lobster_bisque",
|
| 71 |
+
"61": "lobster_roll_sandwich",
|
| 72 |
+
"62": "macaroni_and_cheese",
|
| 73 |
+
"63": "macarons",
|
| 74 |
+
"64": "miso_soup",
|
| 75 |
+
"65": "mussels",
|
| 76 |
+
"66": "nachos",
|
| 77 |
+
"67": "omelette",
|
| 78 |
+
"68": "onion_rings",
|
| 79 |
+
"69": "oysters",
|
| 80 |
+
"7": "bibimbap",
|
| 81 |
+
"70": "pad_thai",
|
| 82 |
+
"71": "paella",
|
| 83 |
+
"72": "pancakes",
|
| 84 |
+
"73": "panna_cotta",
|
| 85 |
+
"74": "peking_duck",
|
| 86 |
+
"75": "pho",
|
| 87 |
+
"76": "pizza",
|
| 88 |
+
"77": "pork_chop",
|
| 89 |
+
"78": "poutine",
|
| 90 |
+
"79": "prime_rib",
|
| 91 |
+
"8": "bread_pudding",
|
| 92 |
+
"80": "pulled_pork_sandwich",
|
| 93 |
+
"81": "ramen",
|
| 94 |
+
"82": "ravioli",
|
| 95 |
+
"83": "red_velvet_cake",
|
| 96 |
+
"84": "risotto",
|
| 97 |
+
"85": "samosa",
|
| 98 |
+
"86": "sashimi",
|
| 99 |
+
"87": "scallops",
|
| 100 |
+
"88": "seaweed_salad",
|
| 101 |
+
"89": "shrimp_and_grits",
|
| 102 |
+
"9": "breakfast_burrito",
|
| 103 |
+
"90": "spaghetti_bolognese",
|
| 104 |
+
"91": "spaghetti_carbonara",
|
| 105 |
+
"92": "spring_rolls",
|
| 106 |
+
"93": "steak",
|
| 107 |
+
"94": "strawberry_shortcake",
|
| 108 |
+
"95": "sushi",
|
| 109 |
+
"96": "tacos",
|
| 110 |
+
"97": "takoyaki",
|
| 111 |
+
"98": "tiramisu",
|
| 112 |
+
"99": "tuna_tartare"
|
| 113 |
+
},
|
| 114 |
+
"image_size": 224,
|
| 115 |
+
"initializer_range": 0.02,
|
| 116 |
+
"intermediate_size": 3072,
|
| 117 |
+
"label2id": {
|
| 118 |
+
"apple_pie": "0",
|
| 119 |
+
"baby_back_ribs": "1",
|
| 120 |
+
"baklava": "2",
|
| 121 |
+
"beef_carpaccio": "3",
|
| 122 |
+
"beef_tartare": "4",
|
| 123 |
+
"beet_salad": "5",
|
| 124 |
+
"beignets": "6",
|
| 125 |
+
"bibimbap": "7",
|
| 126 |
+
"bread_pudding": "8",
|
| 127 |
+
"breakfast_burrito": "9",
|
| 128 |
+
"bruschetta": "10",
|
| 129 |
+
"caesar_salad": "11",
|
| 130 |
+
"cannoli": "12",
|
| 131 |
+
"caprese_salad": "13",
|
| 132 |
+
"carrot_cake": "14",
|
| 133 |
+
"ceviche": "15",
|
| 134 |
+
"cheese_plate": "17",
|
| 135 |
+
"cheesecake": "16",
|
| 136 |
+
"chicken_curry": "18",
|
| 137 |
+
"chicken_quesadilla": "19",
|
| 138 |
+
"chicken_wings": "20",
|
| 139 |
+
"chocolate_cake": "21",
|
| 140 |
+
"chocolate_mousse": "22",
|
| 141 |
+
"churros": "23",
|
| 142 |
+
"clam_chowder": "24",
|
| 143 |
+
"club_sandwich": "25",
|
| 144 |
+
"crab_cakes": "26",
|
| 145 |
+
"creme_brulee": "27",
|
| 146 |
+
"croque_madame": "28",
|
| 147 |
+
"cup_cakes": "29",
|
| 148 |
+
"deviled_eggs": "30",
|
| 149 |
+
"donuts": "31",
|
| 150 |
+
"dumplings": "32",
|
| 151 |
+
"edamame": "33",
|
| 152 |
+
"eggs_benedict": "34",
|
| 153 |
+
"escargots": "35",
|
| 154 |
+
"falafel": "36",
|
| 155 |
+
"filet_mignon": "37",
|
| 156 |
+
"fish_and_chips": "38",
|
| 157 |
+
"foie_gras": "39",
|
| 158 |
+
"french_fries": "40",
|
| 159 |
+
"french_onion_soup": "41",
|
| 160 |
+
"french_toast": "42",
|
| 161 |
+
"fried_calamari": "43",
|
| 162 |
+
"fried_rice": "44",
|
| 163 |
+
"frozen_yogurt": "45",
|
| 164 |
+
"garlic_bread": "46",
|
| 165 |
+
"gnocchi": "47",
|
| 166 |
+
"greek_salad": "48",
|
| 167 |
+
"grilled_cheese_sandwich": "49",
|
| 168 |
+
"grilled_salmon": "50",
|
| 169 |
+
"guacamole": "51",
|
| 170 |
+
"gyoza": "52",
|
| 171 |
+
"hamburger": "53",
|
| 172 |
+
"hot_and_sour_soup": "54",
|
| 173 |
+
"hot_dog": "55",
|
| 174 |
+
"huevos_rancheros": "56",
|
| 175 |
+
"hummus": "57",
|
| 176 |
+
"ice_cream": "58",
|
| 177 |
+
"lasagna": "59",
|
| 178 |
+
"lobster_bisque": "60",
|
| 179 |
+
"lobster_roll_sandwich": "61",
|
| 180 |
+
"macaroni_and_cheese": "62",
|
| 181 |
+
"macarons": "63",
|
| 182 |
+
"miso_soup": "64",
|
| 183 |
+
"mussels": "65",
|
| 184 |
+
"nachos": "66",
|
| 185 |
+
"omelette": "67",
|
| 186 |
+
"onion_rings": "68",
|
| 187 |
+
"oysters": "69",
|
| 188 |
+
"pad_thai": "70",
|
| 189 |
+
"paella": "71",
|
| 190 |
+
"pancakes": "72",
|
| 191 |
+
"panna_cotta": "73",
|
| 192 |
+
"peking_duck": "74",
|
| 193 |
+
"pho": "75",
|
| 194 |
+
"pizza": "76",
|
| 195 |
+
"pork_chop": "77",
|
| 196 |
+
"poutine": "78",
|
| 197 |
+
"prime_rib": "79",
|
| 198 |
+
"pulled_pork_sandwich": "80",
|
| 199 |
+
"ramen": "81",
|
| 200 |
+
"ravioli": "82",
|
| 201 |
+
"red_velvet_cake": "83",
|
| 202 |
+
"risotto": "84",
|
| 203 |
+
"samosa": "85",
|
| 204 |
+
"sashimi": "86",
|
| 205 |
+
"scallops": "87",
|
| 206 |
+
"seaweed_salad": "88",
|
| 207 |
+
"shrimp_and_grits": "89",
|
| 208 |
+
"spaghetti_bolognese": "90",
|
| 209 |
+
"spaghetti_carbonara": "91",
|
| 210 |
+
"spring_rolls": "92",
|
| 211 |
+
"steak": "93",
|
| 212 |
+
"strawberry_shortcake": "94",
|
| 213 |
+
"sushi": "95",
|
| 214 |
+
"tacos": "96",
|
| 215 |
+
"takoyaki": "97",
|
| 216 |
+
"tiramisu": "98",
|
| 217 |
+
"tuna_tartare": "99",
|
| 218 |
+
"waffles": "100"
|
| 219 |
+
},
|
| 220 |
+
"layer_norm_eps": 1e-12,
|
| 221 |
+
"model_type": "vit",
|
| 222 |
+
"num_attention_heads": 12,
|
| 223 |
+
"num_channels": 3,
|
| 224 |
+
"num_hidden_layers": 12,
|
| 225 |
+
"patch_size": 16,
|
| 226 |
+
"problem_type": "single_label_classification",
|
| 227 |
+
"qkv_bias": true,
|
| 228 |
+
"torch_dtype": "float32",
|
| 229 |
+
"transformers_version": "4.40.1"
|
| 230 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ffab8ac9c4b7d35b7e82ce48fb83421c6b2de4fd1a333f1ae74c9063770e12d
|
| 3 |
+
size 343528508
|
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/Apr27_05-09-20_8eec29eb7fb6/events.out.tfevents.1714194595.8eec29eb7fb6.22380.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6cce8008b1bbaa91c9e61c351aad6c23de11f67f61d81b68e137f0dc14ed48d5
|
| 3 |
+
size 34800
|
runs/Apr27_05-14-22_8eec29eb7fb6/events.out.tfevents.1714194870.8eec29eb7fb6.22380.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c8d53a693911387bf7c48fcde232bd10b233503bc66fa15f9a9dce73db194c2
|
| 3 |
+
size 11626
|
runs/Apr27_05-15-14_8eec29eb7fb6/events.out.tfevents.1714194920.8eec29eb7fb6.22380.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9986be30c3fb09802b887c2e26fc429c3c31667473dc5a01e6e629209f1e789c
|
| 3 |
+
size 11626
|
runs/Apr27_05-18-08_8eec29eb7fb6/events.out.tfevents.1714195093.8eec29eb7fb6.22380.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:427bcdf8a49faf5fe4885bdd628b86fc29acf6cebddb516783ba337f184cba33
|
| 3 |
+
size 401569
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83867bf089cb3473aabd273df8e52c92d283b276dff9da74c9549d16d4f5d7f7
|
| 3 |
+
size 4984
|