TheBloke commited on
Commit
77dbf48
1 Parent(s): 7d9618d

GPTQ model commit

Browse files
Files changed (3) hide show
  1. config.json +55 -0
  2. model.safetensors +3 -0
  3. quantize_config.json +8 -0
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/workspace/process/01-ai_yi-6b/source",
3
+ "architectures": [
4
+ "YiForCausalLM"
5
+ ],
6
+ "auto_map": {
7
+ "AutoConfig": "configuration_yi.YiConfig",
8
+ "AutoModel": "modeling_yi.YiModel",
9
+ "AutoModelForCausalLM": "modeling_yi.YiForCausalLM"
10
+ },
11
+ "bos_token_id": 1,
12
+ "eos_token_id": 2,
13
+ "hidden_act": "silu",
14
+ "hidden_size": 4096,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 11008,
17
+ "max_position_embeddings": 4096,
18
+ "model_type": "Yi",
19
+ "num_attention_heads": 32,
20
+ "num_hidden_layers": 32,
21
+ "num_key_value_heads": 4,
22
+ "pad_token_id": 0,
23
+ "pretraining_tp": 1,
24
+ "quantization_config": {
25
+ "batch_size": 1,
26
+ "bits": 4,
27
+ "block_name_to_quantize": "model.layers",
28
+ "cache_block_outputs": true,
29
+ "damp_percent": 0.1,
30
+ "desc_act": true,
31
+ "exllama_config": {
32
+ "version": 1
33
+ },
34
+ "group_size": 128,
35
+ "max_input_length": null,
36
+ "model_seqlen": 4096,
37
+ "module_name_preceding_first_block": [
38
+ "model.embed_tokens"
39
+ ],
40
+ "pad_token_id": null,
41
+ "quant_method": "gptq",
42
+ "sym": true,
43
+ "tokenizer": null,
44
+ "true_sequential": true,
45
+ "use_cuda_fp16": false,
46
+ "use_exllama": false
47
+ },
48
+ "rms_norm_eps": 1e-05,
49
+ "rope_theta": 5000000.0,
50
+ "tie_word_embeddings": false,
51
+ "torch_dtype": "bfloat16",
52
+ "transformers_version": "4.35.0",
53
+ "use_cache": true,
54
+ "vocab_size": 64000
55
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fb0b667cb7eb3e68b3dcfa388ec882005e349764ef56da540e65a018cb6439c
3
+ size 3932430856
quantize_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bits": 8,
3
+ "group_size": 128,
4
+ "damp_percent": 0.1,
5
+ "desc_act": true,
6
+ "sym": true,
7
+ "true_sequential": true
8
+ }