AutoGPTQ model for facebook/opt-125m: 4 bits, gr128, desc_act=False
Browse files- config.json +44 -0
- model.safetensors +3 -0
- quantize_config.json +13 -0
config.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_attn_implementation_autoset": true,
|
| 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": 3072,
|
| 16 |
+
"hidden_size": 768,
|
| 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": 12,
|
| 23 |
+
"num_hidden_layers": 12,
|
| 24 |
+
"pad_token_id": 1,
|
| 25 |
+
"prefix": "</s>",
|
| 26 |
+
"quantization_config": {
|
| 27 |
+
"bits": 4,
|
| 28 |
+
"damp_percent": 0.01,
|
| 29 |
+
"desc_act": false,
|
| 30 |
+
"group_size": 128,
|
| 31 |
+
"is_marlin_format": false,
|
| 32 |
+
"model_file_base_name": null,
|
| 33 |
+
"model_name_or_path": null,
|
| 34 |
+
"quant_method": "gptq",
|
| 35 |
+
"static_groups": false,
|
| 36 |
+
"sym": true,
|
| 37 |
+
"true_sequential": true
|
| 38 |
+
},
|
| 39 |
+
"torch_dtype": "float16",
|
| 40 |
+
"transformers_version": "4.50.0",
|
| 41 |
+
"use_cache": true,
|
| 42 |
+
"vocab_size": 50272,
|
| 43 |
+
"word_embed_proj_dim": 768
|
| 44 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b89bdfcd1ca3f2671ad49aa23e55cdc3b9cd8b46489c504e9a1393696eae12a
|
| 3 |
+
size 202331624
|
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": null,
|
| 10 |
+
"model_file_base_name": null,
|
| 11 |
+
"is_marlin_format": false,
|
| 12 |
+
"quant_method": "gptq"
|
| 13 |
+
}
|