jan-hq
commited on
Commit
·
9adc452
1
Parent(s):
4576eff
del
Browse files- config.json +0 -112
- rank0.engine +0 -3
- special_tokens_map.json +0 -30
- tokenizer.json +0 -0
- tokenizer.model +0 -3
- tokenizer_config.json +0 -42
config.json
DELETED
|
@@ -1,112 +0,0 @@
|
|
| 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": false,
|
| 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 |
-
"rotary_base": 10000.0,
|
| 30 |
-
"rotary_scaling": null,
|
| 31 |
-
"moe_num_experts": 0,
|
| 32 |
-
"moe_top_k": 0,
|
| 33 |
-
"moe_tp_mode": 2,
|
| 34 |
-
"moe_normalization_mode": 1,
|
| 35 |
-
"enable_pos_shift": false,
|
| 36 |
-
"dense_context_fmha": false,
|
| 37 |
-
"lora_target_modules": null,
|
| 38 |
-
"hf_modules_to_trtllm_modules": {
|
| 39 |
-
"q_proj": "attn_q",
|
| 40 |
-
"k_proj": "attn_k",
|
| 41 |
-
"v_proj": "attn_v",
|
| 42 |
-
"o_proj": "attn_dense",
|
| 43 |
-
"gate_proj": "mlp_h_to_4h",
|
| 44 |
-
"down_proj": "mlp_4h_to_h",
|
| 45 |
-
"up_proj": "mlp_gate"
|
| 46 |
-
},
|
| 47 |
-
"trtllm_modules_to_hf_modules": {
|
| 48 |
-
"attn_q": "q_proj",
|
| 49 |
-
"attn_k": "k_proj",
|
| 50 |
-
"attn_v": "v_proj",
|
| 51 |
-
"attn_dense": "o_proj",
|
| 52 |
-
"mlp_h_to_4h": "gate_proj",
|
| 53 |
-
"mlp_4h_to_h": "down_proj",
|
| 54 |
-
"mlp_gate": "up_proj"
|
| 55 |
-
},
|
| 56 |
-
"disable_weight_only_quant_plugin": false,
|
| 57 |
-
"mlp_bias": false,
|
| 58 |
-
"attn_bias": false,
|
| 59 |
-
"quantization": {
|
| 60 |
-
"quant_algo": null,
|
| 61 |
-
"kv_cache_quant_algo": null,
|
| 62 |
-
"group_size": 128,
|
| 63 |
-
"has_zero_point": false,
|
| 64 |
-
"pre_quant_scale": false,
|
| 65 |
-
"exclude_modules": [
|
| 66 |
-
"lm_head"
|
| 67 |
-
],
|
| 68 |
-
"sq_use_plugin": false
|
| 69 |
-
}
|
| 70 |
-
},
|
| 71 |
-
"build_config": {
|
| 72 |
-
"max_input_len": 1024,
|
| 73 |
-
"max_output_len": 1024,
|
| 74 |
-
"max_batch_size": 1,
|
| 75 |
-
"max_beam_width": 1,
|
| 76 |
-
"max_num_tokens": 1024,
|
| 77 |
-
"max_prompt_embedding_table_size": 0,
|
| 78 |
-
"gather_context_logits": false,
|
| 79 |
-
"gather_generation_logits": false,
|
| 80 |
-
"strongly_typed": false,
|
| 81 |
-
"builder_opt": null,
|
| 82 |
-
"profiling_verbosity": "layer_names_only",
|
| 83 |
-
"enable_debug_output": false,
|
| 84 |
-
"plugin_config": {
|
| 85 |
-
"bert_attention_plugin": "float16",
|
| 86 |
-
"gpt_attention_plugin": "float16",
|
| 87 |
-
"gemm_plugin": "float16",
|
| 88 |
-
"smooth_quant_gemm_plugin": null,
|
| 89 |
-
"identity_plugin": null,
|
| 90 |
-
"layernorm_quantization_plugin": null,
|
| 91 |
-
"rmsnorm_quantization_plugin": null,
|
| 92 |
-
"nccl_plugin": null,
|
| 93 |
-
"lookup_plugin": null,
|
| 94 |
-
"lora_plugin": null,
|
| 95 |
-
"weight_only_groupwise_quant_matmul_plugin": null,
|
| 96 |
-
"weight_only_quant_matmul_plugin": null,
|
| 97 |
-
"quantize_per_token_plugin": false,
|
| 98 |
-
"quantize_tensor_plugin": false,
|
| 99 |
-
"context_fmha": true,
|
| 100 |
-
"context_fmha_fp32_acc": false,
|
| 101 |
-
"paged_kv_cache": true,
|
| 102 |
-
"remove_input_padding": true,
|
| 103 |
-
"use_custom_all_reduce": true,
|
| 104 |
-
"multi_block_mode": false,
|
| 105 |
-
"enable_xqa": true,
|
| 106 |
-
"attention_qk_half_accumulation": false,
|
| 107 |
-
"tokens_per_block": 128,
|
| 108 |
-
"use_paged_context_fmha": false,
|
| 109 |
-
"use_context_fmha_for_generation": false
|
| 110 |
-
}
|
| 111 |
-
}
|
| 112 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rank0.engine
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fc60fcc4e7ce7939b2ae4c1773920553d16d24ef9cce678909e8a3555dd9c70e
|
| 3 |
-
size 2202329596
|
|
|
|
|
|
|
|
|
|
|
|
special_tokens_map.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
| 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
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.model
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
| 3 |
-
size 499723
|
|
|
|
|
|
|
|
|
|
|
|
tokenizer_config.json
DELETED
|
@@ -1,42 +0,0 @@
|
|
| 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 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|