Partha11 commited on
Commit
f3e7e0c
·
verified ·
1 Parent(s): 3ab4e18

Upload model

Browse files
Files changed (4) hide show
  1. README.md +199 -0
  2. config.json +228 -0
  3. generation_config.json +11 -0
  4. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags: []
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+ This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
config.json ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "VisionEncoderDecoderModel"
4
+ ],
5
+ "decoder": {
6
+ "_name_or_path": "google-bert/bert-base-multilingual-cased",
7
+ "add_cross_attention": true,
8
+ "architectures": [
9
+ "BertForMaskedLM"
10
+ ],
11
+ "attention_probs_dropout_prob": 0.1,
12
+ "bad_words_ids": null,
13
+ "begin_suppress_tokens": null,
14
+ "bos_token_id": null,
15
+ "chunk_size_feed_forward": 0,
16
+ "classifier_dropout": null,
17
+ "cross_attention_hidden_size": null,
18
+ "decoder_start_token_id": null,
19
+ "directionality": "bidi",
20
+ "diversity_penalty": 0.0,
21
+ "do_sample": false,
22
+ "early_stopping": false,
23
+ "encoder_no_repeat_ngram_size": 0,
24
+ "eos_token_id": null,
25
+ "exponential_decay_length_penalty": null,
26
+ "finetuning_task": null,
27
+ "forced_bos_token_id": null,
28
+ "forced_eos_token_id": null,
29
+ "hidden_act": "gelu",
30
+ "hidden_dropout_prob": 0.1,
31
+ "hidden_size": 768,
32
+ "id2label": {
33
+ "0": "LABEL_0",
34
+ "1": "LABEL_1"
35
+ },
36
+ "initializer_range": 0.02,
37
+ "intermediate_size": 3072,
38
+ "is_decoder": true,
39
+ "is_encoder_decoder": false,
40
+ "label2id": {
41
+ "LABEL_0": 0,
42
+ "LABEL_1": 1
43
+ },
44
+ "layer_norm_eps": 1e-12,
45
+ "length_penalty": 1.0,
46
+ "max_length": 20,
47
+ "max_position_embeddings": 512,
48
+ "min_length": 0,
49
+ "model_type": "bert",
50
+ "no_repeat_ngram_size": 0,
51
+ "num_attention_heads": 12,
52
+ "num_beam_groups": 1,
53
+ "num_beams": 1,
54
+ "num_hidden_layers": 12,
55
+ "num_return_sequences": 1,
56
+ "output_attentions": false,
57
+ "output_hidden_states": false,
58
+ "output_scores": false,
59
+ "pad_token_id": 0,
60
+ "pooler_fc_size": 768,
61
+ "pooler_num_attention_heads": 12,
62
+ "pooler_num_fc_layers": 3,
63
+ "pooler_size_per_head": 128,
64
+ "pooler_type": "first_token_transform",
65
+ "position_embedding_type": "absolute",
66
+ "prefix": null,
67
+ "problem_type": null,
68
+ "pruned_heads": {},
69
+ "remove_invalid_values": false,
70
+ "repetition_penalty": 1.0,
71
+ "return_dict": true,
72
+ "return_dict_in_generate": false,
73
+ "sep_token_id": null,
74
+ "suppress_tokens": null,
75
+ "task_specific_params": null,
76
+ "temperature": 1.0,
77
+ "tf_legacy_loss": false,
78
+ "tie_encoder_decoder": false,
79
+ "tie_word_embeddings": true,
80
+ "tokenizer_class": null,
81
+ "top_k": 50,
82
+ "top_p": 1.0,
83
+ "torch_dtype": null,
84
+ "torchscript": false,
85
+ "type_vocab_size": 2,
86
+ "typical_p": 1.0,
87
+ "use_bfloat16": false,
88
+ "use_cache": true,
89
+ "vocab_size": 119547
90
+ },
91
+ "decoder_start_token_id": 0,
92
+ "early_stopping": null,
93
+ "encoder": {
94
+ "_name_or_path": "Zannatul/google-vit-base-patch16-384-in21k-batch_16_epoch_4_classes_24_final_withAug_12th_May",
95
+ "add_cross_attention": false,
96
+ "architectures": [
97
+ "ViTForImageClassification"
98
+ ],
99
+ "attention_probs_dropout_prob": 0.0,
100
+ "bad_words_ids": null,
101
+ "begin_suppress_tokens": null,
102
+ "bos_token_id": null,
103
+ "chunk_size_feed_forward": 0,
104
+ "cross_attention_hidden_size": null,
105
+ "decoder_start_token_id": null,
106
+ "diversity_penalty": 0.0,
107
+ "do_sample": false,
108
+ "early_stopping": false,
109
+ "encoder_no_repeat_ngram_size": 0,
110
+ "encoder_stride": 16,
111
+ "eos_token_id": null,
112
+ "exponential_decay_length_penalty": null,
113
+ "finetuning_task": null,
114
+ "forced_bos_token_id": null,
115
+ "forced_eos_token_id": null,
116
+ "hidden_act": "gelu",
117
+ "hidden_dropout_prob": 0.0,
118
+ "hidden_size": 768,
119
+ "id2label": {
120
+ "0": "Bhapa Pitha(\u09ad\u09be\u09aa\u09be \u09aa\u09bf\u09a0\u09be)",
121
+ "1": "Biriyani(\u09ac\u09bf\u09b0\u09bf\u09df\u09be\u09a8\u09bf)",
122
+ "2": "Chicken Pulao(\u09ae\u09cb\u09b0\u0997 \u09aa\u09cb\u09b2\u09be\u0993)",
123
+ "3": "Chickpease Bhuna(\u099b\u09cb\u09b2\u09be\u09ad\u09c1\u09a8\u09be)",
124
+ "4": "Egg Curry(\u09a1\u09bf\u09ae\u09ad\u09c1\u09a8\u09be)",
125
+ "5": "Falooda(\u09ab\u09be\u09b2\u09c1\u09a6\u09be)",
126
+ "6": "Fuchka(\u09ab\u09c1\u099a\u0995\u09be)",
127
+ "7": "Haleem(\u09b9\u09be\u09b2\u09bf\u09ae)",
128
+ "8": "Jalebi(\u099c\u09bf\u09b2\u09be\u09aa\u09c0)",
129
+ "9": "Kala Bhuna(\u0995\u09be\u09b2\u09be \u09ad\u09c1\u09a8\u09be)",
130
+ "10": "Khichuri(\u0996\u09bf\u099a\u09c1\u09a1\u09bc\u09bf)",
131
+ "11": "Malpua Pitha(\u09ae\u09be\u09b2\u09aa\u09c1\u09df\u09be \u09aa\u09bf\u09a0\u09be)",
132
+ "12": "Mustard Hilsa(\u09b8\u09b0\u09b7\u09c7 \u0987\u09b2\u09bf\u09b6)",
133
+ "13": "Nakshi Pitha(\u09a8\u0995\u09b6\u09bf \u09aa\u09bf\u09a0\u09be)",
134
+ "14": "Panta Ilish(\u09aa\u09be\u09a8\u09cd\u09a4\u09be \u0987\u09b2\u09bf\u09b6)",
135
+ "15": "Patishapta Pitha(\u09aa\u09be\u099f\u09bf\u09b8\u09be\u09aa\u099f\u09be)",
136
+ "16": "Prawn Malai Curry(\u099a\u09bf\u0982\u09dc\u09bf \u09ae\u09be\u09b2\u09be\u0987\u0995\u09be\u09b0\u09c0)",
137
+ "17": "Rasgulla(\u09b0\u09b8\u0997\u09cb\u09b2\u09cd\u09b2\u09be)",
138
+ "18": "Rose Cookies(\u09ab\u09c1\u09b2\u099d\u09c1\u09b0\u09bf \u09aa\u09bf\u09a0\u09be)",
139
+ "19": "Roshmalai(\u09b0\u09b8\u09ae\u09be\u09b2\u09be\u0987)",
140
+ "20": "Shahi Tukra(\u09b6\u09be\u09b9\u09bf \u099f\u09c1\u0995\u09b0\u09be)",
141
+ "21": "Shingara(\u09b8\u09bf\u0999\u09cd\u0997\u09be\u09b0\u09be)",
142
+ "22": "Sweet Yogurt(\u09ae\u09bf\u09b7\u09cd\u099f\u09bf \u09a6\u0987)",
143
+ "23": "Tehari(\u09a4\u09c7\u09b9\u09be\u09b0\u09bf)"
144
+ },
145
+ "image_size": 384,
146
+ "initializer_range": 0.02,
147
+ "intermediate_size": 3072,
148
+ "is_decoder": false,
149
+ "is_encoder_decoder": false,
150
+ "label2id": {
151
+ "Bhapa Pitha(\u09ad\u09be\u09aa\u09be \u09aa\u09bf\u09a0\u09be)": "0",
152
+ "Biriyani(\u09ac\u09bf\u09b0\u09bf\u09df\u09be\u09a8\u09bf)": "1",
153
+ "Chicken Pulao(\u09ae\u09cb\u09b0\u0997 \u09aa\u09cb\u09b2\u09be\u0993)": "2",
154
+ "Chickpease Bhuna(\u099b\u09cb\u09b2\u09be\u09ad\u09c1\u09a8\u09be)": "3",
155
+ "Egg Curry(\u09a1\u09bf\u09ae\u09ad\u09c1\u09a8\u09be)": "4",
156
+ "Falooda(\u09ab\u09be\u09b2\u09c1\u09a6\u09be)": "5",
157
+ "Fuchka(\u09ab\u09c1\u099a\u0995\u09be)": "6",
158
+ "Haleem(\u09b9\u09be\u09b2\u09bf\u09ae)": "7",
159
+ "Jalebi(\u099c\u09bf\u09b2\u09be\u09aa\u09c0)": "8",
160
+ "Kala Bhuna(\u0995\u09be\u09b2\u09be \u09ad\u09c1\u09a8\u09be)": "9",
161
+ "Khichuri(\u0996\u09bf\u099a\u09c1\u09a1\u09bc\u09bf)": "10",
162
+ "Malpua Pitha(\u09ae\u09be\u09b2\u09aa\u09c1\u09df\u09be \u09aa\u09bf\u09a0\u09be)": "11",
163
+ "Mustard Hilsa(\u09b8\u09b0\u09b7\u09c7 \u0987\u09b2\u09bf\u09b6)": "12",
164
+ "Nakshi Pitha(\u09a8\u0995\u09b6\u09bf \u09aa\u09bf\u09a0\u09be)": "13",
165
+ "Panta Ilish(\u09aa\u09be\u09a8\u09cd\u09a4\u09be \u0987\u09b2\u09bf\u09b6)": "14",
166
+ "Patishapta Pitha(\u09aa\u09be\u099f\u09bf\u09b8\u09be\u09aa\u099f\u09be)": "15",
167
+ "Prawn Malai Curry(\u099a\u09bf\u0982\u09dc\u09bf \u09ae\u09be\u09b2\u09be\u0987\u0995\u09be\u09b0\u09c0)": "16",
168
+ "Rasgulla(\u09b0\u09b8\u0997\u09cb\u09b2\u09cd\u09b2\u09be)": "17",
169
+ "Rose Cookies(\u09ab\u09c1\u09b2\u099d\u09c1\u09b0\u09bf \u09aa\u09bf\u09a0\u09be)": "18",
170
+ "Roshmalai(\u09b0\u09b8\u09ae\u09be\u09b2\u09be\u0987)": "19",
171
+ "Shahi Tukra(\u09b6\u09be\u09b9\u09bf \u099f\u09c1\u0995\u09b0\u09be)": "20",
172
+ "Shingara(\u09b8\u09bf\u0999\u09cd\u0997\u09be\u09b0\u09be)": "21",
173
+ "Sweet Yogurt(\u09ae\u09bf\u09b7\u09cd\u099f\u09bf \u09a6\u0987)": "22",
174
+ "Tehari(\u09a4\u09c7\u09b9\u09be\u09b0\u09bf)": "23"
175
+ },
176
+ "layer_norm_eps": 1e-12,
177
+ "length_penalty": 1.0,
178
+ "max_length": 20,
179
+ "min_length": 0,
180
+ "model_type": "vit",
181
+ "no_repeat_ngram_size": 0,
182
+ "num_attention_heads": 12,
183
+ "num_beam_groups": 1,
184
+ "num_beams": 1,
185
+ "num_channels": 3,
186
+ "num_hidden_layers": 12,
187
+ "num_return_sequences": 1,
188
+ "output_attentions": false,
189
+ "output_hidden_states": false,
190
+ "output_scores": false,
191
+ "pad_token_id": null,
192
+ "patch_size": 16,
193
+ "prefix": null,
194
+ "problem_type": "single_label_classification",
195
+ "pruned_heads": {},
196
+ "qkv_bias": true,
197
+ "remove_invalid_values": false,
198
+ "repetition_penalty": 1.0,
199
+ "return_dict": true,
200
+ "return_dict_in_generate": false,
201
+ "sep_token_id": null,
202
+ "suppress_tokens": null,
203
+ "task_specific_params": null,
204
+ "temperature": 1.0,
205
+ "tf_legacy_loss": false,
206
+ "tie_encoder_decoder": false,
207
+ "tie_word_embeddings": true,
208
+ "tokenizer_class": null,
209
+ "top_k": 50,
210
+ "top_p": 1.0,
211
+ "torch_dtype": "float32",
212
+ "torchscript": false,
213
+ "typical_p": 1.0,
214
+ "use_bfloat16": false
215
+ },
216
+ "eos_token_id": 2,
217
+ "is_encoder_decoder": true,
218
+ "length_penalty": null,
219
+ "max_length": null,
220
+ "model_type": "vision-encoder-decoder",
221
+ "no_repeat_ngram_size": null,
222
+ "num_beams": null,
223
+ "pad_token_id": 1,
224
+ "tie_word_embeddings": false,
225
+ "torch_dtype": "float32",
226
+ "transformers_version": "4.45.2",
227
+ "vocab_size": 50265
228
+ }
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "decoder_start_token_id": 0,
3
+ "early_stopping": true,
4
+ "eos_token_id": 2,
5
+ "length_penalty": 2.0,
6
+ "max_length": 64,
7
+ "no_repeat_ngram_size": 3,
8
+ "num_beams": 4,
9
+ "pad_token_id": 1,
10
+ "transformers_version": "4.45.2"
11
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1798894c6c6cfa17ff5035dec5131e72da36515fd04db8b2cccfade1511aea15
3
+ size 1172155476