first commit
Browse files- config.json +31 -0
- quant_config.json +11 -0
- quantized_weights.pt +3 -0
config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "facebook/opt-30b",
|
| 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": 28672,
|
| 16 |
+
"hidden_size": 7168,
|
| 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": 56,
|
| 23 |
+
"num_hidden_layers": 48,
|
| 24 |
+
"pad_token_id": 1,
|
| 25 |
+
"prefix": "</s>",
|
| 26 |
+
"torch_dtype": "float16",
|
| 27 |
+
"transformers_version": "4.28.0",
|
| 28 |
+
"use_cache": true,
|
| 29 |
+
"vocab_size": 50272,
|
| 30 |
+
"word_embed_proj_dim": 7168
|
| 31 |
+
}
|
quant_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset": "c4",
|
| 3 |
+
"bits": 3,
|
| 4 |
+
"nsamples": 128,
|
| 5 |
+
"groupsize": 64,
|
| 6 |
+
"act_order": true,
|
| 7 |
+
"percdamp": 0.01,
|
| 8 |
+
"seed": 0,
|
| 9 |
+
"nearest": false,
|
| 10 |
+
"save": "./opt-30b-quantized-3bit"
|
| 11 |
+
}
|
quantized_weights.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1131a1821a0b04edfccf0540b076d3ae5b20964bea11dcca63cab500ac9a3937
|
| 3 |
+
size 12968417637
|