Upload folder using huggingface_hub
Browse files- config.json +63 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/network/sadkins/llama7b_sparse_24_w4a16_group128",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"compression_config": {
|
10 |
+
"config_groups": {
|
11 |
+
"group_0": {
|
12 |
+
"input_activations": null,
|
13 |
+
"output_activations": null,
|
14 |
+
"targets": [
|
15 |
+
"Linear"
|
16 |
+
],
|
17 |
+
"weights": {
|
18 |
+
"block_structure": null,
|
19 |
+
"dynamic": false,
|
20 |
+
"group_size": 128,
|
21 |
+
"num_bits": 4,
|
22 |
+
"observer": "minmax",
|
23 |
+
"observer_kwargs": {},
|
24 |
+
"strategy": "group",
|
25 |
+
"symmetric": true,
|
26 |
+
"type": "int"
|
27 |
+
}
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"format": "pack-quantized",
|
31 |
+
"global_compression_ratio": 1.896287597650382,
|
32 |
+
"ignore": [
|
33 |
+
"lm_head"
|
34 |
+
],
|
35 |
+
"quant_method": "compressed-tensors",
|
36 |
+
"quantization_status": "frozen",
|
37 |
+
"sparsity_config": {
|
38 |
+
"format": "dense",
|
39 |
+
"global_sparsity": 50.79734011764465,
|
40 |
+
"registry_requires_subclass": false,
|
41 |
+
"sparsity_structure": "unstructured"
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"eos_token_id": 2,
|
45 |
+
"hidden_act": "silu",
|
46 |
+
"hidden_size": 4096,
|
47 |
+
"initializer_range": 0.02,
|
48 |
+
"intermediate_size": 11008,
|
49 |
+
"max_position_embeddings": 4096,
|
50 |
+
"model_type": "llama",
|
51 |
+
"num_attention_heads": 32,
|
52 |
+
"num_hidden_layers": 32,
|
53 |
+
"num_key_value_heads": 32,
|
54 |
+
"pretraining_tp": 1,
|
55 |
+
"rms_norm_eps": 1e-05,
|
56 |
+
"rope_scaling": null,
|
57 |
+
"rope_theta": 10000.0,
|
58 |
+
"tie_word_embeddings": false,
|
59 |
+
"torch_dtype": "float16",
|
60 |
+
"transformers_version": "4.40.0",
|
61 |
+
"use_cache": true,
|
62 |
+
"vocab_size": 32000
|
63 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.40.0"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0b2e90b843bdce8b6c8934e9deb6044d6cf89ffc33f8767e60d0f714f02d4fa
|
3 |
+
size 3864098592
|