phonghoccode commited on
Commit
f8f06ea
·
verified ·
1 Parent(s): bbe698c

Fine-tuned on COCO-QA dataset

Browse files
Files changed (4) hide show
  1. README.md +199 -0
  2. config.json +931 -0
  3. generation_config.json +7 -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,931 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BlipForQuestionAnswering"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "dtype": "float32",
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.0,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "two",
12
+ "1": "white",
13
+ "2": "red",
14
+ "3": "blue",
15
+ "4": "green",
16
+ "5": "black",
17
+ "6": "three",
18
+ "7": "brown",
19
+ "8": "cat",
20
+ "9": "yellow",
21
+ "10": "dog",
22
+ "11": "bus",
23
+ "12": "airplane",
24
+ "13": "train",
25
+ "14": "room",
26
+ "15": "orange",
27
+ "16": "four",
28
+ "17": "bear",
29
+ "18": "gray",
30
+ "19": "truck",
31
+ "20": "giraffe",
32
+ "21": "elephant",
33
+ "22": "pizza",
34
+ "23": "bird",
35
+ "24": "kitchen",
36
+ "25": "bathroom",
37
+ "26": "giraffes",
38
+ "27": "horse",
39
+ "28": "motorcycle",
40
+ "29": "plate",
41
+ "30": "zebra",
42
+ "31": "bicycle",
43
+ "32": "clock",
44
+ "33": "car",
45
+ "34": "cake",
46
+ "35": "purple",
47
+ "36": "boat",
48
+ "37": "one",
49
+ "38": "zebras",
50
+ "39": "horses",
51
+ "40": "hydrant",
52
+ "41": "bed",
53
+ "42": "ball",
54
+ "43": "vase",
55
+ "44": "sandwich",
56
+ "45": "kite",
57
+ "46": "sheep",
58
+ "47": "elephants",
59
+ "48": "bat",
60
+ "49": "umbrella",
61
+ "50": "cow",
62
+ "51": "bowl",
63
+ "52": "cows",
64
+ "53": "phone",
65
+ "54": "cars",
66
+ "55": "toilet",
67
+ "56": "cats",
68
+ "57": "buses",
69
+ "58": "five",
70
+ "59": "computer",
71
+ "60": "bench",
72
+ "61": "boats",
73
+ "62": "jet",
74
+ "63": "birds",
75
+ "64": "skis",
76
+ "65": "bears",
77
+ "66": "tower",
78
+ "67": "kites",
79
+ "68": "dogs",
80
+ "69": "frisbee",
81
+ "70": "airplanes",
82
+ "71": "laptop",
83
+ "72": "motorcycles",
84
+ "73": "skateboard",
85
+ "74": "mirror",
86
+ "75": "chair",
87
+ "76": "box",
88
+ "77": "donut",
89
+ "78": "road",
90
+ "79": "building",
91
+ "80": "picture",
92
+ "81": "refrigerator",
93
+ "82": "sink",
94
+ "83": "window",
95
+ "84": "meal",
96
+ "85": "donuts",
97
+ "86": "surfboard",
98
+ "87": "bicycles",
99
+ "88": "tie",
100
+ "89": "desk",
101
+ "90": "oven",
102
+ "91": "banana",
103
+ "92": "flowers",
104
+ "93": "suitcase",
105
+ "94": "hat",
106
+ "95": "trains",
107
+ "96": "grass",
108
+ "97": "snowboard",
109
+ "98": "hill",
110
+ "99": "bedroom",
111
+ "100": "umbrellas",
112
+ "101": "bananas",
113
+ "102": "six",
114
+ "103": "engine",
115
+ "104": "trucks",
116
+ "105": "kitten",
117
+ "106": "street",
118
+ "107": "beach",
119
+ "108": "tree",
120
+ "109": "mountain",
121
+ "110": "pizzas",
122
+ "111": "station",
123
+ "112": "carriage",
124
+ "113": "door",
125
+ "114": "vegetables",
126
+ "115": "shirt",
127
+ "116": "tray",
128
+ "117": "cart",
129
+ "118": "wall",
130
+ "119": "fruit",
131
+ "120": "glasses",
132
+ "121": "dish",
133
+ "122": "vases",
134
+ "123": "airliner",
135
+ "124": "bag",
136
+ "125": "house",
137
+ "126": "cellphone",
138
+ "127": "toy",
139
+ "128": "vehicle",
140
+ "129": "store",
141
+ "130": "restaurant",
142
+ "131": "container",
143
+ "132": "pan",
144
+ "133": "jets",
145
+ "134": "sign",
146
+ "135": "pen",
147
+ "136": "computers",
148
+ "137": "counter",
149
+ "138": "suitcases",
150
+ "139": "boards",
151
+ "140": "knife",
152
+ "141": "racquet",
153
+ "142": "basket",
154
+ "143": "luggage",
155
+ "144": "plant",
156
+ "145": "apple",
157
+ "146": "phones",
158
+ "147": "helmet",
159
+ "148": "benches",
160
+ "149": "bottle",
161
+ "150": "cup",
162
+ "151": "office",
163
+ "152": "surfboards",
164
+ "153": "wine",
165
+ "154": "puppy",
166
+ "155": "sandwiches",
167
+ "156": "chairs",
168
+ "157": "sun",
169
+ "158": "bath",
170
+ "159": "flower",
171
+ "160": "beds",
172
+ "161": "laptops",
173
+ "162": "stove",
174
+ "163": "statue",
175
+ "164": "blender",
176
+ "165": "couch",
177
+ "166": "toothbrush",
178
+ "167": "sky",
179
+ "168": "plates",
180
+ "169": "scooter",
181
+ "170": "seven",
182
+ "171": "scissors",
183
+ "172": "camera",
184
+ "173": "oranges",
185
+ "174": "apples",
186
+ "175": "cattle",
187
+ "176": "airport",
188
+ "177": "keyboard",
189
+ "178": "shop",
190
+ "179": "table",
191
+ "180": "zoo",
192
+ "181": "fridge",
193
+ "182": "suit",
194
+ "183": "sidewalk",
195
+ "184": "vehicles",
196
+ "185": "trees",
197
+ "186": "pole",
198
+ "187": "ski",
199
+ "188": "trunk",
200
+ "189": "hillside",
201
+ "190": "mouse",
202
+ "191": "rail",
203
+ "192": "tracks",
204
+ "193": "locomotive",
205
+ "194": "pot",
206
+ "195": "restroom",
207
+ "196": "river",
208
+ "197": "shower",
209
+ "198": "fork",
210
+ "199": "goats",
211
+ "200": "machine",
212
+ "201": "vest",
213
+ "202": "ramp",
214
+ "203": "clocks",
215
+ "204": "salad",
216
+ "205": "bull",
217
+ "206": "carrots",
218
+ "207": "device",
219
+ "208": "dinner",
220
+ "209": "shelf",
221
+ "210": "parrot",
222
+ "211": "fruits",
223
+ "212": "duck",
224
+ "213": "dessert",
225
+ "214": "glove",
226
+ "215": "seagull",
227
+ "216": "equipment",
228
+ "217": "bags",
229
+ "218": "toilets",
230
+ "219": "ducks",
231
+ "220": "jacket",
232
+ "221": "buildings",
233
+ "222": "chocolate",
234
+ "223": "ship",
235
+ "224": "backpack",
236
+ "225": "photograph",
237
+ "226": "garage",
238
+ "227": "floor",
239
+ "228": "bread",
240
+ "229": "fence",
241
+ "230": "cakes",
242
+ "231": "candles",
243
+ "232": "broccoli",
244
+ "233": "pool",
245
+ "234": "tub",
246
+ "235": "drink",
247
+ "236": "bridge",
248
+ "237": "lamp",
249
+ "238": "screen",
250
+ "239": "poles",
251
+ "240": "wagon",
252
+ "241": "stall",
253
+ "242": "goat",
254
+ "243": "scene",
255
+ "244": "skateboards",
256
+ "245": "leaves",
257
+ "246": "cabinet",
258
+ "247": "cage",
259
+ "248": "lunch",
260
+ "249": "boxes",
261
+ "250": "lamb",
262
+ "251": "urinals",
263
+ "252": "meat",
264
+ "253": "pin",
265
+ "254": "pictures",
266
+ "255": "towels",
267
+ "256": "tv",
268
+ "257": "pie",
269
+ "258": "carrot",
270
+ "259": "breakfast",
271
+ "260": "mountains",
272
+ "261": "toothbrushes",
273
+ "262": "sculpture",
274
+ "263": "ties",
275
+ "264": "remote",
276
+ "265": "pastry",
277
+ "266": "dishes",
278
+ "267": "painting",
279
+ "268": "containers",
280
+ "269": "subway",
281
+ "270": "track",
282
+ "271": "sunglasses",
283
+ "272": "case",
284
+ "273": "garden",
285
+ "274": "eight",
286
+ "275": "bathtub",
287
+ "276": "furniture",
288
+ "277": "plants",
289
+ "278": "spoon",
290
+ "279": "helicopter",
291
+ "280": "glass",
292
+ "281": "dress",
293
+ "282": "hay",
294
+ "283": "remotes",
295
+ "284": "gear",
296
+ "285": "flag",
297
+ "286": "lambs",
298
+ "287": "toys",
299
+ "288": "hats",
300
+ "289": "monkey",
301
+ "290": "seagulls",
302
+ "291": "cheese",
303
+ "292": "owl",
304
+ "293": "seat",
305
+ "294": "stadium",
306
+ "295": "trolley",
307
+ "296": "sailboats",
308
+ "297": "nine",
309
+ "298": "hose",
310
+ "299": "fish",
311
+ "300": "drinks",
312
+ "301": "ten",
313
+ "302": "beer",
314
+ "303": "platter",
315
+ "304": "cargo",
316
+ "305": "entree",
317
+ "306": "jar",
318
+ "307": "uniform",
319
+ "308": "snack",
320
+ "309": "calf",
321
+ "310": "slice",
322
+ "311": "appliances",
323
+ "312": "pastries",
324
+ "313": "museum",
325
+ "314": "clothes",
326
+ "315": "ocean",
327
+ "316": "sailboat",
328
+ "317": "tablet",
329
+ "318": "marina",
330
+ "319": "towel",
331
+ "320": "curtain",
332
+ "321": "apartment",
333
+ "322": "sinks",
334
+ "323": "graffiti",
335
+ "324": "shelves",
336
+ "325": "mask",
337
+ "326": "outside",
338
+ "327": "bar",
339
+ "328": "backyard",
340
+ "329": "rack",
341
+ "330": "urinal",
342
+ "331": "cap",
343
+ "332": "freight",
344
+ "333": "cupcake",
345
+ "334": "scooters",
346
+ "335": "paw",
347
+ "336": "ingredients",
348
+ "337": "bottles",
349
+ "338": "signs",
350
+ "339": "doorway",
351
+ "340": "library",
352
+ "341": "guitar",
353
+ "342": "slices",
354
+ "343": "crib",
355
+ "344": "barn",
356
+ "345": "chicken",
357
+ "346": "driveway",
358
+ "347": "cabinets",
359
+ "348": "drawer",
360
+ "349": "cupcakes",
361
+ "350": "apron",
362
+ "351": "bucket",
363
+ "352": "bats",
364
+ "353": "helmets",
365
+ "354": "shuttle",
366
+ "355": "kitty",
367
+ "356": "brick",
368
+ "357": "sofa",
369
+ "358": "pony",
370
+ "359": "frame",
371
+ "360": "pigeon",
372
+ "361": "pots",
373
+ "362": "coat",
374
+ "363": "trailer",
375
+ "364": "hallway",
376
+ "365": "can",
377
+ "366": "purse",
378
+ "367": "dryer",
379
+ "368": "outdoors",
380
+ "369": "tent",
381
+ "370": "hangar",
382
+ "371": "panda",
383
+ "372": "foil",
384
+ "373": "holder",
385
+ "374": "walls",
386
+ "375": "doors",
387
+ "376": "crosswalk",
388
+ "377": "trunks",
389
+ "378": "wheel",
390
+ "379": "colors",
391
+ "380": "tools",
392
+ "381": "coffee",
393
+ "382": "candle",
394
+ "383": "eagle",
395
+ "384": "beverage",
396
+ "385": "grizzly",
397
+ "386": "television",
398
+ "387": "tram",
399
+ "388": "pipe",
400
+ "389": "walkway",
401
+ "390": "bank",
402
+ "391": "side",
403
+ "392": "cigarette",
404
+ "393": "paddle",
405
+ "394": "taxi",
406
+ "395": "stick",
407
+ "396": "ram",
408
+ "397": "statues",
409
+ "398": "terminal",
410
+ "399": "pug",
411
+ "400": "shorts",
412
+ "401": "skies",
413
+ "402": "wheelchair",
414
+ "403": "vegetable",
415
+ "404": "flags",
416
+ "405": "baskets",
417
+ "406": "highway",
418
+ "407": "fireplace",
419
+ "408": "bun",
420
+ "409": "biplane",
421
+ "410": "warehouse",
422
+ "411": "dock",
423
+ "412": "classroom",
424
+ "413": "hamburger",
425
+ "414": "freezer",
426
+ "415": "cups",
427
+ "416": "roses",
428
+ "417": "refrigerators",
429
+ "418": "trail",
430
+ "419": "lane",
431
+ "420": "frisbees",
432
+ "421": "milk",
433
+ "422": "pans",
434
+ "423": "surface",
435
+ "424": "suits",
436
+ "425": "snowboards",
437
+ "426": "lake",
438
+ "427": "booth",
439
+ "428": "turkey",
440
+ "429": "canoe"
441
+ },
442
+ "image_size": 384,
443
+ "image_text_hidden_size": 256,
444
+ "initializer_factor": 1.0,
445
+ "initializer_range": 0.02,
446
+ "intermediate_size": 3072,
447
+ "label2id": {
448
+ "airliner": 123,
449
+ "airplane": 12,
450
+ "airplanes": 70,
451
+ "airport": 176,
452
+ "apartment": 321,
453
+ "apple": 145,
454
+ "apples": 174,
455
+ "appliances": 311,
456
+ "apron": 350,
457
+ "backpack": 224,
458
+ "backyard": 328,
459
+ "bag": 124,
460
+ "bags": 217,
461
+ "ball": 42,
462
+ "banana": 91,
463
+ "bananas": 101,
464
+ "bank": 390,
465
+ "bar": 327,
466
+ "barn": 344,
467
+ "basket": 142,
468
+ "baskets": 405,
469
+ "bat": 48,
470
+ "bath": 158,
471
+ "bathroom": 25,
472
+ "bathtub": 275,
473
+ "bats": 352,
474
+ "beach": 107,
475
+ "bear": 17,
476
+ "bears": 65,
477
+ "bed": 41,
478
+ "bedroom": 99,
479
+ "beds": 160,
480
+ "beer": 302,
481
+ "bench": 60,
482
+ "benches": 148,
483
+ "beverage": 384,
484
+ "bicycle": 31,
485
+ "bicycles": 87,
486
+ "biplane": 409,
487
+ "bird": 23,
488
+ "birds": 63,
489
+ "black": 5,
490
+ "blender": 164,
491
+ "blue": 3,
492
+ "boards": 139,
493
+ "boat": 36,
494
+ "boats": 61,
495
+ "booth": 427,
496
+ "bottle": 149,
497
+ "bottles": 337,
498
+ "bowl": 51,
499
+ "box": 76,
500
+ "boxes": 249,
501
+ "bread": 228,
502
+ "breakfast": 259,
503
+ "brick": 356,
504
+ "bridge": 236,
505
+ "broccoli": 232,
506
+ "brown": 7,
507
+ "bucket": 351,
508
+ "building": 79,
509
+ "buildings": 221,
510
+ "bull": 205,
511
+ "bun": 408,
512
+ "bus": 11,
513
+ "buses": 57,
514
+ "cabinet": 246,
515
+ "cabinets": 347,
516
+ "cage": 247,
517
+ "cake": 34,
518
+ "cakes": 230,
519
+ "calf": 309,
520
+ "camera": 172,
521
+ "can": 365,
522
+ "candle": 382,
523
+ "candles": 231,
524
+ "canoe": 429,
525
+ "cap": 331,
526
+ "car": 33,
527
+ "cargo": 304,
528
+ "carriage": 112,
529
+ "carrot": 258,
530
+ "carrots": 206,
531
+ "cars": 54,
532
+ "cart": 117,
533
+ "case": 272,
534
+ "cat": 8,
535
+ "cats": 56,
536
+ "cattle": 175,
537
+ "cellphone": 126,
538
+ "chair": 75,
539
+ "chairs": 156,
540
+ "cheese": 291,
541
+ "chicken": 345,
542
+ "chocolate": 222,
543
+ "cigarette": 392,
544
+ "classroom": 412,
545
+ "clock": 32,
546
+ "clocks": 203,
547
+ "clothes": 314,
548
+ "coat": 362,
549
+ "coffee": 381,
550
+ "colors": 379,
551
+ "computer": 59,
552
+ "computers": 136,
553
+ "container": 131,
554
+ "containers": 268,
555
+ "couch": 165,
556
+ "counter": 137,
557
+ "cow": 50,
558
+ "cows": 52,
559
+ "crib": 343,
560
+ "crosswalk": 376,
561
+ "cup": 150,
562
+ "cupcake": 333,
563
+ "cupcakes": 349,
564
+ "cups": 415,
565
+ "curtain": 320,
566
+ "desk": 89,
567
+ "dessert": 213,
568
+ "device": 207,
569
+ "dinner": 208,
570
+ "dish": 121,
571
+ "dishes": 266,
572
+ "dock": 411,
573
+ "dog": 10,
574
+ "dogs": 68,
575
+ "donut": 77,
576
+ "donuts": 85,
577
+ "door": 113,
578
+ "doors": 375,
579
+ "doorway": 339,
580
+ "drawer": 348,
581
+ "dress": 281,
582
+ "drink": 235,
583
+ "drinks": 300,
584
+ "driveway": 346,
585
+ "dryer": 367,
586
+ "duck": 212,
587
+ "ducks": 219,
588
+ "eagle": 383,
589
+ "eight": 274,
590
+ "elephant": 21,
591
+ "elephants": 47,
592
+ "engine": 103,
593
+ "entree": 305,
594
+ "equipment": 216,
595
+ "fence": 229,
596
+ "fireplace": 407,
597
+ "fish": 299,
598
+ "five": 58,
599
+ "flag": 285,
600
+ "flags": 404,
601
+ "floor": 227,
602
+ "flower": 159,
603
+ "flowers": 92,
604
+ "foil": 372,
605
+ "fork": 198,
606
+ "four": 16,
607
+ "frame": 359,
608
+ "freezer": 414,
609
+ "freight": 332,
610
+ "fridge": 181,
611
+ "frisbee": 69,
612
+ "frisbees": 420,
613
+ "fruit": 119,
614
+ "fruits": 211,
615
+ "furniture": 276,
616
+ "garage": 226,
617
+ "garden": 273,
618
+ "gear": 284,
619
+ "giraffe": 20,
620
+ "giraffes": 26,
621
+ "glass": 280,
622
+ "glasses": 120,
623
+ "glove": 214,
624
+ "goat": 242,
625
+ "goats": 199,
626
+ "graffiti": 323,
627
+ "grass": 96,
628
+ "gray": 18,
629
+ "green": 4,
630
+ "grizzly": 385,
631
+ "guitar": 341,
632
+ "hallway": 364,
633
+ "hamburger": 413,
634
+ "hangar": 370,
635
+ "hat": 94,
636
+ "hats": 288,
637
+ "hay": 282,
638
+ "helicopter": 279,
639
+ "helmet": 147,
640
+ "helmets": 353,
641
+ "highway": 406,
642
+ "hill": 98,
643
+ "hillside": 189,
644
+ "holder": 373,
645
+ "horse": 27,
646
+ "horses": 39,
647
+ "hose": 298,
648
+ "house": 125,
649
+ "hydrant": 40,
650
+ "ingredients": 336,
651
+ "jacket": 220,
652
+ "jar": 306,
653
+ "jet": 62,
654
+ "jets": 133,
655
+ "keyboard": 177,
656
+ "kitchen": 24,
657
+ "kite": 45,
658
+ "kites": 67,
659
+ "kitten": 105,
660
+ "kitty": 355,
661
+ "knife": 140,
662
+ "lake": 426,
663
+ "lamb": 250,
664
+ "lambs": 286,
665
+ "lamp": 237,
666
+ "lane": 419,
667
+ "laptop": 71,
668
+ "laptops": 161,
669
+ "leaves": 245,
670
+ "library": 340,
671
+ "locomotive": 193,
672
+ "luggage": 143,
673
+ "lunch": 248,
674
+ "machine": 200,
675
+ "marina": 318,
676
+ "mask": 325,
677
+ "meal": 84,
678
+ "meat": 252,
679
+ "milk": 421,
680
+ "mirror": 74,
681
+ "monkey": 289,
682
+ "motorcycle": 28,
683
+ "motorcycles": 72,
684
+ "mountain": 109,
685
+ "mountains": 260,
686
+ "mouse": 190,
687
+ "museum": 313,
688
+ "nine": 297,
689
+ "ocean": 315,
690
+ "office": 151,
691
+ "one": 37,
692
+ "orange": 15,
693
+ "oranges": 173,
694
+ "outdoors": 368,
695
+ "outside": 326,
696
+ "oven": 90,
697
+ "owl": 292,
698
+ "paddle": 393,
699
+ "painting": 267,
700
+ "pan": 132,
701
+ "panda": 371,
702
+ "pans": 422,
703
+ "parrot": 210,
704
+ "pastries": 312,
705
+ "pastry": 265,
706
+ "paw": 335,
707
+ "pen": 135,
708
+ "phone": 53,
709
+ "phones": 146,
710
+ "photograph": 225,
711
+ "picture": 80,
712
+ "pictures": 254,
713
+ "pie": 257,
714
+ "pigeon": 360,
715
+ "pin": 253,
716
+ "pipe": 388,
717
+ "pizza": 22,
718
+ "pizzas": 110,
719
+ "plant": 144,
720
+ "plants": 277,
721
+ "plate": 29,
722
+ "plates": 168,
723
+ "platter": 303,
724
+ "pole": 186,
725
+ "poles": 239,
726
+ "pony": 358,
727
+ "pool": 233,
728
+ "pot": 194,
729
+ "pots": 361,
730
+ "pug": 399,
731
+ "puppy": 154,
732
+ "purple": 35,
733
+ "purse": 366,
734
+ "rack": 329,
735
+ "racquet": 141,
736
+ "rail": 191,
737
+ "ram": 396,
738
+ "ramp": 202,
739
+ "red": 2,
740
+ "refrigerator": 81,
741
+ "refrigerators": 417,
742
+ "remote": 264,
743
+ "remotes": 283,
744
+ "restaurant": 130,
745
+ "restroom": 195,
746
+ "river": 196,
747
+ "road": 78,
748
+ "room": 14,
749
+ "roses": 416,
750
+ "sailboat": 316,
751
+ "sailboats": 296,
752
+ "salad": 204,
753
+ "sandwich": 44,
754
+ "sandwiches": 155,
755
+ "scene": 243,
756
+ "scissors": 171,
757
+ "scooter": 169,
758
+ "scooters": 334,
759
+ "screen": 238,
760
+ "sculpture": 262,
761
+ "seagull": 215,
762
+ "seagulls": 290,
763
+ "seat": 293,
764
+ "seven": 170,
765
+ "sheep": 46,
766
+ "shelf": 209,
767
+ "shelves": 324,
768
+ "ship": 223,
769
+ "shirt": 115,
770
+ "shop": 178,
771
+ "shorts": 400,
772
+ "shower": 197,
773
+ "shuttle": 354,
774
+ "side": 391,
775
+ "sidewalk": 183,
776
+ "sign": 134,
777
+ "signs": 338,
778
+ "sink": 82,
779
+ "sinks": 322,
780
+ "six": 102,
781
+ "skateboard": 73,
782
+ "skateboards": 244,
783
+ "ski": 187,
784
+ "skies": 401,
785
+ "skis": 64,
786
+ "sky": 167,
787
+ "slice": 310,
788
+ "slices": 342,
789
+ "snack": 308,
790
+ "snowboard": 97,
791
+ "snowboards": 425,
792
+ "sofa": 357,
793
+ "spoon": 278,
794
+ "stadium": 294,
795
+ "stall": 241,
796
+ "station": 111,
797
+ "statue": 163,
798
+ "statues": 397,
799
+ "stick": 395,
800
+ "store": 129,
801
+ "stove": 162,
802
+ "street": 106,
803
+ "subway": 269,
804
+ "suit": 182,
805
+ "suitcase": 93,
806
+ "suitcases": 138,
807
+ "suits": 424,
808
+ "sun": 157,
809
+ "sunglasses": 271,
810
+ "surface": 423,
811
+ "surfboard": 86,
812
+ "surfboards": 152,
813
+ "table": 179,
814
+ "tablet": 317,
815
+ "taxi": 394,
816
+ "television": 386,
817
+ "ten": 301,
818
+ "tent": 369,
819
+ "terminal": 398,
820
+ "three": 6,
821
+ "tie": 88,
822
+ "ties": 263,
823
+ "toilet": 55,
824
+ "toilets": 218,
825
+ "tools": 380,
826
+ "toothbrush": 166,
827
+ "toothbrushes": 261,
828
+ "towel": 319,
829
+ "towels": 255,
830
+ "tower": 66,
831
+ "toy": 127,
832
+ "toys": 287,
833
+ "track": 270,
834
+ "tracks": 192,
835
+ "trail": 418,
836
+ "trailer": 363,
837
+ "train": 13,
838
+ "trains": 95,
839
+ "tram": 387,
840
+ "tray": 116,
841
+ "tree": 108,
842
+ "trees": 185,
843
+ "trolley": 295,
844
+ "truck": 19,
845
+ "trucks": 104,
846
+ "trunk": 188,
847
+ "trunks": 377,
848
+ "tub": 234,
849
+ "turkey": 428,
850
+ "tv": 256,
851
+ "two": 0,
852
+ "umbrella": 49,
853
+ "umbrellas": 100,
854
+ "uniform": 307,
855
+ "urinal": 330,
856
+ "urinals": 251,
857
+ "vase": 43,
858
+ "vases": 122,
859
+ "vegetable": 403,
860
+ "vegetables": 114,
861
+ "vehicle": 128,
862
+ "vehicles": 184,
863
+ "vest": 201,
864
+ "wagon": 240,
865
+ "walkway": 389,
866
+ "wall": 118,
867
+ "walls": 374,
868
+ "warehouse": 410,
869
+ "wheel": 378,
870
+ "wheelchair": 402,
871
+ "white": 1,
872
+ "window": 83,
873
+ "wine": 153,
874
+ "yellow": 9,
875
+ "zebra": 30,
876
+ "zebras": 38,
877
+ "zoo": 180
878
+ },
879
+ "label_smoothing": 0.0,
880
+ "layer_norm_eps": 1e-12,
881
+ "logit_scale_init_value": 2.6592,
882
+ "max_image_length": -1,
883
+ "max_position_embeddings": 40,
884
+ "modality_type_vocab_size": 2,
885
+ "model_type": "blip",
886
+ "num_attention_heads": 12,
887
+ "num_channels": 3,
888
+ "num_hidden_layers": 12,
889
+ "num_images": -1,
890
+ "patch_size": 32,
891
+ "projection_dim": 512,
892
+ "qkv_bias": true,
893
+ "text_config": {
894
+ "attention_probs_dropout_prob": 0.0,
895
+ "dtype": "float32",
896
+ "encoder_hidden_size": 768,
897
+ "hidden_act": "gelu",
898
+ "hidden_dropout_prob": 0.0,
899
+ "hidden_size": 768,
900
+ "initializer_range": 0.02,
901
+ "intermediate_size": 3072,
902
+ "label_smoothing": 0.0,
903
+ "layer_norm_eps": 1e-12,
904
+ "max_position_embeddings": 512,
905
+ "model_type": "blip_text_model",
906
+ "num_attention_heads": 8,
907
+ "num_hidden_layers": 12,
908
+ "projection_dim": 768,
909
+ "use_cache": true,
910
+ "vocab_size": 30524
911
+ },
912
+ "tie_word_embeddings": false,
913
+ "transformers_version": "4.57.1",
914
+ "type_vocab_size": 2,
915
+ "vision_config": {
916
+ "attention_dropout": 0.0,
917
+ "dtype": "float32",
918
+ "hidden_act": "gelu",
919
+ "hidden_size": 768,
920
+ "image_size": 384,
921
+ "initializer_range": 1e-10,
922
+ "intermediate_size": 3072,
923
+ "layer_norm_eps": 1e-05,
924
+ "model_type": "blip_vision_model",
925
+ "num_attention_heads": 12,
926
+ "num_hidden_layers": 12,
927
+ "patch_size": 16,
928
+ "projection_dim": 512
929
+ },
930
+ "vocab_size": 30522
931
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 30522,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.57.1"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90e8aad5da725191db28ac93afc48f58ad37af604ccdd78457567825b65daf06
3
+ size 1445022200