sadkins65 commited on
Commit
89c7593
1 Parent(s): 94c059f

Upload folder using huggingface_hub

Browse files
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "/network/sadkins/llama7b_sparse_24_w4a16_group128",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
@@ -27,7 +27,7 @@
27
  }
28
  }
29
  },
30
- "format": "marlin-24",
31
  "global_compression_ratio": 1.896287597650382,
32
  "ignore": [
33
  "lm_head"
@@ -36,7 +36,7 @@
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
  }
@@ -56,8 +56,8 @@
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
  }
 
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
  ],
 
27
  }
28
  }
29
  },
30
+ "format": "dense",
31
  "global_compression_ratio": 1.896287597650382,
32
  "ignore": [
33
  "lm_head"
 
36
  "quantization_status": "frozen",
37
  "sparsity_config": {
38
  "format": "dense",
39
+ "global_sparsity": 50.7973355023164,
40
  "registry_requires_subclass": false,
41
  "sparsity_structure": "unstructured"
42
  }
 
56
  "rope_scaling": null,
57
  "rope_theta": 10000.0,
58
  "tie_word_embeddings": false,
59
+ "torch_dtype": "bfloat16",
60
+ "transformers_version": "4.40.2",
61
  "use_cache": true,
62
  "vocab_size": 32000
63
  }
generation_config.json CHANGED
@@ -2,5 +2,5 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
- "transformers_version": "4.40.0"
6
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
+ "transformers_version": "4.40.2"
6
  }
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: group, group_size: 128}
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
+ }