alexmarques commited on
Commit
e26c723
·
verified ·
1 Parent(s): 8325075

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. config.json +79 -0
  2. generation_config.json +9 -0
  3. model.safetensors +3 -0
  4. recipe.yaml +11 -0
config.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/network/eldar/llama31_8b_evolcodealpaca/sparse_transfer/sp2of4_2ep_lr8e-5_bs64_GradClip2_warmup20ba_noKD",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 128000,
9
+ "eos_token_id": 128001,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 14336,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 32,
19
+ "num_hidden_layers": 32,
20
+ "num_key_value_heads": 8,
21
+ "pretraining_tp": 1,
22
+ "quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": null,
26
+ "output_activations": null,
27
+ "targets": [
28
+ "Linear"
29
+ ],
30
+ "weights": {
31
+ "actorder": null,
32
+ "block_structure": null,
33
+ "dynamic": false,
34
+ "group_size": 128,
35
+ "num_bits": 4,
36
+ "observer": "mse",
37
+ "observer_kwargs": {},
38
+ "strategy": "group",
39
+ "symmetric": true,
40
+ "type": "int"
41
+ }
42
+ }
43
+ },
44
+ "format": "marlin-24",
45
+ "global_compression_ratio": 1.8917232374233346,
46
+ "ignore": [
47
+ "lm_head"
48
+ ],
49
+ "kv_cache_scheme": null,
50
+ "quant_method": "compressed-tensors",
51
+ "quantization_status": "compressed",
52
+ "sparsity_config": {
53
+ "format": "dense",
54
+ "global_sparsity": 0.45896846825239346,
55
+ "ignore": [
56
+ "lm_head"
57
+ ],
58
+ "registry_requires_subclass": false,
59
+ "sparsity_structure": "2:4",
60
+ "targets": [
61
+ "Linear"
62
+ ]
63
+ }
64
+ },
65
+ "rms_norm_eps": 1e-05,
66
+ "rope_scaling": {
67
+ "factor": 8.0,
68
+ "high_freq_factor": 4.0,
69
+ "low_freq_factor": 1.0,
70
+ "original_max_position_embeddings": 8192,
71
+ "rope_type": "llama3"
72
+ },
73
+ "rope_theta": 500000.0,
74
+ "tie_word_embeddings": false,
75
+ "torch_dtype": "bfloat16",
76
+ "transformers_version": "4.46.3",
77
+ "use_cache": true,
78
+ "vocab_size": 128256
79
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 128000,
4
+ "do_sample": true,
5
+ "eos_token_id": 128001,
6
+ "temperature": 0.6,
7
+ "top_p": 0.9,
8
+ "transformers_version": "4.46.3"
9
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edceb6450f0125e45022bc8038fb5f49e72d3c2b4aaaf4645616be9441a82b0b
3
+ size 4828263024
recipe.yaml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ quant_stage:
2
+ quant_modifiers:
3
+ GPTQModifier:
4
+ sequential_update: true
5
+ dampening_frac: 0.01
6
+ ignore: [lm_head]
7
+ config_groups:
8
+ group_0:
9
+ weights: {num_bits: 4, type: int, symmetric: true, strategy: group, group_size: 128,
10
+ observer: mse}
11
+ targets: [Linear]