lr-thinker commited on
Commit
cd168a5
·
1 Parent(s): d5f99b7

Upload of AutoGPTQ quantized model

Browse files
Files changed (3) hide show
  1. config.json +31 -0
  2. gptq_model-4bit-32g.bin +3 -0
  3. quantize_config.json +11 -0
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "build/vietnamese-llama-2-7b-4bit-32g",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 4096,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 11008,
13
+ "max_position_embeddings": 8192,
14
+ "model_type": "llama",
15
+ "num_attention_heads": 32,
16
+ "num_hidden_layers": 32,
17
+ "num_key_value_heads": 32,
18
+ "pad_token_id": 0,
19
+ "pretraining_tp": 1,
20
+ "rms_norm_eps": 1e-05,
21
+ "rope_scaling": {
22
+ "factor": 2.0,
23
+ "type": "linear"
24
+ },
25
+ "rope_theta": 10000.0,
26
+ "tie_word_embeddings": false,
27
+ "torch_dtype": "float16",
28
+ "transformers_version": "4.34.1",
29
+ "use_cache": true,
30
+ "vocab_size": 32000
31
+ }
gptq_model-4bit-32g.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6abb57d6348925afa805a40411e1b56b74314b8856dc7ec8f1ca92162aa4681
3
+ size 7512816872
quantize_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bits": 4,
3
+ "group_size": 32,
4
+ "damp_percent": 0.01,
5
+ "desc_act": false,
6
+ "static_groups": false,
7
+ "sym": true,
8
+ "true_sequential": true,
9
+ "model_name_or_path": "build/vietnamese-llama-2-7b-4bit-32g",
10
+ "model_file_base_name": "gptq_model-4bit-32g"
11
+ }