File size: 2,579 Bytes
3f6fa69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
  "architectures": [
    "DeltaRegionModel"
  ],
  "attribute_names": [
    "face",
    "nose",
    "lips",
    "ears",
    "neck",
    "eyes"
  ],
  "auto_map": {
    "AutoConfig": "modeling_deltaregion.DeltaRegionConfig",
    "AutoModel": "modeling_deltaregion.DeltaRegionModel"
  },
  "cross_attention": {
    "d_model": 512,
    "dropout": 0.1,
    "num_heads": 8
  },
  "delta_decoder": {
    "dropout": 0.15,
    "final_activation": null,
    "hidden_dims": [
      768,
      512,
      512
    ],
    "use_layer_norm": false
  },
  "dims_per_attribute": 8,
  "dtype": "float32",
  "fused_dropout_rate": 0.3,
  "gate_net": {
    "dropout": 0.15,
    "final_activation": null,
    "hidden_dims": [
      512
    ],
    "use_layer_norm": false
  },
  "inference_prior_scale": 1.2,
  "max_text_length": 128,
  "model_type": "deltaregion",
  "posterior_net": {
    "delta_encoder_hidden_dims": [
      512,
      512
    ],
    "dropout": 0.15,
    "final_activation": null,
    "hidden_dims": [
      768,
      512
    ],
    "use_layer_norm": true
  },
  "prior_net": {
    "dropout": 0.15,
    "final_activation": null,
    "hidden_dims": [
      768,
      512
    ],
    "use_layer_norm": true
  },
  "shape_dim": 300,
  "shape_encoder": {
    "dropout": 0.15,
    "final_activation": null,
    "hidden_dims": [
      512,
      512
    ],
    "use_layer_norm": true
  },
  "t5_config": {
    "chunk_size_feed_forward": 0,
    "classifier_dropout": 0.0,
    "d_ff": 2816,
    "d_kv": 64,
    "d_model": 1024,
    "decoder_start_token_id": 0,
    "dense_act_fn": "gelu_new",
    "dropout_rate": 0.1,
    "eos_token_id": 1,
    "feed_forward_proj": "gated-gelu",
    "id2label": {
      "0": "LABEL_0",
      "1": "LABEL_1"
    },
    "initializer_factor": 1.0,
    "is_decoder": false,
    "is_encoder_decoder": true,
    "is_gated_act": true,
    "label2id": {
      "LABEL_0": 0,
      "LABEL_1": 1
    },
    "layer_norm_epsilon": 1e-06,
    "model_type": "t5",
    "n_positions": 512,
    "num_decoder_layers": 24,
    "num_heads": 16,
    "num_layers": 24,
    "output_attentions": false,
    "output_hidden_states": false,
    "output_past": true,
    "pad_token_id": 0,
    "problem_type": null,
    "relative_attention_max_distance": 128,
    "relative_attention_num_buckets": 32,
    "return_dict": true,
    "scale_decoder_outputs": false,
    "tie_word_embeddings": true,
    "use_cache": true,
    "vocab_size": 32128
  },
  "text_dim": 1024,
  "text_model_name": "google/flan-t5-large",
  "tie_word_embeddings": false,
  "transformers_version": "5.23.0"
}