OPEA
/

Safetensors
llama
4-bit precision
awq
n1ck-guo commited on
Commit
277ace4
·
1 Parent(s): 82e2dc3

upload awq format

Browse files

Signed-off-by: n1ck-guo <heng.guo@intel.com>

config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/models/falcon3-3B",
3
+ "activation": "swiglu",
4
+ "architectures": [
5
+ "LlamaForCausalLM"
6
+ ],
7
+ "attention_bias": false,
8
+ "attention_dropout": 0.0,
9
+ "bos_token_id": 11,
10
+ "eos_token_id": 11,
11
+ "head_dim": 256,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 3072,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 9216,
16
+ "max_position_embeddings": 4096,
17
+ "mlp_bias": false,
18
+ "model_type": "llama",
19
+ "num_attention_heads": 12,
20
+ "num_hidden_layers": 22,
21
+ "num_key_value_heads": 4,
22
+ "parallel_attn": false,
23
+ "pretraining_tp": 1,
24
+ "quantization_config": {
25
+ "amp": true,
26
+ "autoround_version": "0.4.2",
27
+ "batch_size": 8,
28
+ "bits": 4,
29
+ "data_type": "int",
30
+ "dataset": "NeelNanda/pile-10k",
31
+ "enable_minmax_tuning": true,
32
+ "enable_norm_bias_tuning": false,
33
+ "enable_quanted_input": true,
34
+ "gradient_accumulate_steps": 1,
35
+ "group_size": 128,
36
+ "iters": 2000,
37
+ "low_gpu_mem_usage": false,
38
+ "lr": 0.0005,
39
+ "minmax_lr": 0.0005,
40
+ "modules_to_not_convert": [
41
+ "lm_head"
42
+ ],
43
+ "nsamples": 512,
44
+ "quant_method": "awq",
45
+ "scale_dtype": "torch.float16",
46
+ "seqlen": 2048,
47
+ "sym": true,
48
+ "to_quant_block_names": null,
49
+ "version": "gemm",
50
+ "zero_point": false
51
+ },
52
+ "rms_norm_eps": 1e-06,
53
+ "rope_scaling": null,
54
+ "rope_theta": 1000042,
55
+ "tie_word_embeddings": false,
56
+ "torch_dtype": "float16",
57
+ "transformers_version": "4.47.0",
58
+ "use_cache": true,
59
+ "vocab_size": 131072
60
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 11,
4
+ "eos_token_id": 11,
5
+ "transformers_version": "4.47.0"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c562834450322997adf80173189f7e92325ea891c0cf392ffadcba9b0738962
3
+ size 2869360568
quantization_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bits": 4,
3
+ "group_size": 128,
4
+ "sym": true,
5
+ "data_type": "int",
6
+ "enable_quanted_input": true,
7
+ "enable_minmax_tuning": true,
8
+ "seqlen": 2048,
9
+ "batch_size": 8,
10
+ "scale_dtype": "torch.float16",
11
+ "lr": 0.0005,
12
+ "minmax_lr": 0.0005,
13
+ "gradient_accumulate_steps": 1,
14
+ "iters": 2000,
15
+ "amp": true,
16
+ "nsamples": 512,
17
+ "low_gpu_mem_usage": false,
18
+ "to_quant_block_names": null,
19
+ "enable_norm_bias_tuning": false,
20
+ "dataset": "NeelNanda/pile-10k",
21
+ "autoround_version": "0.4.2",
22
+ "quant_method": "awq",
23
+ "zero_point": false,
24
+ "version": "gemm",
25
+ "modules_to_not_convert": [
26
+ "lm_head"
27
+ ]
28
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ ">>TITLE<<",
4
+ ">>ABSTRACT<<",
5
+ ">>INTRODUCTION<<",
6
+ ">>SUMMARY<<",
7
+ ">>COMMENT<<",
8
+ ">>ANSWER<<",
9
+ ">>QUESTION<<",
10
+ ">>DOMAIN<<",
11
+ ">>EMAIL_ADDRESS<<",
12
+ ">>IP_ADDRESS<<",
13
+ "<|startoftext|>",
14
+ ">>IP_ADDRESS_0<<",
15
+ ">>IP_ADDRESS_1<<",
16
+ ">>IP_ADDRESS_2<<",
17
+ ">>IP_ADDRESS_3<<",
18
+ ">>IP_ADDRESS_4<<",
19
+ ">>IP_ADDRESS_5<<",
20
+ ">>IP_ADDRESS_6<<",
21
+ ">>IP_ADDRESS_7<<",
22
+ ">>IP_ADDRESS_8<<",
23
+ ">>IP_ADDRESS_9<<",
24
+ ">>PASSWORD<<",
25
+ ">>KEY<<"
26
+ ],
27
+ "eos_token": {
28
+ "content": "<|endoftext|>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ }
34
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff