From 10901fd8bb532927b9d319c095319add597e5ac3 Mon Sep 17 00:00:00 2001 From: aereeeee Date: Thu, 5 Sep 2024 15:47:30 -0400 Subject: [PATCH] chore: remove unused code --- src/components/InputForm.svelte | 4 - src/components/TokenGenerator.svelte | 93 -- src/routes/+page.svelte | 5 +- src/routes/weight/+page.svelte | 13 - src/utils/data.ts | 6 - src/utils/externalData.json | 1770 -------------------------- src/utils/getExternalData.js | 24 - 7 files changed, 1 insertion(+), 1914 deletions(-) delete mode 100644 src/components/TokenGenerator.svelte delete mode 100644 src/routes/weight/+page.svelte delete mode 100644 src/utils/externalData.json delete mode 100644 src/utils/getExternalData.js diff --git a/src/components/InputForm.svelte b/src/components/InputForm.svelte index 2e447a5..214f278 100644 --- a/src/components/InputForm.svelte +++ b/src/components/InputForm.svelte @@ -1,12 +1,8 @@ - -
- ... - -
diff --git a/src/utils/data.ts b/src/utils/data.ts index dcbccea..c5b9f01 100644 --- a/src/utils/data.ts +++ b/src/utils/data.ts @@ -80,12 +80,6 @@ export const getData = async (token_ids: number[]) => { // Convert token_ids to tensor const inputTensor = new ort.Tensor('int64', token_ids, [1, token_ids.length]); - // Load the model - // const session = await ort.InferenceSession.create(`${base}/model-quant.onnx`, { - // logSeverityLevel: 0, // Verbose logging - // externalData - // }); - // Get the session from the store const session = get(modelSession); if (!session) { diff --git a/src/utils/externalData.json b/src/utils/externalData.json deleted file mode 100644 index bbb2a8a..0000000 --- a/src/utils/externalData.json +++ /dev/null @@ -1,1770 +0,0 @@ -[ - { - "data": "/params_output/model.transformer.h.0.attn.bias", - "path": "./model.transformer.h.0.attn.bias" - }, - { - "data": "/params_output/model.transformer.h.0.attn.c_attn.bias", - "path": "./model.transformer.h.0.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.0.attn.c_attn.weight", - "path": "./model.transformer.h.0.attn.c_attn.weight" - }, - { - "data": "/params_output/model.transformer.h.0.attn.c_proj.bias", - "path": "./model.transformer.h.0.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.0.attn.c_proj.weight", - "path": "./model.transformer.h.0.attn.c_proj.weight" - }, - { - "data": "/params_output/model.transformer.h.0.ln_1.bias", - "path": "./model.transformer.h.0.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.0.ln_1.weight", - "path": "./model.transformer.h.0.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.0.ln_2.bias", - "path": "./model.transformer.h.0.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.0.ln_2.weight", - "path": "./model.transformer.h.0.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.0.mlp.c_fc.bias", - "path": "./model.transformer.h.0.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.0.mlp.c_fc.weight", - "path": "./model.transformer.h.0.mlp.c_fc.weight" - }, - { - "data": "/params_output/model.transformer.h.0.mlp.c_proj.bias", - "path": "./model.transformer.h.0.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.0.mlp.c_proj.weight", - "path": "./model.transformer.h.0.mlp.c_proj.weight" - }, - { - "data": "/params_output/model.transformer.h.1.attn.c_attn.bias", - "path": "./model.transformer.h.1.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.1.attn.c_proj.bias", - "path": "./model.transformer.h.1.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.1.ln_1.bias", - "path": "./model.transformer.h.1.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.1.ln_1.weight", - "path": "./model.transformer.h.1.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.1.ln_2.bias", - "path": "./model.transformer.h.1.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.1.ln_2.weight", - "path": "./model.transformer.h.1.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.1.mlp.c_fc.bias", - "path": "./model.transformer.h.1.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.1.mlp.c_proj.bias", - "path": "./model.transformer.h.1.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.10.attn.c_attn.bias", - "path": "./model.transformer.h.10.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.10.attn.c_proj.bias", - "path": "./model.transformer.h.10.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.10.ln_1.bias", - "path": "./model.transformer.h.10.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.10.ln_1.weight", - "path": "./model.transformer.h.10.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.10.ln_2.bias", - "path": "./model.transformer.h.10.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.10.ln_2.weight", - "path": "./model.transformer.h.10.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.10.mlp.c_fc.bias", - "path": "./model.transformer.h.10.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.10.mlp.c_proj.bias", - "path": "./model.transformer.h.10.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.11.attn.c_attn.bias", - "path": "./model.transformer.h.11.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.11.attn.c_proj.bias", - "path": "./model.transformer.h.11.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.11.ln_1.bias", - "path": "./model.transformer.h.11.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.11.ln_1.weight", - "path": "./model.transformer.h.11.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.11.ln_2.bias", - "path": "./model.transformer.h.11.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.11.ln_2.weight", - "path": "./model.transformer.h.11.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.11.mlp.c_fc.bias", - "path": "./model.transformer.h.11.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.11.mlp.c_proj.bias", - "path": "./model.transformer.h.11.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.12.attn.c_attn.bias", - "path": "./model.transformer.h.12.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.12.attn.c_proj.bias", - "path": "./model.transformer.h.12.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.12.ln_1.bias", - "path": "./model.transformer.h.12.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.12.ln_1.weight", - "path": "./model.transformer.h.12.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.12.ln_2.bias", - "path": "./model.transformer.h.12.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.12.ln_2.weight", - "path": "./model.transformer.h.12.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.12.mlp.c_fc.bias", - "path": "./model.transformer.h.12.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.12.mlp.c_proj.bias", - "path": "./model.transformer.h.12.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.13.attn.c_attn.bias", - "path": "./model.transformer.h.13.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.13.attn.c_proj.bias", - "path": "./model.transformer.h.13.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.13.ln_1.bias", - "path": "./model.transformer.h.13.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.13.ln_1.weight", - "path": "./model.transformer.h.13.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.13.ln_2.bias", - "path": "./model.transformer.h.13.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.13.ln_2.weight", - "path": "./model.transformer.h.13.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.13.mlp.c_fc.bias", - "path": "./model.transformer.h.13.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.13.mlp.c_proj.bias", - "path": "./model.transformer.h.13.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.14.attn.c_attn.bias", - "path": "./model.transformer.h.14.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.14.attn.c_proj.bias", - "path": "./model.transformer.h.14.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.14.ln_1.bias", - "path": "./model.transformer.h.14.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.14.ln_1.weight", - "path": "./model.transformer.h.14.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.14.ln_2.bias", - "path": "./model.transformer.h.14.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.14.ln_2.weight", - "path": "./model.transformer.h.14.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.14.mlp.c_fc.bias", - "path": "./model.transformer.h.14.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.14.mlp.c_proj.bias", - "path": "./model.transformer.h.14.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.15.attn.c_attn.bias", - "path": "./model.transformer.h.15.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.15.attn.c_proj.bias", - "path": "./model.transformer.h.15.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.15.ln_1.bias", - "path": "./model.transformer.h.15.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.15.ln_1.weight", - "path": "./model.transformer.h.15.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.15.ln_2.bias", - "path": "./model.transformer.h.15.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.15.ln_2.weight", - "path": "./model.transformer.h.15.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.15.mlp.c_fc.bias", - "path": "./model.transformer.h.15.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.15.mlp.c_proj.bias", - "path": "./model.transformer.h.15.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.16.attn.c_attn.bias", - "path": "./model.transformer.h.16.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.16.attn.c_proj.bias", - "path": "./model.transformer.h.16.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.16.ln_1.bias", - "path": "./model.transformer.h.16.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.16.ln_1.weight", - "path": "./model.transformer.h.16.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.16.ln_2.bias", - "path": "./model.transformer.h.16.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.16.ln_2.weight", - "path": "./model.transformer.h.16.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.16.mlp.c_fc.bias", - "path": "./model.transformer.h.16.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.16.mlp.c_proj.bias", - "path": "./model.transformer.h.16.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.17.attn.c_attn.bias", - "path": "./model.transformer.h.17.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.17.attn.c_proj.bias", - "path": "./model.transformer.h.17.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.17.ln_1.bias", - "path": "./model.transformer.h.17.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.17.ln_1.weight", - "path": "./model.transformer.h.17.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.17.ln_2.bias", - "path": "./model.transformer.h.17.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.17.ln_2.weight", - "path": "./model.transformer.h.17.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.17.mlp.c_fc.bias", - "path": "./model.transformer.h.17.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.17.mlp.c_proj.bias", - "path": "./model.transformer.h.17.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.18.attn.c_attn.bias", - "path": "./model.transformer.h.18.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.18.attn.c_proj.bias", - "path": "./model.transformer.h.18.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.18.ln_1.bias", - "path": "./model.transformer.h.18.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.18.ln_1.weight", - "path": "./model.transformer.h.18.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.18.ln_2.bias", - "path": "./model.transformer.h.18.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.18.ln_2.weight", - "path": "./model.transformer.h.18.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.18.mlp.c_fc.bias", - "path": "./model.transformer.h.18.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.18.mlp.c_proj.bias", - "path": "./model.transformer.h.18.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.19.attn.c_attn.bias", - "path": "./model.transformer.h.19.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.19.attn.c_proj.bias", - "path": "./model.transformer.h.19.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.19.ln_1.bias", - "path": "./model.transformer.h.19.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.19.ln_1.weight", - "path": "./model.transformer.h.19.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.19.ln_2.bias", - "path": "./model.transformer.h.19.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.19.ln_2.weight", - "path": "./model.transformer.h.19.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.19.mlp.c_fc.bias", - "path": "./model.transformer.h.19.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.19.mlp.c_proj.bias", - "path": "./model.transformer.h.19.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.2.attn.c_attn.bias", - "path": "./model.transformer.h.2.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.2.attn.c_proj.bias", - "path": "./model.transformer.h.2.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.2.ln_1.bias", - "path": "./model.transformer.h.2.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.2.ln_1.weight", - "path": "./model.transformer.h.2.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.2.ln_2.bias", - "path": "./model.transformer.h.2.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.2.ln_2.weight", - "path": "./model.transformer.h.2.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.2.mlp.c_fc.bias", - "path": "./model.transformer.h.2.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.2.mlp.c_proj.bias", - "path": "./model.transformer.h.2.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.20.attn.c_attn.bias", - "path": "./model.transformer.h.20.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.20.attn.c_proj.bias", - "path": "./model.transformer.h.20.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.20.ln_1.bias", - "path": "./model.transformer.h.20.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.20.ln_1.weight", - "path": "./model.transformer.h.20.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.20.ln_2.bias", - "path": "./model.transformer.h.20.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.20.ln_2.weight", - "path": "./model.transformer.h.20.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.20.mlp.c_fc.bias", - "path": "./model.transformer.h.20.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.20.mlp.c_proj.bias", - "path": "./model.transformer.h.20.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.21.attn.c_attn.bias", - "path": "./model.transformer.h.21.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.21.attn.c_proj.bias", - "path": "./model.transformer.h.21.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.21.ln_1.bias", - "path": "./model.transformer.h.21.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.21.ln_1.weight", - "path": "./model.transformer.h.21.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.21.ln_2.bias", - "path": "./model.transformer.h.21.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.21.ln_2.weight", - "path": "./model.transformer.h.21.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.21.mlp.c_fc.bias", - "path": "./model.transformer.h.21.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.21.mlp.c_proj.bias", - "path": "./model.transformer.h.21.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.22.attn.c_attn.bias", - "path": "./model.transformer.h.22.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.22.attn.c_proj.bias", - "path": "./model.transformer.h.22.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.22.ln_1.bias", - "path": "./model.transformer.h.22.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.22.ln_1.weight", - "path": "./model.transformer.h.22.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.22.ln_2.bias", - "path": "./model.transformer.h.22.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.22.ln_2.weight", - "path": "./model.transformer.h.22.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.22.mlp.c_fc.bias", - "path": "./model.transformer.h.22.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.22.mlp.c_proj.bias", - "path": "./model.transformer.h.22.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.23.attn.c_attn.bias", - "path": "./model.transformer.h.23.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.23.attn.c_proj.bias", - "path": "./model.transformer.h.23.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.23.ln_1.bias", - "path": "./model.transformer.h.23.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.23.ln_1.weight", - "path": "./model.transformer.h.23.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.23.ln_2.bias", - "path": "./model.transformer.h.23.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.23.ln_2.weight", - "path": "./model.transformer.h.23.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.23.mlp.c_fc.bias", - "path": "./model.transformer.h.23.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.23.mlp.c_proj.bias", - "path": "./model.transformer.h.23.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.24.attn.c_attn.bias", - "path": "./model.transformer.h.24.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.24.attn.c_proj.bias", - "path": "./model.transformer.h.24.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.24.ln_1.bias", - "path": "./model.transformer.h.24.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.24.ln_1.weight", - "path": "./model.transformer.h.24.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.24.ln_2.bias", - "path": "./model.transformer.h.24.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.24.ln_2.weight", - "path": "./model.transformer.h.24.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.24.mlp.c_fc.bias", - "path": "./model.transformer.h.24.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.24.mlp.c_proj.bias", - "path": "./model.transformer.h.24.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.25.attn.c_attn.bias", - "path": "./model.transformer.h.25.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.25.attn.c_proj.bias", - "path": "./model.transformer.h.25.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.25.ln_1.bias", - "path": "./model.transformer.h.25.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.25.ln_1.weight", - "path": "./model.transformer.h.25.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.25.ln_2.bias", - "path": "./model.transformer.h.25.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.25.ln_2.weight", - "path": "./model.transformer.h.25.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.25.mlp.c_fc.bias", - "path": "./model.transformer.h.25.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.25.mlp.c_proj.bias", - "path": "./model.transformer.h.25.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.26.attn.c_attn.bias", - "path": "./model.transformer.h.26.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.26.attn.c_proj.bias", - "path": "./model.transformer.h.26.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.26.ln_1.bias", - "path": "./model.transformer.h.26.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.26.ln_1.weight", - "path": "./model.transformer.h.26.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.26.ln_2.bias", - "path": "./model.transformer.h.26.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.26.ln_2.weight", - "path": "./model.transformer.h.26.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.26.mlp.c_fc.bias", - "path": "./model.transformer.h.26.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.26.mlp.c_proj.bias", - "path": "./model.transformer.h.26.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.27.attn.c_attn.bias", - "path": "./model.transformer.h.27.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.27.attn.c_proj.bias", - "path": "./model.transformer.h.27.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.27.ln_1.bias", - "path": "./model.transformer.h.27.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.27.ln_1.weight", - "path": "./model.transformer.h.27.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.27.ln_2.bias", - "path": "./model.transformer.h.27.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.27.ln_2.weight", - "path": "./model.transformer.h.27.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.27.mlp.c_fc.bias", - "path": "./model.transformer.h.27.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.27.mlp.c_proj.bias", - "path": "./model.transformer.h.27.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.28.attn.c_attn.bias", - "path": "./model.transformer.h.28.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.28.attn.c_proj.bias", - "path": "./model.transformer.h.28.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.28.ln_1.bias", - "path": "./model.transformer.h.28.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.28.ln_1.weight", - "path": "./model.transformer.h.28.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.28.ln_2.bias", - "path": "./model.transformer.h.28.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.28.ln_2.weight", - "path": "./model.transformer.h.28.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.28.mlp.c_fc.bias", - "path": "./model.transformer.h.28.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.28.mlp.c_proj.bias", - "path": "./model.transformer.h.28.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.29.attn.c_attn.bias", - "path": "./model.transformer.h.29.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.29.attn.c_proj.bias", - "path": "./model.transformer.h.29.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.29.ln_1.bias", - "path": "./model.transformer.h.29.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.29.ln_1.weight", - "path": "./model.transformer.h.29.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.29.ln_2.bias", - "path": "./model.transformer.h.29.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.29.ln_2.weight", - "path": "./model.transformer.h.29.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.29.mlp.c_fc.bias", - "path": "./model.transformer.h.29.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.29.mlp.c_proj.bias", - "path": "./model.transformer.h.29.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.3.attn.c_attn.bias", - "path": "./model.transformer.h.3.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.3.attn.c_proj.bias", - "path": "./model.transformer.h.3.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.3.ln_1.bias", - "path": "./model.transformer.h.3.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.3.ln_1.weight", - "path": "./model.transformer.h.3.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.3.ln_2.bias", - "path": "./model.transformer.h.3.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.3.ln_2.weight", - "path": "./model.transformer.h.3.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.3.mlp.c_fc.bias", - "path": "./model.transformer.h.3.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.3.mlp.c_proj.bias", - "path": "./model.transformer.h.3.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.30.attn.c_attn.bias", - "path": "./model.transformer.h.30.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.30.attn.c_proj.bias", - "path": "./model.transformer.h.30.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.30.ln_1.bias", - "path": "./model.transformer.h.30.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.30.ln_1.weight", - "path": "./model.transformer.h.30.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.30.ln_2.bias", - "path": "./model.transformer.h.30.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.30.ln_2.weight", - "path": "./model.transformer.h.30.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.30.mlp.c_fc.bias", - "path": "./model.transformer.h.30.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.30.mlp.c_proj.bias", - "path": "./model.transformer.h.30.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.31.attn.c_attn.bias", - "path": "./model.transformer.h.31.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.31.attn.c_proj.bias", - "path": "./model.transformer.h.31.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.31.ln_1.bias", - "path": "./model.transformer.h.31.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.31.ln_1.weight", - "path": "./model.transformer.h.31.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.31.ln_2.bias", - "path": "./model.transformer.h.31.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.31.ln_2.weight", - "path": "./model.transformer.h.31.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.31.mlp.c_fc.bias", - "path": "./model.transformer.h.31.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.31.mlp.c_proj.bias", - "path": "./model.transformer.h.31.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.32.attn.c_attn.bias", - "path": "./model.transformer.h.32.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.32.attn.c_proj.bias", - "path": "./model.transformer.h.32.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.32.ln_1.bias", - "path": "./model.transformer.h.32.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.32.ln_1.weight", - "path": "./model.transformer.h.32.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.32.ln_2.bias", - "path": "./model.transformer.h.32.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.32.ln_2.weight", - "path": "./model.transformer.h.32.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.32.mlp.c_fc.bias", - "path": "./model.transformer.h.32.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.32.mlp.c_proj.bias", - "path": "./model.transformer.h.32.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.33.attn.c_attn.bias", - "path": "./model.transformer.h.33.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.33.attn.c_proj.bias", - "path": "./model.transformer.h.33.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.33.ln_1.bias", - "path": "./model.transformer.h.33.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.33.ln_1.weight", - "path": "./model.transformer.h.33.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.33.ln_2.bias", - "path": "./model.transformer.h.33.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.33.ln_2.weight", - "path": "./model.transformer.h.33.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.33.mlp.c_fc.bias", - "path": "./model.transformer.h.33.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.33.mlp.c_proj.bias", - "path": "./model.transformer.h.33.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.34.attn.c_attn.bias", - "path": "./model.transformer.h.34.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.34.attn.c_proj.bias", - "path": "./model.transformer.h.34.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.34.ln_1.bias", - "path": "./model.transformer.h.34.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.34.ln_1.weight", - "path": "./model.transformer.h.34.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.34.ln_2.bias", - "path": "./model.transformer.h.34.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.34.ln_2.weight", - "path": "./model.transformer.h.34.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.34.mlp.c_fc.bias", - "path": "./model.transformer.h.34.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.34.mlp.c_proj.bias", - "path": "./model.transformer.h.34.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.35.attn.c_attn.bias", - "path": "./model.transformer.h.35.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.35.attn.c_proj.bias", - "path": "./model.transformer.h.35.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.35.ln_1.bias", - "path": "./model.transformer.h.35.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.35.ln_1.weight", - "path": "./model.transformer.h.35.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.35.ln_2.bias", - "path": "./model.transformer.h.35.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.35.ln_2.weight", - "path": "./model.transformer.h.35.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.35.mlp.c_fc.bias", - "path": "./model.transformer.h.35.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.35.mlp.c_proj.bias", - "path": "./model.transformer.h.35.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.4.attn.c_attn.bias", - "path": "./model.transformer.h.4.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.4.attn.c_proj.bias", - "path": "./model.transformer.h.4.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.4.ln_1.bias", - "path": "./model.transformer.h.4.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.4.ln_1.weight", - "path": "./model.transformer.h.4.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.4.ln_2.bias", - "path": "./model.transformer.h.4.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.4.ln_2.weight", - "path": "./model.transformer.h.4.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.4.mlp.c_fc.bias", - "path": "./model.transformer.h.4.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.4.mlp.c_proj.bias", - "path": "./model.transformer.h.4.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.5.attn.c_attn.bias", - "path": "./model.transformer.h.5.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.5.attn.c_proj.bias", - "path": "./model.transformer.h.5.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.5.ln_1.bias", - "path": "./model.transformer.h.5.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.5.ln_1.weight", - "path": "./model.transformer.h.5.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.5.ln_2.bias", - "path": "./model.transformer.h.5.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.5.ln_2.weight", - "path": "./model.transformer.h.5.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.5.mlp.c_fc.bias", - "path": "./model.transformer.h.5.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.5.mlp.c_proj.bias", - "path": "./model.transformer.h.5.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.6.attn.c_attn.bias", - "path": "./model.transformer.h.6.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.6.attn.c_proj.bias", - "path": "./model.transformer.h.6.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.6.ln_1.bias", - "path": "./model.transformer.h.6.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.6.ln_1.weight", - "path": "./model.transformer.h.6.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.6.ln_2.bias", - "path": "./model.transformer.h.6.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.6.ln_2.weight", - "path": "./model.transformer.h.6.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.6.mlp.c_fc.bias", - "path": "./model.transformer.h.6.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.6.mlp.c_proj.bias", - "path": "./model.transformer.h.6.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.7.attn.c_attn.bias", - "path": "./model.transformer.h.7.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.7.attn.c_proj.bias", - "path": "./model.transformer.h.7.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.7.ln_1.bias", - "path": "./model.transformer.h.7.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.7.ln_1.weight", - "path": "./model.transformer.h.7.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.7.ln_2.bias", - "path": "./model.transformer.h.7.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.7.ln_2.weight", - "path": "./model.transformer.h.7.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.7.mlp.c_fc.bias", - "path": "./model.transformer.h.7.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.7.mlp.c_proj.bias", - "path": "./model.transformer.h.7.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.8.attn.c_attn.bias", - "path": "./model.transformer.h.8.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.8.attn.c_proj.bias", - "path": "./model.transformer.h.8.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.8.ln_1.bias", - "path": "./model.transformer.h.8.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.8.ln_1.weight", - "path": "./model.transformer.h.8.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.8.ln_2.bias", - "path": "./model.transformer.h.8.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.8.ln_2.weight", - "path": "./model.transformer.h.8.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.8.mlp.c_fc.bias", - "path": "./model.transformer.h.8.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.8.mlp.c_proj.bias", - "path": "./model.transformer.h.8.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.9.attn.c_attn.bias", - "path": "./model.transformer.h.9.attn.c_attn.bias" - }, - { - "data": "/params_output/model.transformer.h.9.attn.c_proj.bias", - "path": "./model.transformer.h.9.attn.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.h.9.ln_1.bias", - "path": "./model.transformer.h.9.ln_1.bias" - }, - { - "data": "/params_output/model.transformer.h.9.ln_1.weight", - "path": "./model.transformer.h.9.ln_1.weight" - }, - { - "data": "/params_output/model.transformer.h.9.ln_2.bias", - "path": "./model.transformer.h.9.ln_2.bias" - }, - { - "data": "/params_output/model.transformer.h.9.ln_2.weight", - "path": "./model.transformer.h.9.ln_2.weight" - }, - { - "data": "/params_output/model.transformer.h.9.mlp.c_fc.bias", - "path": "./model.transformer.h.9.mlp.c_fc.bias" - }, - { - "data": "/params_output/model.transformer.h.9.mlp.c_proj.bias", - "path": "./model.transformer.h.9.mlp.c_proj.bias" - }, - { - "data": "/params_output/model.transformer.ln_f.bias", - "path": "./model.transformer.ln_f.bias" - }, - { - "data": "/params_output/model.transformer.ln_f.weight", - "path": "./model.transformer.ln_f.weight" - }, - { - "data": "/params_output/model.transformer.wpe.weight", - "path": "./model.transformer.wpe.weight" - }, - { - "data": "/params_output/model.transformer.wte.weight", - "path": "./model.transformer.wte.weight" - }, - { - "data": "/params_output/onnx__MatMul_4846", - "path": "./onnx__MatMul_4846" - }, - { - "data": "/params_output/onnx__MatMul_4859", - "path": "./onnx__MatMul_4859" - }, - { - "data": "/params_output/onnx__MatMul_4860", - "path": "./onnx__MatMul_4860" - }, - { - "data": "/params_output/onnx__MatMul_4861", - "path": "./onnx__MatMul_4861" - }, - { - "data": "/params_output/onnx__MatMul_4862", - "path": "./onnx__MatMul_4862" - }, - { - "data": "/params_output/onnx__MatMul_4872", - "path": "./onnx__MatMul_4872" - }, - { - "data": "/params_output/onnx__MatMul_4873", - "path": "./onnx__MatMul_4873" - }, - { - "data": "/params_output/onnx__MatMul_4874", - "path": "./onnx__MatMul_4874" - }, - { - "data": "/params_output/onnx__MatMul_4875", - "path": "./onnx__MatMul_4875" - }, - { - "data": "/params_output/onnx__MatMul_4885", - "path": "./onnx__MatMul_4885" - }, - { - "data": "/params_output/onnx__MatMul_4886", - "path": "./onnx__MatMul_4886" - }, - { - "data": "/params_output/onnx__MatMul_4887", - "path": "./onnx__MatMul_4887" - }, - { - "data": "/params_output/onnx__MatMul_4888", - "path": "./onnx__MatMul_4888" - }, - { - "data": "/params_output/onnx__MatMul_4898", - "path": "./onnx__MatMul_4898" - }, - { - "data": "/params_output/onnx__MatMul_4899", - "path": "./onnx__MatMul_4899" - }, - { - "data": "/params_output/onnx__MatMul_4900", - "path": "./onnx__MatMul_4900" - }, - { - "data": "/params_output/onnx__MatMul_4901", - "path": "./onnx__MatMul_4901" - }, - { - "data": "/params_output/onnx__MatMul_4911", - "path": "./onnx__MatMul_4911" - }, - { - "data": "/params_output/onnx__MatMul_4912", - "path": "./onnx__MatMul_4912" - }, - { - "data": "/params_output/onnx__MatMul_4913", - "path": "./onnx__MatMul_4913" - }, - { - "data": "/params_output/onnx__MatMul_4914", - "path": "./onnx__MatMul_4914" - }, - { - "data": "/params_output/onnx__MatMul_4924", - "path": "./onnx__MatMul_4924" - }, - { - "data": "/params_output/onnx__MatMul_4925", - "path": "./onnx__MatMul_4925" - }, - { - "data": "/params_output/onnx__MatMul_4926", - "path": "./onnx__MatMul_4926" - }, - { - "data": "/params_output/onnx__MatMul_4927", - "path": "./onnx__MatMul_4927" - }, - { - "data": "/params_output/onnx__MatMul_4937", - "path": "./onnx__MatMul_4937" - }, - { - "data": "/params_output/onnx__MatMul_4938", - "path": "./onnx__MatMul_4938" - }, - { - "data": "/params_output/onnx__MatMul_4939", - "path": "./onnx__MatMul_4939" - }, - { - "data": "/params_output/onnx__MatMul_4940", - "path": "./onnx__MatMul_4940" - }, - { - "data": "/params_output/onnx__MatMul_4950", - "path": "./onnx__MatMul_4950" - }, - { - "data": "/params_output/onnx__MatMul_4951", - "path": "./onnx__MatMul_4951" - }, - { - "data": "/params_output/onnx__MatMul_4952", - "path": "./onnx__MatMul_4952" - }, - { - "data": "/params_output/onnx__MatMul_4953", - "path": "./onnx__MatMul_4953" - }, - { - "data": "/params_output/onnx__MatMul_4963", - "path": "./onnx__MatMul_4963" - }, - { - "data": "/params_output/onnx__MatMul_4964", - "path": "./onnx__MatMul_4964" - }, - { - "data": "/params_output/onnx__MatMul_4965", - "path": "./onnx__MatMul_4965" - }, - { - "data": "/params_output/onnx__MatMul_4966", - "path": "./onnx__MatMul_4966" - }, - { - "data": "/params_output/onnx__MatMul_4976", - "path": "./onnx__MatMul_4976" - }, - { - "data": "/params_output/onnx__MatMul_4977", - "path": "./onnx__MatMul_4977" - }, - { - "data": "/params_output/onnx__MatMul_4978", - "path": "./onnx__MatMul_4978" - }, - { - "data": "/params_output/onnx__MatMul_4979", - "path": "./onnx__MatMul_4979" - }, - { - "data": "/params_output/onnx__MatMul_4989", - "path": "./onnx__MatMul_4989" - }, - { - "data": "/params_output/onnx__MatMul_4990", - "path": "./onnx__MatMul_4990" - }, - { - "data": "/params_output/onnx__MatMul_4991", - "path": "./onnx__MatMul_4991" - }, - { - "data": "/params_output/onnx__MatMul_4992", - "path": "./onnx__MatMul_4992" - }, - { - "data": "/params_output/onnx__MatMul_5002", - "path": "./onnx__MatMul_5002" - }, - { - "data": "/params_output/onnx__MatMul_5003", - "path": "./onnx__MatMul_5003" - }, - { - "data": "/params_output/onnx__MatMul_5004", - "path": "./onnx__MatMul_5004" - }, - { - "data": "/params_output/onnx__MatMul_5005", - "path": "./onnx__MatMul_5005" - }, - { - "data": "/params_output/onnx__MatMul_5015", - "path": "./onnx__MatMul_5015" - }, - { - "data": "/params_output/onnx__MatMul_5016", - "path": "./onnx__MatMul_5016" - }, - { - "data": "/params_output/onnx__MatMul_5017", - "path": "./onnx__MatMul_5017" - }, - { - "data": "/params_output/onnx__MatMul_5018", - "path": "./onnx__MatMul_5018" - }, - { - "data": "/params_output/onnx__MatMul_5028", - "path": "./onnx__MatMul_5028" - }, - { - "data": "/params_output/onnx__MatMul_5029", - "path": "./onnx__MatMul_5029" - }, - { - "data": "/params_output/onnx__MatMul_5030", - "path": "./onnx__MatMul_5030" - }, - { - "data": "/params_output/onnx__MatMul_5031", - "path": "./onnx__MatMul_5031" - }, - { - "data": "/params_output/onnx__MatMul_5041", - "path": "./onnx__MatMul_5041" - }, - { - "data": "/params_output/onnx__MatMul_5042", - "path": "./onnx__MatMul_5042" - }, - { - "data": "/params_output/onnx__MatMul_5043", - "path": "./onnx__MatMul_5043" - }, - { - "data": "/params_output/onnx__MatMul_5044", - "path": "./onnx__MatMul_5044" - }, - { - "data": "/params_output/onnx__MatMul_5054", - "path": "./onnx__MatMul_5054" - }, - { - "data": "/params_output/onnx__MatMul_5055", - "path": "./onnx__MatMul_5055" - }, - { - "data": "/params_output/onnx__MatMul_5056", - "path": "./onnx__MatMul_5056" - }, - { - "data": "/params_output/onnx__MatMul_5057", - "path": "./onnx__MatMul_5057" - }, - { - "data": "/params_output/onnx__MatMul_5067", - "path": "./onnx__MatMul_5067" - }, - { - "data": "/params_output/onnx__MatMul_5068", - "path": "./onnx__MatMul_5068" - }, - { - "data": "/params_output/onnx__MatMul_5069", - "path": "./onnx__MatMul_5069" - }, - { - "data": "/params_output/onnx__MatMul_5070", - "path": "./onnx__MatMul_5070" - }, - { - "data": "/params_output/onnx__MatMul_5080", - "path": "./onnx__MatMul_5080" - }, - { - "data": "/params_output/onnx__MatMul_5081", - "path": "./onnx__MatMul_5081" - }, - { - "data": "/params_output/onnx__MatMul_5082", - "path": "./onnx__MatMul_5082" - }, - { - "data": "/params_output/onnx__MatMul_5083", - "path": "./onnx__MatMul_5083" - }, - { - "data": "/params_output/onnx__MatMul_5093", - "path": "./onnx__MatMul_5093" - }, - { - "data": "/params_output/onnx__MatMul_5094", - "path": "./onnx__MatMul_5094" - }, - { - "data": "/params_output/onnx__MatMul_5095", - "path": "./onnx__MatMul_5095" - }, - { - "data": "/params_output/onnx__MatMul_5096", - "path": "./onnx__MatMul_5096" - }, - { - "data": "/params_output/onnx__MatMul_5106", - "path": "./onnx__MatMul_5106" - }, - { - "data": "/params_output/onnx__MatMul_5107", - "path": "./onnx__MatMul_5107" - }, - { - "data": "/params_output/onnx__MatMul_5108", - "path": "./onnx__MatMul_5108" - }, - { - "data": "/params_output/onnx__MatMul_5109", - "path": "./onnx__MatMul_5109" - }, - { - "data": "/params_output/onnx__MatMul_5119", - "path": "./onnx__MatMul_5119" - }, - { - "data": "/params_output/onnx__MatMul_5120", - "path": "./onnx__MatMul_5120" - }, - { - "data": "/params_output/onnx__MatMul_5121", - "path": "./onnx__MatMul_5121" - }, - { - "data": "/params_output/onnx__MatMul_5122", - "path": "./onnx__MatMul_5122" - }, - { - "data": "/params_output/onnx__MatMul_5132", - "path": "./onnx__MatMul_5132" - }, - { - "data": "/params_output/onnx__MatMul_5133", - "path": "./onnx__MatMul_5133" - }, - { - "data": "/params_output/onnx__MatMul_5134", - "path": "./onnx__MatMul_5134" - }, - { - "data": "/params_output/onnx__MatMul_5135", - "path": "./onnx__MatMul_5135" - }, - { - "data": "/params_output/onnx__MatMul_5145", - "path": "./onnx__MatMul_5145" - }, - { - "data": "/params_output/onnx__MatMul_5146", - "path": "./onnx__MatMul_5146" - }, - { - "data": "/params_output/onnx__MatMul_5147", - "path": "./onnx__MatMul_5147" - }, - { - "data": "/params_output/onnx__MatMul_5148", - "path": "./onnx__MatMul_5148" - }, - { - "data": "/params_output/onnx__MatMul_5158", - "path": "./onnx__MatMul_5158" - }, - { - "data": "/params_output/onnx__MatMul_5159", - "path": "./onnx__MatMul_5159" - }, - { - "data": "/params_output/onnx__MatMul_5160", - "path": "./onnx__MatMul_5160" - }, - { - "data": "/params_output/onnx__MatMul_5161", - "path": "./onnx__MatMul_5161" - }, - { - "data": "/params_output/onnx__MatMul_5171", - "path": "./onnx__MatMul_5171" - }, - { - "data": "/params_output/onnx__MatMul_5172", - "path": "./onnx__MatMul_5172" - }, - { - "data": "/params_output/onnx__MatMul_5173", - "path": "./onnx__MatMul_5173" - }, - { - "data": "/params_output/onnx__MatMul_5174", - "path": "./onnx__MatMul_5174" - }, - { - "data": "/params_output/onnx__MatMul_5184", - "path": "./onnx__MatMul_5184" - }, - { - "data": "/params_output/onnx__MatMul_5185", - "path": "./onnx__MatMul_5185" - }, - { - "data": "/params_output/onnx__MatMul_5186", - "path": "./onnx__MatMul_5186" - }, - { - "data": "/params_output/onnx__MatMul_5187", - "path": "./onnx__MatMul_5187" - }, - { - "data": "/params_output/onnx__MatMul_5197", - "path": "./onnx__MatMul_5197" - }, - { - "data": "/params_output/onnx__MatMul_5198", - "path": "./onnx__MatMul_5198" - }, - { - "data": "/params_output/onnx__MatMul_5199", - "path": "./onnx__MatMul_5199" - }, - { - "data": "/params_output/onnx__MatMul_5200", - "path": "./onnx__MatMul_5200" - }, - { - "data": "/params_output/onnx__MatMul_5210", - "path": "./onnx__MatMul_5210" - }, - { - "data": "/params_output/onnx__MatMul_5211", - "path": "./onnx__MatMul_5211" - }, - { - "data": "/params_output/onnx__MatMul_5212", - "path": "./onnx__MatMul_5212" - }, - { - "data": "/params_output/onnx__MatMul_5213", - "path": "./onnx__MatMul_5213" - }, - { - "data": "/params_output/onnx__MatMul_5223", - "path": "./onnx__MatMul_5223" - }, - { - "data": "/params_output/onnx__MatMul_5224", - "path": "./onnx__MatMul_5224" - }, - { - "data": "/params_output/onnx__MatMul_5225", - "path": "./onnx__MatMul_5225" - }, - { - "data": "/params_output/onnx__MatMul_5226", - "path": "./onnx__MatMul_5226" - }, - { - "data": "/params_output/onnx__MatMul_5236", - "path": "./onnx__MatMul_5236" - }, - { - "data": "/params_output/onnx__MatMul_5237", - "path": "./onnx__MatMul_5237" - }, - { - "data": "/params_output/onnx__MatMul_5238", - "path": "./onnx__MatMul_5238" - }, - { - "data": "/params_output/onnx__MatMul_5239", - "path": "./onnx__MatMul_5239" - }, - { - "data": "/params_output/onnx__MatMul_5249", - "path": "./onnx__MatMul_5249" - }, - { - "data": "/params_output/onnx__MatMul_5250", - "path": "./onnx__MatMul_5250" - }, - { - "data": "/params_output/onnx__MatMul_5251", - "path": "./onnx__MatMul_5251" - }, - { - "data": "/params_output/onnx__MatMul_5252", - "path": "./onnx__MatMul_5252" - }, - { - "data": "/params_output/onnx__MatMul_5262", - "path": "./onnx__MatMul_5262" - }, - { - "data": "/params_output/onnx__MatMul_5263", - "path": "./onnx__MatMul_5263" - }, - { - "data": "/params_output/onnx__MatMul_5264", - "path": "./onnx__MatMul_5264" - }, - { - "data": "/params_output/onnx__MatMul_5265", - "path": "./onnx__MatMul_5265" - }, - { - "data": "/params_output/onnx__MatMul_5275", - "path": "./onnx__MatMul_5275" - }, - { - "data": "/params_output/onnx__MatMul_5276", - "path": "./onnx__MatMul_5276" - }, - { - "data": "/params_output/onnx__MatMul_5277", - "path": "./onnx__MatMul_5277" - }, - { - "data": "/params_output/onnx__MatMul_5278", - "path": "./onnx__MatMul_5278" - }, - { - "data": "/params_output/onnx__MatMul_5288", - "path": "./onnx__MatMul_5288" - }, - { - "data": "/params_output/onnx__MatMul_5289", - "path": "./onnx__MatMul_5289" - }, - { - "data": "/params_output/onnx__MatMul_5290", - "path": "./onnx__MatMul_5290" - }, - { - "data": "/params_output/onnx__MatMul_5291", - "path": "./onnx__MatMul_5291" - }, - { - "data": "/params_output/onnx__MatMul_5301", - "path": "./onnx__MatMul_5301" - }, - { - "data": "/params_output/onnx__MatMul_5302", - "path": "./onnx__MatMul_5302" - }, - { - "data": "/params_output/onnx__MatMul_5303", - "path": "./onnx__MatMul_5303" - }, - { - "data": "/params_output/onnx__MatMul_5304", - "path": "./onnx__MatMul_5304" - }, - { - "data": "/params_output/onnx__MatMul_5314", - "path": "./onnx__MatMul_5314" - }, - { - "data": "/params_output/onnx__MatMul_5315", - "path": "./onnx__MatMul_5315" - }, - { - "data": "/params_output/onnx__MatMul_5316", - "path": "./onnx__MatMul_5316" - }, - { - "data": "/params_output/onnx__MatMul_5317", - "path": "./onnx__MatMul_5317" - } -] \ No newline at end of file diff --git a/src/utils/getExternalData.js b/src/utils/getExternalData.js deleted file mode 100644 index 045dc14..0000000 --- a/src/utils/getExternalData.js +++ /dev/null @@ -1,24 +0,0 @@ -import { readdir } from 'fs/promises'; -import { join } from 'path'; -import { fileURLToPath } from 'url'; -import { writeFile } from 'fs/promises'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = join(__filename, '..'); - -const directoryPath = join(__dirname, '../../static/params_output'); -const baseUrl = '/params_output/'; - -const outputFilePath = join(__dirname, 'externalData.json'); - -// https://onnxruntime.ai/docs/tutorials/web/large-models.html#load-the-model-with-external-data-in-onnx-runtime-web -try { - const files = await readdir(directoryPath); - const fileData = files.map((file) => ({ - data: `${baseUrl}${file}`, - path: `./${file}` - })); - await writeFile(outputFilePath, JSON.stringify(fileData, null, 2)); -} catch (err) { - console.error(err); -}