Text Generation
Transformers
Safetensors
starcoder2
code
Eval Results
text-generation-inference
8-bit precision
compressed-tensors
mgoin commited on
Commit
93ac3f3
·
verified ·
1 Parent(s): f6f3677

Updated compression_config to quantization_config

Browse files
Files changed (1) hide show
  1. config.json +27 -27
config.json CHANGED
@@ -7,7 +7,32 @@
7
  "attention_dropout": 0.1,
8
  "attention_softmax_in_fp32": true,
9
  "bos_token_id": 0,
10
- "compression_config": {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  "config_groups": {
12
  "group_0": {
13
  "input_activations": {
@@ -52,30 +77,5 @@
52
  "registry_requires_subclass": false,
53
  "sparsity_structure": "unstructured"
54
  }
55
- },
56
- "embedding_dropout": 0.1,
57
- "eos_token_id": 0,
58
- "hidden_act": "gelu_pytorch_tanh",
59
- "hidden_size": 4608,
60
- "initializer_range": 0.018042,
61
- "intermediate_size": 18432,
62
- "layer_norm_epsilon": 1e-05,
63
- "max_position_embeddings": 16384,
64
- "mlp_type": "default",
65
- "model_type": "starcoder2",
66
- "norm_epsilon": 1e-05,
67
- "norm_type": "layer_norm",
68
- "num_attention_heads": 36,
69
- "num_hidden_layers": 32,
70
- "num_key_value_heads": 4,
71
- "residual_dropout": 0.1,
72
- "rope_theta": 1000000,
73
- "scale_attention_softmax_in_fp32": true,
74
- "scale_attn_weights": true,
75
- "sliding_window": 4096,
76
- "torch_dtype": "bfloat16",
77
- "transformers_version": "4.43.3",
78
- "use_bias": true,
79
- "use_cache": true,
80
- "vocab_size": 49152
81
  }
 
7
  "attention_dropout": 0.1,
8
  "attention_softmax_in_fp32": true,
9
  "bos_token_id": 0,
10
+ "embedding_dropout": 0.1,
11
+ "eos_token_id": 0,
12
+ "hidden_act": "gelu_pytorch_tanh",
13
+ "hidden_size": 4608,
14
+ "initializer_range": 0.018042,
15
+ "intermediate_size": 18432,
16
+ "layer_norm_epsilon": 1e-05,
17
+ "max_position_embeddings": 16384,
18
+ "mlp_type": "default",
19
+ "model_type": "starcoder2",
20
+ "norm_epsilon": 1e-05,
21
+ "norm_type": "layer_norm",
22
+ "num_attention_heads": 36,
23
+ "num_hidden_layers": 32,
24
+ "num_key_value_heads": 4,
25
+ "residual_dropout": 0.1,
26
+ "rope_theta": 1000000,
27
+ "scale_attention_softmax_in_fp32": true,
28
+ "scale_attn_weights": true,
29
+ "sliding_window": 4096,
30
+ "torch_dtype": "bfloat16",
31
+ "transformers_version": "4.43.3",
32
+ "use_bias": true,
33
+ "use_cache": true,
34
+ "vocab_size": 49152,
35
+ "quantization_config": {
36
  "config_groups": {
37
  "group_0": {
38
  "input_activations": {
 
77
  "registry_requires_subclass": false,
78
  "sparsity_structure": "unstructured"
79
  }
80
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  }