File size: 2,032 Bytes
23ed78c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4f11e54
23ed78c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "architectures": [
    "JanusForConditionalGeneration"
  ],
  "image_token_id": 100594,
  "image_token_index": 100581,
  "model_type": "janus",
  "text_config": {
    "attention_bias": false,
    "attention_dropout": 0.0,
    "bos_token_id": 100000,
    "eos_token_id": 100001,
    "head_dim": 128,
    "hidden_act": "silu",
    "hidden_size": 4096,
    "initializer_range": 0.02,
    "intermediate_size": 11008,
    "max_position_embeddings": 16384,
    "mlp_bias": false,
    "model_type": "llama",
    "num_attention_heads": 32,
    "num_hidden_layers": 1,
    "num_key_value_heads": 32,
    "pad_token_id": 100015,
    "pretraining_tp": 1,
    "rms_norm_eps": 1e-06,
    "rope_scaling": null,
    "rope_theta": 10000.0,
    "torch_dtype": "bfloat16",
    "use_cache": true,
    "vocab_size": 102400
  },
  "torch_dtype": "bfloat16",
  "transformers_version": "4.52.0.dev0",
  "vision_config": {
    "attention_bias": true,
    "attention_dropout": 0.0,
    "depth": 2,
    "hidden_act": "gelu",
    "hidden_dropout_rate": 0.0,
    "hidden_size": 1024,
    "image_size": 384,
    "initializer_range": 0.02,
    "layer_norm_eps": 1e-06,
    "mlp_ratio": 4.0,
    "model_type": "janus_vision_model",
    "num_attention_heads": 16,
    "num_channels": 3,
    "num_hidden_layers": 24,
    "num_image_tokens": 576,
    "patch_size": 16,
    "projection_dim": 4096,
    "projection_dropout": 0.0,
    "torch_dtype": "bfloat16",
    "use_qk_norm": false
  },
  "vq_config": {
    "base_channels": 128,
    "channel_multiplier": [
      1,
      1,
      2,
      2,
      4
    ],
    "depth": 2,
    "double_latent": false,
    "dropout": 0.0,
    "embed_dim": 8,
    "hidden_act": "gelu",
    "image_token_embed_dim": 4096,
    "in_channels": 3,
    "initializer_range": 0.02,
    "latent_channels": 256,
    "model_type": "janus_vqgan",
    "num_embeddings": 16384,
    "num_hidden_layers": 2,
    "num_patches": 24,
    "num_res_blocks": 2,
    "out_channels": 3,
    "projection_dim": 4096,
    "torch_dtype": "bfloat16"
  }
}