Silence-mj commited on
Commit
b24f489
1 Parent(s): 9157e4e

Upload config

Browse files
Files changed (1) hide show
  1. config.json +39 -0
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/vg_data/share/models/opt/opt-6.7b",
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": 2,
11
+ "do_layer_norm_before": true,
12
+ "dropout": 0.1,
13
+ "enable_bias": true,
14
+ "eos_token_id": 2,
15
+ "ffn_dim": 16384,
16
+ "hidden_size": 4096,
17
+ "init_std": 0.02,
18
+ "layer_norm_elementwise_affine": true,
19
+ "layerdrop": 0.0,
20
+ "max_position_embeddings": 2048,
21
+ "model_type": "opt",
22
+ "num_attention_heads": 32,
23
+ "num_hidden_layers": 32,
24
+ "pad_token_id": 1,
25
+ "prefix": "</s>",
26
+ "quantization_config": {
27
+ "backend": "llm-awq",
28
+ "bits": 4,
29
+ "group_size": 128,
30
+ "quant_method": "awq",
31
+ "version": "gemv",
32
+ "zero_point": true
33
+ },
34
+ "torch_dtype": "float16",
35
+ "transformers_version": "4.35.2",
36
+ "use_cache": true,
37
+ "vocab_size": 50272,
38
+ "word_embed_proj_dim": 4096
39
+ }