dylanebert HF staff commited on
Commit
3f12d0a
1 Parent(s): 977ac1c

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +34 -0
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "opt-350m",
3
+ "_remove_final_layer_norm": false,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "relu",
6
+ "architectures": [
7
+ "OPTForCausalLM"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "bos_token_id": 0,
11
+ "cond_length": 257,
12
+ "do_layer_norm_before": false,
13
+ "dropout": 0.1,
14
+ "enable_bias": true,
15
+ "eos_token_id": 1,
16
+ "face_per_token": 9,
17
+ "ffn_dim": 4096,
18
+ "hidden_size": 1024,
19
+ "init_std": 0.02,
20
+ "layer_norm_elementwise_affine": true,
21
+ "layerdrop": 0.0,
22
+ "max_position_embeddings": 10340,
23
+ "model_type": "shape_opt",
24
+ "n_discrete_size": 128,
25
+ "num_attention_heads": 16,
26
+ "num_hidden_layers": 24,
27
+ "pad_token_id": 2,
28
+ "prefix": "</s>",
29
+ "torch_dtype": "float16",
30
+ "transformers_version": "4.39.3",
31
+ "use_cache": true,
32
+ "vocab_size": 132,
33
+ "word_embed_proj_dim": 1024
34
+ }