hongyin commited on
Commit
89e7da5
1 Parent(s): cadd902

Upload 2 files

Browse files
Files changed (2) hide show
  1. added_tokens.json +5 -0
  2. config.json +51 -0
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "</s>": 2,
3
+ "<s>": 1,
4
+ "<unk>": 0
5
+ }
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hongyin/chat-llama2-70b-4bit",
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": 8192,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 28672,
13
+ "max_position_embeddings": 4096,
14
+ "model_type": "llama",
15
+ "num_attention_heads": 64,
16
+ "num_hidden_layers": 80,
17
+ "num_key_value_heads": 8,
18
+ "pad_token_id": 0,
19
+ "pretraining_tp": 1,
20
+ "quantization_config": {
21
+ "batch_size": 1,
22
+ "bits": 4,
23
+ "block_name_to_quantize": "model.layers",
24
+ "damp_percent": 0.1,
25
+ "dataset": [
26
+ ""
27
+ ],
28
+ "desc_act": false,
29
+ "disable_exllama": false,
30
+ "group_size": 128,
31
+ "max_input_length": null,
32
+ "model_seqlen": 4096,
33
+ "module_name_preceding_first_block": [
34
+ "model.embed_tokens"
35
+ ],
36
+ "pad_token_id": null,
37
+ "quant_method": "gptq",
38
+ "sym": true,
39
+ "tokenizer": null,
40
+ "true_sequential": true,
41
+ "use_cuda_fp16": true
42
+ },
43
+ "rms_norm_eps": 1e-05,
44
+ "rope_scaling": null,
45
+ "rope_theta": 10000.0,
46
+ "tie_word_embeddings": false,
47
+ "torch_dtype": "float16",
48
+ "transformers_version": "4.34.0",
49
+ "use_cache": true,
50
+ "vocab_size": 32000
51
+ }