sadkins65 commited on
Commit
a1b0e9f
1 Parent(s): 323d634

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/root/.cache/huggingface/hub/models--neuralmagic--SparseLlama-2-7b-cnn-daily-mail-pruned_50.2of4/snapshots/9f5abdaba734b6ff492723a824ee4c9c269da61a",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "compression_config": {
10
+ "quantization_config": {
11
+ "config_groups": {
12
+ "group_0": {
13
+ "input_activations": null,
14
+ "output_activations": null,
15
+ "targets": [
16
+ "Linear"
17
+ ],
18
+ "weights": {
19
+ "block_structure": null,
20
+ "dynamic": false,
21
+ "group_size": null,
22
+ "num_bits": 4,
23
+ "observer": "minmax",
24
+ "observer_kwargs": {},
25
+ "strategy": "channel",
26
+ "symmetric": true,
27
+ "type": "int"
28
+ }
29
+ }
30
+ },
31
+ "format": "pack-quantized",
32
+ "global_compression_ratio": 1.8983383764912574,
33
+ "ignore": [
34
+ "lm_head"
35
+ ],
36
+ "quant_method": "sparseml",
37
+ "quantization_status": "frozen"
38
+ },
39
+ "sparsity_config": {
40
+ "format": "dense",
41
+ "global_sparsity": 53.93040953679281,
42
+ "registry_requires_subclass": false,
43
+ "sparsity_structure": "unstructured"
44
+ }
45
+ },
46
+ "eos_token_id": 2,
47
+ "hidden_act": "silu",
48
+ "hidden_size": 4096,
49
+ "initializer_range": 0.02,
50
+ "intermediate_size": 11008,
51
+ "max_position_embeddings": 4096,
52
+ "model_type": "llama",
53
+ "num_attention_heads": 32,
54
+ "num_hidden_layers": 32,
55
+ "num_key_value_heads": 32,
56
+ "pretraining_tp": 1,
57
+ "rms_norm_eps": 1e-05,
58
+ "rope_scaling": null,
59
+ "rope_theta": 10000.0,
60
+ "tie_word_embeddings": false,
61
+ "torch_dtype": "bfloat16",
62
+ "transformers_version": "4.40.0",
63
+ "use_cache": true,
64
+ "vocab_size": 32000
65
+ }
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:fe82bc791c167b4e46f2372589e0de35d1e96688e1dd225a494b9ea051806bf6
3
+ size 3765630592
recipe.yaml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ quant_stage:
2
+ quant_modifiers:
3
+ GPTQModifier:
4
+ sequential_update: false
5
+ ignore: [lm_head]
6
+ config_groups:
7
+ group_0:
8
+ weights: {num_bits: 4, type: int, symmetric: true, strategy: channel}
9
+ targets: [Linear]
special_tokens_map.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<unk>",
4
+ "<s>",
5
+ "</s>"
6
+ ],
7
+ "bos_token": {
8
+ "content": "<s>",
9
+ "lstrip": false,
10
+ "normalized": false,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "eos_token": {
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "pad_token": "</s>",
22
+ "unk_token": {
23
+ "content": "<unk>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false
28
+ }
29
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "additional_special_tokens": [
31
+ "<unk>",
32
+ "<s>",
33
+ "</s>"
34
+ ],
35
+ "bos_token": "<s>",
36
+ "clean_up_tokenization_spaces": false,
37
+ "eos_token": "</s>",
38
+ "legacy": false,
39
+ "model_max_length": 4096,
40
+ "pad_token": "</s>",
41
+ "padding_side": "right",
42
+ "sp_model_kwargs": {},
43
+ "tokenizer_class": "LlamaTokenizer",
44
+ "unk_token": "<unk>",
45
+ "use_default_system_prompt": true
46
+ }