Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- config.json +82 -0
- rank0.engine +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
rank0.engine filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "0.9.0.dev2024020600",
|
| 3 |
+
"pretrained_config": {
|
| 4 |
+
"architecture": "PhiForCausalLM",
|
| 5 |
+
"dtype": "float16",
|
| 6 |
+
"logits_dtype": "float32",
|
| 7 |
+
"vocab_size": 51200,
|
| 8 |
+
"max_position_embeddings": 2048,
|
| 9 |
+
"hidden_size": 2560,
|
| 10 |
+
"num_hidden_layers": 32,
|
| 11 |
+
"num_attention_heads": 32,
|
| 12 |
+
"num_key_value_heads": 32,
|
| 13 |
+
"head_size": 80,
|
| 14 |
+
"hidden_act": "gelu_new",
|
| 15 |
+
"intermediate_size": 10240,
|
| 16 |
+
"norm_epsilon": 1e-05,
|
| 17 |
+
"position_embedding_type": "learned_absolute",
|
| 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 |
+
"partial_rotary_factor": 0.4,
|
| 30 |
+
"rope_theta": 10000.0,
|
| 31 |
+
"rotary_base": 10000.0,
|
| 32 |
+
"quantization": {
|
| 33 |
+
"quant_algo": null,
|
| 34 |
+
"kv_cache_quant_algo": null,
|
| 35 |
+
"group_size": 128,
|
| 36 |
+
"has_zero_point": false,
|
| 37 |
+
"pre_quant_scale": false,
|
| 38 |
+
"exclude_modules": null,
|
| 39 |
+
"sq_use_plugin": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
"build_config": {
|
| 43 |
+
"max_input_len": 1024,
|
| 44 |
+
"max_output_len": 1024,
|
| 45 |
+
"max_batch_size": 1,
|
| 46 |
+
"max_beam_width": 1,
|
| 47 |
+
"max_num_tokens": 1024,
|
| 48 |
+
"max_prompt_embedding_table_size": 0,
|
| 49 |
+
"gather_context_logits": false,
|
| 50 |
+
"gather_generation_logits": false,
|
| 51 |
+
"strongly_typed": false,
|
| 52 |
+
"builder_opt": null,
|
| 53 |
+
"profiling_verbosity": "layer_names_only",
|
| 54 |
+
"plugin_config": {
|
| 55 |
+
"bert_attention_plugin": "float16",
|
| 56 |
+
"gpt_attention_plugin": "float16",
|
| 57 |
+
"gemm_plugin": "float16",
|
| 58 |
+
"smooth_quant_gemm_plugin": null,
|
| 59 |
+
"identity_plugin": null,
|
| 60 |
+
"layernorm_quantization_plugin": null,
|
| 61 |
+
"rmsnorm_quantization_plugin": null,
|
| 62 |
+
"nccl_plugin": null,
|
| 63 |
+
"lookup_plugin": null,
|
| 64 |
+
"lora_plugin": null,
|
| 65 |
+
"weight_only_groupwise_quant_matmul_plugin": null,
|
| 66 |
+
"weight_only_quant_matmul_plugin": null,
|
| 67 |
+
"quantize_per_token_plugin": false,
|
| 68 |
+
"quantize_tensor_plugin": false,
|
| 69 |
+
"context_fmha": true,
|
| 70 |
+
"context_fmha_fp32_acc": false,
|
| 71 |
+
"paged_kv_cache": true,
|
| 72 |
+
"remove_input_padding": true,
|
| 73 |
+
"use_custom_all_reduce": true,
|
| 74 |
+
"multi_block_mode": false,
|
| 75 |
+
"enable_xqa": true,
|
| 76 |
+
"attention_qk_half_accumulation": false,
|
| 77 |
+
"tokens_per_block": 128,
|
| 78 |
+
"use_paged_context_fmha": false,
|
| 79 |
+
"use_context_fmha_for_generation": false
|
| 80 |
+
}
|
| 81 |
+
}
|
| 82 |
+
}
|
rank0.engine
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f61500f5ba8900d94fc483b3a9d2b4e09dc8046e6de0312ba8ecdcc2814cf5c7
|
| 3 |
+
size 5562095708
|