Ahead-of-time compiled minicpm5-2b (run 15)
Browse files- .gitattributes +33 -0
- minicpm5-2b/ios-h18p/metadata.json +30 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/Manifest.json +5 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_1024_64_f2fOFjg2L-Jh0S7J5aIleQ_1_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_1024_8_nWe1yYYQpLswlfhcWgkxTg_2_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_2048_16_WMuH0XxLqO9R4SsEnG73tQ_3_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_2048_64_T1j9cb3y1kY1yNoysX3Uwg_4_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_2048_8_faJcQCFp9Q1OQuqGLGZGnw_5_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_256_16_aIj3OFPyItyDuynkhx_AbQ_6_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_256_64_CVIR-8ZRXksJKNK3VH4q-w_7_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_256_8_-S6md3bYrrrG-DG_W_xDEw_8_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_4096_16_QmJLZbIBFo7eM4thlwnXJQ_9_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_4096_64_Xb1kxkumXYVGjcAh-vly_g_10_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_4096_8_A5HR5rOFUFvRruRD-YTbxQ_11_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_512_16_9DTjlXb3vuWW6159-PNv7w_12_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_512_64_viy3yQrGYWX9rFWqW20CeQ_13_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_512_8_uLivFgBeRlUus7ppHR_vLA_14_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_1024_16_8jqk11R3WA6XUp3_UTXABA_15_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_1024_64_vxlGCQyrDxC7Ha8_hb_yAA_16_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_1024_8_Y_geOcym-IDNDusUtgygrQ_17_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_2048_16_ivcSEYWqhFa9xI9o75lCig_18_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_2048_64_rGP98Hwj7o48NSK0K3ch6Q_19_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_2048_8_5AwAb1zKoIjrf4n6UlU9lg_20_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_256_16_qHLp6dWxeshOn1ZplPA6gw_21_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_256_64_jmRmx2xz48nVCcXKXzz7ng_22_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_256_8_XHB5F1BeSNTZnxC-ivgF8g_23_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_4096_16_1jiHZx3W_KrCedrUE-u7pA_24_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_4096_64_2-Nn_XNrer45vr7eNoeXZA_25_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_4096_8_mzaxDIV58wsouHFvoZ_Q5g_26_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_512_16_WltpFXJyAM-DI1Gv_trO5Q_27_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_512_64_6awrnflwgO4IpIRT4Fl0EQ_28_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_512_8_z9DTGJyGiMn1cEXjLCselw_29_ANE_region_0_0.mlir.bc +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/manifest.plist +0 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/original_model_0.mpsgraph +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/resources.bin +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/specialized_model_1.mpsgraph +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p.mlirb +3 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main.hash +1 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/metadata.json +6 -0
- minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/stats.json +1 -0
- minicpm5-2b/ios-h18p/tokenizer/chat_template.jinja +177 -0
- minicpm5-2b/ios-h18p/tokenizer/tokenizer.json +0 -0
- minicpm5-2b/ios-h18p/tokenizer/tokenizer_config.json +17 -0
.gitattributes
CHANGED
|
@@ -282,3 +282,36 @@ qwen3.5-2b/ios-h17p/qwen3_5_2b_decode_int8hu_block32_sym.h17p.aimodelc/main-h17p
|
|
| 282 |
qwen3.5-2b/ios-h17p/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 283 |
qwen3.5-2b/ios-h18p/qwen3_5_2b_decode_int8hu_block32_sym.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/original_model_0.mpsgraph filter=lfs diff=lfs merge=lfs -text
|
| 284 |
qwen3.5-2b/ios-h18p/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 282 |
qwen3.5-2b/ios-h17p/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 283 |
qwen3.5-2b/ios-h18p/qwen3_5_2b_decode_int8hu_block32_sym.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/original_model_0.mpsgraph filter=lfs diff=lfs merge=lfs -text
|
| 284 |
qwen3.5-2b/ios-h18p/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 285 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 286 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_1024_64_f2fOFjg2L-Jh0S7J5aIleQ_1_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 287 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_1024_8_nWe1yYYQpLswlfhcWgkxTg_2_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 288 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_2048_16_WMuH0XxLqO9R4SsEnG73tQ_3_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 289 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_2048_64_T1j9cb3y1kY1yNoysX3Uwg_4_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 290 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_2048_8_faJcQCFp9Q1OQuqGLGZGnw_5_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 291 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_256_16_aIj3OFPyItyDuynkhx_AbQ_6_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 292 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_256_64_CVIR-8ZRXksJKNK3VH4q-w_7_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 293 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_256_8_-S6md3bYrrrG-DG_W_xDEw_8_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 294 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_4096_16_QmJLZbIBFo7eM4thlwnXJQ_9_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 295 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_4096_64_Xb1kxkumXYVGjcAh-vly_g_10_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 296 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_4096_8_A5HR5rOFUFvRruRD-YTbxQ_11_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 297 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_512_16_9DTjlXb3vuWW6159-PNv7w_12_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 298 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_512_64_viy3yQrGYWX9rFWqW20CeQ_13_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 299 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_512_8_uLivFgBeRlUus7ppHR_vLA_14_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 300 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_1024_16_8jqk11R3WA6XUp3_UTXABA_15_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 301 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_1024_64_vxlGCQyrDxC7Ha8_hb_yAA_16_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 302 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_1024_8_Y_geOcym-IDNDusUtgygrQ_17_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 303 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_2048_16_ivcSEYWqhFa9xI9o75lCig_18_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 304 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_2048_64_rGP98Hwj7o48NSK0K3ch6Q_19_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 305 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_2048_8_5AwAb1zKoIjrf4n6UlU9lg_20_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 306 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_256_16_qHLp6dWxeshOn1ZplPA6gw_21_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 307 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_256_64_jmRmx2xz48nVCcXKXzz7ng_22_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 308 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_256_8_XHB5F1BeSNTZnxC-ivgF8g_23_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 309 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_4096_16_1jiHZx3W_KrCedrUE-u7pA_24_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 310 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_4096_64_2-Nn_XNrer45vr7eNoeXZA_25_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 311 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_4096_8_mzaxDIV58wsouHFvoZ_Q5g_26_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 312 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_512_16_WltpFXJyAM-DI1Gv_trO5Q_27_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 313 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_512_64_6awrnflwgO4IpIRT4Fl0EQ_28_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 314 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_512_8_z9DTGJyGiMn1cEXjLCselw_29_ANE_region_0_0.mlir.bc filter=lfs diff=lfs merge=lfs -text
|
| 315 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/original_model_0.mpsgraph filter=lfs diff=lfs merge=lfs -text
|
| 316 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/specialized_model_1.mpsgraph filter=lfs diff=lfs merge=lfs -text
|
| 317 |
+
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p.mlirb filter=lfs diff=lfs merge=lfs -text
|
minicpm5-2b/ios-h18p/metadata.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata_version": "0.2",
|
| 3 |
+
"kind": "llm",
|
| 4 |
+
"name": "minicpm5_2b_minicpm5_pal6_g8_static",
|
| 5 |
+
"assets": {
|
| 6 |
+
"main": "minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc"
|
| 7 |
+
},
|
| 8 |
+
"language": {
|
| 9 |
+
"tokenizer": "openbmb/MiniCPM5-2B",
|
| 10 |
+
"vocab_size": 130560,
|
| 11 |
+
"max_context_length": 4096,
|
| 12 |
+
"embedded_tokenizer": true,
|
| 13 |
+
"function_map": {
|
| 14 |
+
"main": [
|
| 15 |
+
"main"
|
| 16 |
+
]
|
| 17 |
+
}
|
| 18 |
+
},
|
| 19 |
+
"source": {
|
| 20 |
+
"model_definition": "torch",
|
| 21 |
+
"hf_model_id": "openbmb/MiniCPM5-2B"
|
| 22 |
+
},
|
| 23 |
+
"compression": "minicpm5_pal6_g8",
|
| 24 |
+
"compilation": {
|
| 25 |
+
"date": "2026-09-16T10:55:25.976722+09:00",
|
| 26 |
+
"targets": [
|
| 27 |
+
"h18p (coreai-build compile --platform iOS --min-deployment-version 27.0 --preferred-compute none)"
|
| 28 |
+
]
|
| 29 |
+
}
|
| 30 |
+
}
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/Manifest.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"ANECompiler": "10.26.4",
|
| 3 |
+
"LLIRVersion": "0.1b",
|
| 4 |
+
"Weights": []
|
| 5 |
+
}
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37d328993a640d24498e005091924c32e79ccd4a28a2a6296d09a44700595968
|
| 3 |
+
size 22512323
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_1024_64_f2fOFjg2L-Jh0S7J5aIleQ_1_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f10d727456854c47b7ecf29cf38cbcb97a394e244504e2f4a52bb6ae74f4efa9
|
| 3 |
+
size 22661096
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_1024_8_nWe1yYYQpLswlfhcWgkxTg_2_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d62f2c1e89b0b767a6c1b22a483a58e5d80c1d634546363b6f8956cbd3c4c8a2
|
| 3 |
+
size 22499148
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_2048_16_WMuH0XxLqO9R4SsEnG73tQ_3_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea778cf9d38c9201f18c1718e97d9a3537259fbb380bbd3e9875a8a6dbf51cf3
|
| 3 |
+
size 22568998
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_2048_64_T1j9cb3y1kY1yNoysX3Uwg_4_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:036c910a7b10c71b01ee3c67512a0741333c5a5362a30000a41d22e56ce04b10
|
| 3 |
+
size 22660047
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_2048_8_faJcQCFp9Q1OQuqGLGZGnw_5_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e60306af5ef42156057e0557f36f3d0072e5dc3dff2a3e8000c9454ff4bdc7b
|
| 3 |
+
size 22498997
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_256_16_aIj3OFPyItyDuynkhx_AbQ_6_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bcee1cf3a1c78de4cd390452cdfb67fdb6ceda4424444bc844a93e9891dda14a
|
| 3 |
+
size 22497856
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_256_64_CVIR-8ZRXksJKNK3VH4q-w_7_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:595df93eab9c786061781ad488dcd530307172de8a3b26db595556652443de83
|
| 3 |
+
size 22550067
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_256_8_-S6md3bYrrrG-DG_W_xDEw_8_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7da02245da2532d0c0483d5e484aa269ebae2cb7e363e6fe487df04d2d5b9d49
|
| 3 |
+
size 22479563
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_4096_16_QmJLZbIBFo7eM4thlwnXJQ_9_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14f8ae47f0fa6ad09327975c54a8a292dd243461779679a09318fa404e619c9a
|
| 3 |
+
size 22637041
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_4096_64_Xb1kxkumXYVGjcAh-vly_g_10_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95f5353bcd5b77dc19812b086f21178c3857a3dbcfa4236e8cc488aae1c65229
|
| 3 |
+
size 22699894
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_4096_8_A5HR5rOFUFvRruRD-YTbxQ_11_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42358e89afa3e56ece1e16b6a9cea8b91dea1f5b0dc9464bedf9f455ac706cec
|
| 3 |
+
size 22514353
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_512_16_9DTjlXb3vuWW6159-PNv7w_12_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31e5c217de2dd5529865fd4c9938ec88db91c55af1a074b19cf9ba720e417633
|
| 3 |
+
size 22510613
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_512_64_viy3yQrGYWX9rFWqW20CeQ_13_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd68cb087f62f9ad31bbd911623a88617fe5eff09b650a5fa48afbb7db482082
|
| 3 |
+
size 22565935
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/extend_512_8_uLivFgBeRlUus7ppHR_vLA_14_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:085acd2b78f5e82f4ad945a8fe558fad61a8cfff52261e756feaa2b092a503ad
|
| 3 |
+
size 22491308
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_1024_16_8jqk11R3WA6XUp3_UTXABA_15_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d281d370a7a5c5e1b40be3b22de04a089d565c69610787b6e8119d82ee4cb79
|
| 3 |
+
size 18906118
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_1024_64_vxlGCQyrDxC7Ha8_hb_yAA_16_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37450dc3427e140173947d5926bf654ce02e1f088f97a061e43000cd11a91221
|
| 3 |
+
size 19039995
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_1024_8_Y_geOcym-IDNDusUtgygrQ_17_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9f2a051f0a4cc27ebb5500c360ab11a9304566df140fb96608d375a6bda06c4
|
| 3 |
+
size 18894921
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_2048_16_ivcSEYWqhFa9xI9o75lCig_18_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbcf318cab12f58eb39dc7653182e45582656ec6963f094caa771013f3a61878
|
| 3 |
+
size 18958489
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_2048_64_rGP98Hwj7o48NSK0K3ch6Q_19_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60e146de775d2d26b50b2e8412ca88e27cf67bee83c52419c48ce212f5afa371
|
| 3 |
+
size 19038875
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_2048_8_5AwAb1zKoIjrf4n6UlU9lg_20_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4879783676fdba6c74524f09777c5942ae94ab86a163e6ba3a7758447c8887cd
|
| 3 |
+
size 18894928
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_256_16_qHLp6dWxeshOn1ZplPA6gw_21_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e48e561d572d739ddccf6e0f2ff6ce24070ab49fb0143ef560b0b6da1539623e
|
| 3 |
+
size 18890334
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_256_64_jmRmx2xz48nVCcXKXzz7ng_22_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:870f28188d69d1aee2e0048a9f9b3c758a178d54a5147bc975f83ff39143490f
|
| 3 |
+
size 18933724
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_256_8_XHB5F1BeSNTZnxC-ivgF8g_23_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af73b595f93683400a446b9eb2e4ea5802daeb2e8ce3d91445d71f5e8240e16c
|
| 3 |
+
size 18874105
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_4096_16_1jiHZx3W_KrCedrUE-u7pA_24_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6908d1d5c148ee3621cddf0408185a8e4c4451be570d0977f81c35d9cd8e5a29
|
| 3 |
+
size 19026126
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_4096_64_2-Nn_XNrer45vr7eNoeXZA_25_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50f9195b3008dac50ff2761d0aa09bbc9b29c0a42bb3422bb2cfe507b995f43c
|
| 3 |
+
size 19063246
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_4096_8_mzaxDIV58wsouHFvoZ_Q5g_26_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:634b86a5c9a947b8cf0471d93b0cdb43e6ed3274af5d0b1a45619e8b2eaa7d2e
|
| 3 |
+
size 18895479
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_512_16_WltpFXJyAM-DI1Gv_trO5Q_27_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c34266e49c708f87e5d53020260961025aa60231abcf12180db32c078607cbd1
|
| 3 |
+
size 18890172
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_512_64_6awrnflwgO4IpIRT4Fl0EQ_28_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36569a71c64854da71b733d4a7d485ddb9ca5a3fdcaa3347d4f255535521f6d0
|
| 3 |
+
size 18936836
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/binary_0.llir.bundle/extend_1024_16_Bn61_I05alAFYS8Bwtqi7g_0_ANE_region_0_0.bc/h18p/prompt_opt_512_8_z9DTGJyGiMn1cEXjLCselw_29_ANE_region_0_0.mlir.bc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81dbf453e6285473e844b1035eab00069f804a18c418455bcc8a16ff3381c40d
|
| 3 |
+
size 18873016
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/manifest.plist
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/original_model_0.mpsgraph
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2156eb51aa981ea02c122cefa351d87e89dd1ef9c1c8d55ef1eab4be747869be
|
| 3 |
+
size 21920791
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/resources.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4f55667036c8c7b86203ea26e4f223fbe80edde066dc86130e87d1527e2b2c2
|
| 3 |
+
size 1702067672
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/specialized_model_1.mpsgraph
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f07a06c51b2e57dc4871a5bf6d9afd905c69aca09ac6d3c5fbff3ad2ee36043c
|
| 3 |
+
size 19361189
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main-h18p.mlirb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b88c2dbe84e1ad110fd502a1aa3f866435b14a843643a405d0bb1975629c7f04
|
| 3 |
+
size 269506091
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/main.hash
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
��-������?�d5�J�6C�лub�
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/metadata.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"producer" : "coreai-build-3600.83.1",
|
| 3 |
+
"sourceHash" : "01CD8FD8527643A8FFAD7A5DB92194AA044B8F882427719F964A928B7B55494C",
|
| 4 |
+
"assetVersion" : "2.0",
|
| 5 |
+
"creationDate" : "20261007T210103Z"
|
| 6 |
+
}
|
minicpm5-2b/ios-h18p/minicpm5_2b_minicpm5_pal6_g8_static.h18p.aimodelc/stats.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"operationDistribution":[{"count":102811,"name":"constant"},{"name":"transpose","count":98445},{"name":"batch_matmul","count":39855},{"name":"broadcasting_batch_matmul","count":39855},{"count":33910,"name":"reshape"},{"count":21330,"name":"mul"},{"count":20055,"name":"broadcast_in_dims"},{"name":"broadcasting_mul","count":18810},{"name":"add","count":13815},{"count":11330,"name":"cast"},{"name":"broadcasting_add","count":10050},{"count":8760,"name":"lut_to_dense"},{"name":"conv2d","count":8745},{"name":"slice","count":7609},{"count":7560,"name":"concat"},{"name":"reduce","count":6285},{"name":"broadcast_to","count":5055},{"count":5010,"name":"broadcasting_divide"},{"count":5010,"name":"divide"},{"count":4980,"name":"split"},{"name":"reduce_sum","count":3765},{"name":"copy_discarding_constraints","count":2647},{"count":2580,"name":"read_handle"},{"count":2534,"name":"copy_with_constraints"},{"count":2534,"name":"gather_nd"},{"count":2520,"name":"broadcast_shapes"},{"name":"get_shape","count":2520},{"count":2520,"name":"reduce_mean"},{"name":"reduce_product","count":2520},{"count":2520,"name":"rsqrt"},{"count":2520,"name":"slice_update"},{"name":"write_handle","count":2520},{"count":2490,"name":"exp"},{"count":1245,"name":"broadcasting_sub"},{"count":1245,"name":"silu"},{"name":"softmax","count":1245},{"name":"sub","count":1245},{"name":"invoke","count":33},{"name":"create_token","count":30},{"name":"blockwise_shift_scale","count":4},{"count":3,"name":"expand_dims"}],"storageTypes":[{"name":"UInt6","count":2249195520},{"count":267386881,"name":"Int8"},{"count":8665093,"name":"Float16"},{"count":502,"name":"Int32"},{"name":"UInt32","count":190},{"count":1,"name":"UInt64"}],"computeTypes":["Float16","Float32","Int16","Int32","Int8","UInt16","UInt32","UInt6","UInt64"]}
|
minicpm5-2b/ios-h18p/tokenizer/chat_template.jinja
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{- bos_token }}{%- if tools %}
|
| 2 |
+
{%- set tool_definitions %}
|
| 3 |
+
{{- "# Tools\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 4 |
+
{%- for tool in tools %}
|
| 5 |
+
{{- "\n" }}
|
| 6 |
+
{{- tool | tojson(ensure_ascii=False) }}
|
| 7 |
+
{%- endfor %}
|
| 8 |
+
{{- '\n</tools>\n\nTool usage guidelines:\n- You may call zero or more functions. If no function calls are needed, just answer normally and do not include any <function ... </function>.\n- When calling a function, return an XML object within <function ... </function> using:\n<function name="function-name"><param name="param-name">param-value</param></function>\n- param-value may be multi-line. If it contains <, & or newline characters, wrap it in a CDATA block: <param name="param-name"><![CDATA[...multi-line value...]]></param>' }}
|
| 9 |
+
{%- endset %}
|
| 10 |
+
|
| 11 |
+
{{- '<|im_start|>system\n' }}
|
| 12 |
+
{%- if messages[0].role == 'system' %}
|
| 13 |
+
{%- if '<tool_def_sep>' in messages[0].content %}
|
| 14 |
+
{{- messages[0].content.replace('<tool_def_sep>', tool_definitions) }}
|
| 15 |
+
{%- else %}
|
| 16 |
+
{{- messages[0].content + '\n\n' + tool_definitions }}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{%- else %}
|
| 19 |
+
{{- tool_definitions.lstrip() }}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{{- '<|im_end|>\n' }}
|
| 22 |
+
{%- else %}
|
| 23 |
+
{%- if messages[0].role == 'system' %}
|
| 24 |
+
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- endif %}
|
| 27 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 28 |
+
{%- for message in messages[::-1] %}
|
| 29 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 30 |
+
{%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 31 |
+
{%- set ns.multi_step_tool = false %}
|
| 32 |
+
{%- set ns.last_query_index = index %}
|
| 33 |
+
{%- endif %}
|
| 34 |
+
{%- endfor %}
|
| 35 |
+
{%- for message in messages %}
|
| 36 |
+
{%- if message.content is string %}
|
| 37 |
+
{%- set content = message.content %}
|
| 38 |
+
{%- else %}
|
| 39 |
+
{%- set content = '' %}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 42 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 43 |
+
{%- elif message.role == "assistant" %}
|
| 44 |
+
{%- set reasoning_content = '' %}
|
| 45 |
+
{%- if message.reasoning_content is string %}
|
| 46 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 47 |
+
{%- else %}
|
| 48 |
+
{%- if '</think>' in content %}
|
| 49 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 50 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- endif %}
|
| 53 |
+
|
| 54 |
+
{%- if message.tool_calls %}
|
| 55 |
+
{%- set content_parts = content.split('<tool_sep>') %}
|
| 56 |
+
{%- set processed_content = content_parts[0] %}
|
| 57 |
+
{%- set tool_calls_count = message.tool_calls|length %}
|
| 58 |
+
{%- set tool_sep_count = content_parts|length - 1 %}
|
| 59 |
+
{%- set min_count = [tool_calls_count, tool_sep_count]|min %}
|
| 60 |
+
|
| 61 |
+
{%- for i in range(1, content_parts|length) %}
|
| 62 |
+
{%- set tool_index = i - 1 %}
|
| 63 |
+
{%- if tool_index < tool_calls_count %}
|
| 64 |
+
{%- set tool_call = message.tool_calls[tool_index] %}
|
| 65 |
+
{%- if tool_call.function %}
|
| 66 |
+
{%- set tool_call = tool_call.function %}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{%- set single_tool_xml %}
|
| 69 |
+
{{- '<function name="' ~ tool_call.name ~ '">' }}
|
| 70 |
+
{%- if tool_call.arguments %}
|
| 71 |
+
{%- set args_dict = tool_call.arguments %}
|
| 72 |
+
{%- for param_name, param_value in args_dict.items() %}
|
| 73 |
+
{{- '<param name="' ~ param_name ~ '">' }}
|
| 74 |
+
{%- if param_value is string and ('<' in param_value or '&' in param_value or '\n' in param_value) %}
|
| 75 |
+
{{- '<![CDATA[' + param_value + ']]>' }}
|
| 76 |
+
{%- else %}
|
| 77 |
+
{{- param_value }}
|
| 78 |
+
{%- endif %}
|
| 79 |
+
{{- '</param>' }}
|
| 80 |
+
{%- endfor %}
|
| 81 |
+
{%- endif %}
|
| 82 |
+
{{- '</function>' }}
|
| 83 |
+
{%- endset %}
|
| 84 |
+
{%- set processed_content = processed_content + single_tool_xml + content_parts[i] %}
|
| 85 |
+
{%- else %}
|
| 86 |
+
{%- set processed_content = processed_content + content_parts[i] %}
|
| 87 |
+
{%- endif %}
|
| 88 |
+
{%- endfor %}
|
| 89 |
+
|
| 90 |
+
{%- if tool_calls_count > tool_sep_count %}
|
| 91 |
+
{%- for remaining_index in range(tool_sep_count, tool_calls_count) %}
|
| 92 |
+
{%- set tool_call = message.tool_calls[remaining_index] %}
|
| 93 |
+
{%- if tool_call.function %}
|
| 94 |
+
{%- set tool_call = tool_call.function %}
|
| 95 |
+
{%- endif %}
|
| 96 |
+
{%- set remaining_tool_xml %}
|
| 97 |
+
{{- '<function name="' ~ tool_call.name ~ '">' }}
|
| 98 |
+
{%- if tool_call.arguments %}
|
| 99 |
+
{%- set args_dict = tool_call.arguments %}
|
| 100 |
+
{%- for param_name, param_value in args_dict.items() %}
|
| 101 |
+
{{- '<param name="' ~ param_name ~ '">' }}
|
| 102 |
+
{%- if param_value is string and ('<' in param_value or '&' in param_value or '\n' in param_value) %}
|
| 103 |
+
{{- '<![CDATA[' + param_value + ']]>' }}
|
| 104 |
+
{%- else %}
|
| 105 |
+
{{- param_value }}
|
| 106 |
+
{%- endif %}
|
| 107 |
+
{{- '</param>' }}
|
| 108 |
+
{%- endfor %}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{{- '</function>' }}
|
| 111 |
+
{%- endset %}
|
| 112 |
+
{%- set processed_content = processed_content + remaining_tool_xml %}
|
| 113 |
+
{%- endfor %}
|
| 114 |
+
{%- endif %}
|
| 115 |
+
|
| 116 |
+
{%- set content = processed_content %}
|
| 117 |
+
{%- endif %}
|
| 118 |
+
|
| 119 |
+
{%- if reasoning_content %}
|
| 120 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 121 |
+
{%- elif '<think>' not in content and '</think>' not in content %}
|
| 122 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n\n</think>\n\n' + content.lstrip('\n') }}
|
| 123 |
+
{%- else %}
|
| 124 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 125 |
+
{%- endif %}
|
| 126 |
+
|
| 127 |
+
{%- if message.tool_calls and not has_tool_sep %}
|
| 128 |
+
{%- for tool_call in message.tool_calls %}
|
| 129 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 130 |
+
{{- '\n' }}
|
| 131 |
+
{%- endif %}
|
| 132 |
+
{%- if tool_call.function %}
|
| 133 |
+
{%- set tool_call = tool_call.function %}
|
| 134 |
+
{%- endif %}
|
| 135 |
+
{{- '<function name="' ~ tool_call.name ~ '">' }}
|
| 136 |
+
{%- if tool_call.arguments %}
|
| 137 |
+
{%- set args_dict = tool_call.arguments %}
|
| 138 |
+
{%- for param_name, param_value in args_dict.items() %}
|
| 139 |
+
{{- '<param name="' ~ param_name ~ '">' }}
|
| 140 |
+
{%- if param_value is string and ('<' in param_value or '&' in param_value or '\n' in param_value) %}
|
| 141 |
+
{{- '<![CDATA[' + param_value + ']]>' }}
|
| 142 |
+
{%- else %}
|
| 143 |
+
{{- param_value }}
|
| 144 |
+
{%- endif %}
|
| 145 |
+
{{- '</param>' }}
|
| 146 |
+
{%- endfor %}
|
| 147 |
+
{%- endif %}
|
| 148 |
+
{{- '</function>' }}
|
| 149 |
+
{%- endfor %}
|
| 150 |
+
{%- endif %}
|
| 151 |
+
{{- '<|im_end|>\n' }}
|
| 152 |
+
{%- elif message.role == "tool" %}
|
| 153 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 154 |
+
{{- '<|im_start|>user' }}
|
| 155 |
+
{%- endif %}
|
| 156 |
+
{{- '\n<tool_response>\n' }}
|
| 157 |
+
{%- if message.content is string %}
|
| 158 |
+
{{- content }}
|
| 159 |
+
{%- else %}
|
| 160 |
+
{{- message.content | tojson(ensure_ascii=False) }}
|
| 161 |
+
{%- endif %}
|
| 162 |
+
{{- '\n</tool_response>' }}
|
| 163 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 164 |
+
{{- '<|im_end|>\n' }}
|
| 165 |
+
{%- endif %}
|
| 166 |
+
{%- endif %}
|
| 167 |
+
{%- endfor %}
|
| 168 |
+
{%- if add_generation_prompt %}
|
| 169 |
+
{{- '<|im_start|>assistant\n' }}
|
| 170 |
+
{%- if enable_thinking is defined %}
|
| 171 |
+
{%- if enable_thinking is false %}
|
| 172 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 173 |
+
{%- elif enable_thinking is true %}
|
| 174 |
+
{{- '<think>\n' }}
|
| 175 |
+
{%- endif %}
|
| 176 |
+
{%- endif %}
|
| 177 |
+
{%- endif %}
|
minicpm5-2b/ios-h18p/tokenizer/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
minicpm5-2b/ios-h18p/tokenizer/tokenizer_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": null,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<s>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"is_local": false,
|
| 8 |
+
"legacy": true,
|
| 9 |
+
"local_files_only": true,
|
| 10 |
+
"model_max_length": 131072,
|
| 11 |
+
"pad_token": "</s>",
|
| 12 |
+
"sp_model_kwargs": {},
|
| 13 |
+
"spaces_between_special_tokens": false,
|
| 14 |
+
"tokenizer_class": "TokenizersBackend",
|
| 15 |
+
"unk_token": "<unk>",
|
| 16 |
+
"use_default_system_prompt": false
|
| 17 |
+
}
|