Shoriful025 commited on
Commit
cdc0951
·
verified ·
1 Parent(s): 9c4eab8

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +22 -0
config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // config.json
2
+ {
3
+ "_name_or_path": "clip-vit-base-patch16",
4
+ "architectures": [
5
+ "VisionEncoderDecoderModel"
6
+ ],
7
+ "encoder": {
8
+ "model_type": "clip_vision_model",
9
+ "hidden_size": 768,
10
+ "image_size": 224
11
+ },
12
+ "decoder": {
13
+ "model_type": "gpt2",
14
+ "hidden_size": 768,
15
+ "n_layer": 8,
16
+ "n_head": 12
17
+ },
18
+ "model_type": "encoder_decoder",
19
+ "max_length": 50,
20
+ "num_beams": 4,
21
+ "initializer_factor": 1.0
22
+ }