nielsr HF staff commited on
Commit
a718c99
1 Parent(s): 470ab47

Upload UdopForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +43 -0
  2. generation_config.json +7 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "UdopForConditionalGeneration"
4
+ ],
5
+ "d_ff": 4096,
6
+ "d_kv": 64,
7
+ "d_model": 1024,
8
+ "decoder_start_token_id": 0,
9
+ "dense_act_fn": "relu",
10
+ "dropout_rate": 0.1,
11
+ "eos_token_id": 1,
12
+ "feed_forward_proj": "relu",
13
+ "image_size": 224,
14
+ "initializer_factor": 1.0,
15
+ "is_encoder_decoder": true,
16
+ "is_gated_act": false,
17
+ "layer_norm_epsilon": 1e-06,
18
+ "max_2d_position_embeddings": 1024,
19
+ "model_type": "udop",
20
+ "num_channels": 3,
21
+ "num_decoder_layers": 24,
22
+ "num_heads": 16,
23
+ "num_layers": 24,
24
+ "pad_token_id": 0,
25
+ "patch_size": 16,
26
+ "relative_attention_max_distance": 128,
27
+ "relative_attention_num_buckets": 32,
28
+ "relative_bias_args": [
29
+ {
30
+ "type": "1d"
31
+ },
32
+ {
33
+ "type": "horizontal"
34
+ },
35
+ {
36
+ "type": "vertical"
37
+ }
38
+ ],
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.28.0.dev0",
41
+ "use_cache": true,
42
+ "vocab_size": 33201
43
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "decoder_start_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.28.0.dev0"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:302d52c1a01686c8dc0f41c17b2745f8f6b6e5208e5d2cecec4cb4aaeda4c8ba
3
+ size 2966788769