jadohu commited on
Commit
c4d4858
·
1 Parent(s): dfb39d8

model upload

Browse files
Files changed (3) hide show
  1. config.json +40 -0
  2. generation_config.json +7 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/work/doohyuk_workspace/VisionSpec/LlamaGen/autoregressive/models/t2i_config.json",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "block_size": 1024,
8
+ "bos_token_id": 1,
9
+ "caption_dim": 2048,
10
+ "class_dropout_p": 0.1,
11
+ "cls_token_num": 120,
12
+ "eos_token_id": 2,
13
+ "ffn_dropout_p": 0.1,
14
+ "hidden_act": "silu",
15
+ "hidden_size": 1280,
16
+ "initializer_range": 0.02,
17
+ "input_type": "t2i",
18
+ "intermediate_size": 3584,
19
+ "max_batch_size": 32,
20
+ "max_position_embeddings": 2048,
21
+ "max_seq_len": 2048,
22
+ "model_type": "llama",
23
+ "num_attention_heads": 20,
24
+ "num_classes": 1000,
25
+ "num_hidden_layers": 36,
26
+ "num_key_value_heads": 20,
27
+ "pad_token_id": 0,
28
+ "pretraining_tp": 1,
29
+ "resid_dropout_p": 0.1,
30
+ "rms_norm_eps": 1e-05,
31
+ "rope_base": 10000,
32
+ "rope_scaling": null,
33
+ "rope_theta": 10000.0,
34
+ "tie_word_embeddings": false,
35
+ "token_dropout_p": 0.1,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.34.1",
38
+ "use_cache": true,
39
+ "vocab_size": 16384
40
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.34.1"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac87403a6b158bc2fb09c1d4b8484c5ee50cb6e33adb677814d3be9e4259d7f9
3
+ size 3111802418