iproskurina commited on
Commit
186b371
1 Parent(s): bea0d0b

AutoGPTQ model for facebook/opt-125m: 4 bits, gr128, desc_act=False

Browse files
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "facebook/opt-125m",
4
+ "_remove_final_layer_norm": false,
5
+ "activation_dropout": 0.0,
6
+ "activation_function": "relu",
7
+ "architectures": [
8
+ "OPTForCausalLM"
9
+ ],
10
+ "attention_dropout": 0.0,
11
+ "bos_token_id": 2,
12
+ "do_layer_norm_before": true,
13
+ "dropout": 0.1,
14
+ "enable_bias": true,
15
+ "eos_token_id": 2,
16
+ "ffn_dim": 3072,
17
+ "hidden_size": 768,
18
+ "init_std": 0.02,
19
+ "layer_norm_elementwise_affine": true,
20
+ "layerdrop": 0.0,
21
+ "max_position_embeddings": 2048,
22
+ "model_type": "opt",
23
+ "num_attention_heads": 12,
24
+ "num_hidden_layers": 12,
25
+ "pad_token_id": 1,
26
+ "prefix": "</s>",
27
+ "quantization_config": {
28
+ "bits": 4,
29
+ "checkpoint_format": "gptq",
30
+ "damp_percent": 0.01,
31
+ "desc_act": false,
32
+ "group_size": 128,
33
+ "model_file_base_name": "gptq_model-4bit-128g",
34
+ "model_name_or_path": "opt-125m-4bit",
35
+ "quant_method": "gptq",
36
+ "static_groups": false,
37
+ "sym": true,
38
+ "true_sequential": true
39
+ },
40
+ "torch_dtype": "float16",
41
+ "transformers_version": "4.46.3",
42
+ "use_cache": true,
43
+ "vocab_size": 50272,
44
+ "word_embed_proj_dim": 768
45
+ }
gptq_model-4bit-128g.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b23795c6f83b781bc962aaee1ef535d3e9b62dcd01424d622fcde4c8c180231a
3
+ size 202331656
quantize_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bits": 4,
3
+ "group_size": 128,
4
+ "damp_percent": 0.01,
5
+ "desc_act": false,
6
+ "static_groups": false,
7
+ "sym": true,
8
+ "true_sequential": true,
9
+ "model_name_or_path": "opt-125m-4bit",
10
+ "model_file_base_name": "gptq_model-4bit-128g",
11
+ "quant_method": "gptq",
12
+ "checkpoint_format": "gptq"
13
+ }