jan-hq commited on
Commit
a54a304
·
verified ·
1 Parent(s): d6b88f2

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.8.0",
3
+ "pretrained_config": {
4
+ "architecture": "LlamaForCausalLM",
5
+ "dtype": "float16",
6
+ "logits_dtype": "float32",
7
+ "vocab_size": 32000,
8
+ "max_position_embeddings": 2048,
9
+ "hidden_size": 2048,
10
+ "num_hidden_layers": 22,
11
+ "num_attention_heads": 32,
12
+ "num_key_value_heads": 4,
13
+ "head_size": 64,
14
+ "hidden_act": "silu",
15
+ "intermediate_size": 5632,
16
+ "norm_epsilon": 1e-05,
17
+ "position_embedding_type": "rope_gpt_neox",
18
+ "use_prompt_tuning": false,
19
+ "use_parallel_embedding": true,
20
+ "embedding_sharding_dim": 0,
21
+ "share_embedding_table": false,
22
+ "mapping": {
23
+ "world_size": 1,
24
+ "tp_size": 1,
25
+ "pp_size": 1
26
+ },
27
+ "kv_dtype": "float16",
28
+ "max_lora_rank": 64,
29
+ "producer": {
30
+ "name": "ammo",
31
+ "version": "0.7.4"
32
+ },
33
+ "rotary_base": 10000.0,
34
+ "mlp_bias": false,
35
+ "attn_bias": false,
36
+ "rotary_scaling": null,
37
+ "enable_pos_shift": false,
38
+ "dense_context_fmha": false,
39
+ "moe_num_experts": 0,
40
+ "moe_top_k": 0,
41
+ "moe_tp_mode": 2,
42
+ "moe_normalization_mode": 1,
43
+ "quantization": {
44
+ "quant_algo": "W4A16",
45
+ "kv_cache_quant_algo": null,
46
+ "group_size": 128,
47
+ "has_zero_point": false,
48
+ "pre_quant_scale": false,
49
+ "exclude_modules": null,
50
+ "sq_use_plugin": false
51
+ }
52
+ },
53
+ "build_config": {
54
+ "max_input_len": 1024,
55
+ "max_output_len": 1024,
56
+ "max_batch_size": 1,
57
+ "max_beam_width": 1,
58
+ "max_num_tokens": 1024,
59
+ "max_prompt_embedding_table_size": 0,
60
+ "gather_context_logits": false,
61
+ "gather_generation_logits": false,
62
+ "strongly_typed": false,
63
+ "builder_opt": null,
64
+ "profiling_verbosity": "layer_names_only",
65
+ "enable_debug_output": false,
66
+ "plugin_config": {
67
+ "bert_attention_plugin": "float16",
68
+ "gpt_attention_plugin": "float16",
69
+ "gemm_plugin": "float16",
70
+ "smooth_quant_gemm_plugin": null,
71
+ "identity_plugin": null,
72
+ "layernorm_quantization_plugin": null,
73
+ "rmsnorm_quantization_plugin": null,
74
+ "nccl_plugin": null,
75
+ "lookup_plugin": null,
76
+ "lora_plugin": null,
77
+ "weight_only_groupwise_quant_matmul_plugin": null,
78
+ "weight_only_quant_matmul_plugin": "float16",
79
+ "quantize_per_token_plugin": false,
80
+ "quantize_tensor_plugin": false,
81
+ "context_fmha": true,
82
+ "context_fmha_fp32_acc": false,
83
+ "paged_kv_cache": true,
84
+ "remove_input_padding": true,
85
+ "use_custom_all_reduce": true,
86
+ "multi_block_mode": false,
87
+ "enable_xqa": true,
88
+ "attention_qk_half_accumulation": false,
89
+ "tokens_per_block": 128,
90
+ "use_paged_context_fmha": false,
91
+ "use_context_fmha_for_generation": false
92
+ }
93
+ }
94
+ }
rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed843039cfc2c0f6ac2f1f92185dc5c951d0f2b2927a7c5b7294d123385c822c
3
+ size 750191540
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "bos_token": "<s>",
31
+ "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "legacy": false,
35
+ "model_max_length": 2048,
36
+ "pad_token": "</s>",
37
+ "padding_side": "right",
38
+ "sp_model_kwargs": {},
39
+ "tokenizer_class": "LlamaTokenizer",
40
+ "unk_token": "<unk>",
41
+ "use_default_system_prompt": false
42
+ }