Spaces:
Runtime error
Runtime error
chores(deps): update Transformers to latest version and remove chat templates for all models (#1414)
Browse files* chores(deps): update Transformers to latest version and remove chat templates for mistral models
* feat(models): remove chatPromptTemplate everywhere
- chart/env/prod.yaml +0 -4
- package-lock.json +128 -482
- package.json +1 -1
- src/lib/components/TokensCounter.svelte +1 -1
- src/lib/server/embeddingEndpoints/transformersjs/embeddingEndpoints.ts +2 -2
- src/lib/server/models.ts +2 -1
- src/lib/server/sentenceSimilarity.ts +1 -1
- src/lib/utils/getTokenizer.ts +1 -1
- vite.config.ts +7 -1
chart/env/prod.yaml
CHANGED
|
@@ -133,7 +133,6 @@ envVars:
|
|
| 133 |
"modelUrl": "https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1",
|
| 134 |
"tokenizer": "mistralai/Mixtral-8x7B-Instruct-v0.1",
|
| 135 |
"preprompt" : "",
|
| 136 |
-
"chatPromptTemplate": "<s> {{#each messages}}{{#ifUser}}[INST]{{#if @first}}{{#if @root.preprompt}}{{@root.preprompt}}\n{{/if}}{{/if}} {{content}} [/INST]{{/ifUser}}{{#ifAssistant}} {{content}}</s> {{/ifAssistant}}{{/each}}",
|
| 137 |
"parameters" : {
|
| 138 |
"temperature" : 0.6,
|
| 139 |
"top_p" : 0.95,
|
|
@@ -163,7 +162,6 @@ envVars:
|
|
| 163 |
"websiteUrl" : "https://nousresearch.com/",
|
| 164 |
"modelUrl": "https://huggingface.co/NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
| 165 |
"tokenizer": "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
| 166 |
-
"chatPromptTemplate" : "{{#if @root.preprompt}}<|im_start|>system\n{{@root.preprompt}}<|im_end|>\n{{/if}}{{#each messages}}{{#ifUser}}<|im_start|>user\n{{content}}<|im_end|>\n<|im_start|>assistant\n{{/ifUser}}{{#ifAssistant}}{{content}}<|im_end|>\n{{/ifAssistant}}{{/each}}",
|
| 167 |
"promptExamples": [
|
| 168 |
{
|
| 169 |
"title": "Write an email from bullet list",
|
|
@@ -223,7 +221,6 @@ envVars:
|
|
| 223 |
"modelUrl": "https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3",
|
| 224 |
"tokenizer": "mistralai/Mistral-7B-Instruct-v0.3",
|
| 225 |
"preprompt": "",
|
| 226 |
-
"chatPromptTemplate" : "<s>{{#each messages}}{{#ifUser}}[INST] {{#if @first}}{{#if @root.preprompt}}{{@root.preprompt}}\n{{/if}}{{/if}}{{content}} [/INST]{{/ifUser}}{{#ifAssistant}}{{content}}</s>{{/ifAssistant}}{{/each}}",
|
| 227 |
"parameters": {
|
| 228 |
"temperature": 0.3,
|
| 229 |
"top_p": 0.95,
|
|
@@ -254,7 +251,6 @@ envVars:
|
|
| 254 |
"modelUrl": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct",
|
| 255 |
"websiteUrl": "https://azure.microsoft.com/en-us/blog/introducing-phi-3-redefining-whats-possible-with-slms/",
|
| 256 |
"preprompt": "",
|
| 257 |
-
"chatPromptTemplate": "<s>{{preprompt}}{{#each messages}}{{#ifUser}}<|user|>\n{{content}}<|end|>\n<|assistant|>\n{{/ifUser}}{{#ifAssistant}}{{content}}<|end|>\n{{/ifAssistant}}{{/each}}",
|
| 258 |
"parameters": {
|
| 259 |
"stop": ["<|end|>", "<|endoftext|>", "<|assistant|>"],
|
| 260 |
"temperature": 0.7,
|
|
|
|
| 133 |
"modelUrl": "https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1",
|
| 134 |
"tokenizer": "mistralai/Mixtral-8x7B-Instruct-v0.1",
|
| 135 |
"preprompt" : "",
|
|
|
|
| 136 |
"parameters" : {
|
| 137 |
"temperature" : 0.6,
|
| 138 |
"top_p" : 0.95,
|
|
|
|
| 162 |
"websiteUrl" : "https://nousresearch.com/",
|
| 163 |
"modelUrl": "https://huggingface.co/NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
| 164 |
"tokenizer": "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
|
|
|
| 165 |
"promptExamples": [
|
| 166 |
{
|
| 167 |
"title": "Write an email from bullet list",
|
|
|
|
| 221 |
"modelUrl": "https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3",
|
| 222 |
"tokenizer": "mistralai/Mistral-7B-Instruct-v0.3",
|
| 223 |
"preprompt": "",
|
|
|
|
| 224 |
"parameters": {
|
| 225 |
"temperature": 0.3,
|
| 226 |
"top_p": 0.95,
|
|
|
|
| 251 |
"modelUrl": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct",
|
| 252 |
"websiteUrl": "https://azure.microsoft.com/en-us/blog/introducing-phi-3-redefining-whats-possible-with-slms/",
|
| 253 |
"preprompt": "",
|
|
|
|
| 254 |
"parameters": {
|
| 255 |
"stop": ["<|end|>", "<|endoftext|>", "<|assistant|>"],
|
| 256 |
"temperature": 0.7,
|
package-lock.json
CHANGED
|
@@ -13,10 +13,10 @@
|
|
| 13 |
"@gradio/client": "^1.1.1",
|
| 14 |
"@huggingface/hub": "^0.5.1",
|
| 15 |
"@huggingface/inference": "^2.7.0",
|
|
|
|
| 16 |
"@iconify-json/bi": "^1.1.21",
|
| 17 |
"@playwright/browser-chromium": "^1.43.1",
|
| 18 |
"@resvg/resvg-js": "^2.6.2",
|
| 19 |
-
"@xenova/transformers": "^2.16.1",
|
| 20 |
"autoprefixer": "^10.4.14",
|
| 21 |
"aws4": "^1.13.0",
|
| 22 |
"browser-image-resizer": "^2.4.1",
|
|
@@ -1992,9 +1992,9 @@
|
|
| 1992 |
}
|
| 1993 |
},
|
| 1994 |
"node_modules/@huggingface/jinja": {
|
| 1995 |
-
"version": "0.
|
| 1996 |
-
"resolved": "https://registry.npmjs.org/@huggingface/jinja/-/jinja-0.
|
| 1997 |
-
"integrity": "sha512
|
| 1998 |
"license": "MIT",
|
| 1999 |
"engines": {
|
| 2000 |
"node": ">=18"
|
|
@@ -2006,6 +2006,18 @@
|
|
| 2006 |
"integrity": "sha512-HOdx2vwhd/rCmy6gpDPiUbsXD+vwVpYSS/h2Tx+yV1uMDfS98MWl/TvoVGV+u5cJWTFbvdiTHMXIuw8B6JbHuQ==",
|
| 2007 |
"license": "MIT"
|
| 2008 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2009 |
"node_modules/@humanwhocodes/config-array": {
|
| 2010 |
"version": "0.11.14",
|
| 2011 |
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz",
|
|
@@ -2758,6 +2770,18 @@
|
|
| 2758 |
"url": "https://github.com/chalk/strip-ansi?sponsor=1"
|
| 2759 |
}
|
| 2760 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2761 |
"node_modules/@jridgewell/gen-mapping": {
|
| 2762 |
"version": "0.3.5",
|
| 2763 |
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
|
|
@@ -4539,12 +4563,6 @@
|
|
| 4539 |
"integrity": "sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==",
|
| 4540 |
"license": "MIT"
|
| 4541 |
},
|
| 4542 |
-
"node_modules/@types/long": {
|
| 4543 |
-
"version": "4.0.2",
|
| 4544 |
-
"resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz",
|
| 4545 |
-
"integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==",
|
| 4546 |
-
"license": "MIT"
|
| 4547 |
-
},
|
| 4548 |
"node_modules/@types/mime": {
|
| 4549 |
"version": "1.3.5",
|
| 4550 |
"resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz",
|
|
@@ -5029,43 +5047,6 @@
|
|
| 5029 |
"url": "https://opencollective.com/vitest"
|
| 5030 |
}
|
| 5031 |
},
|
| 5032 |
-
"node_modules/@xenova/transformers": {
|
| 5033 |
-
"version": "2.17.2",
|
| 5034 |
-
"resolved": "https://registry.npmjs.org/@xenova/transformers/-/transformers-2.17.2.tgz",
|
| 5035 |
-
"integrity": "sha512-lZmHqzrVIkSvZdKZEx7IYY51TK0WDrC8eR0c5IMnBsO8di8are1zzw8BlLhyO2TklZKLN5UffNGs1IJwT6oOqQ==",
|
| 5036 |
-
"license": "Apache-2.0",
|
| 5037 |
-
"dependencies": {
|
| 5038 |
-
"@huggingface/jinja": "^0.2.2",
|
| 5039 |
-
"onnxruntime-web": "1.14.0",
|
| 5040 |
-
"sharp": "^0.32.0"
|
| 5041 |
-
},
|
| 5042 |
-
"optionalDependencies": {
|
| 5043 |
-
"onnxruntime-node": "1.14.0"
|
| 5044 |
-
}
|
| 5045 |
-
},
|
| 5046 |
-
"node_modules/@xenova/transformers/node_modules/sharp": {
|
| 5047 |
-
"version": "0.32.6",
|
| 5048 |
-
"resolved": "https://registry.npmjs.org/sharp/-/sharp-0.32.6.tgz",
|
| 5049 |
-
"integrity": "sha512-KyLTWwgcR9Oe4d9HwCwNM2l7+J0dUQwn/yf7S0EnTtb0eVS4RxO0eUSvxPtzT4F3SY+C4K6fqdv/DO27sJ/v/w==",
|
| 5050 |
-
"hasInstallScript": true,
|
| 5051 |
-
"license": "Apache-2.0",
|
| 5052 |
-
"dependencies": {
|
| 5053 |
-
"color": "^4.2.3",
|
| 5054 |
-
"detect-libc": "^2.0.2",
|
| 5055 |
-
"node-addon-api": "^6.1.0",
|
| 5056 |
-
"prebuild-install": "^7.1.1",
|
| 5057 |
-
"semver": "^7.5.4",
|
| 5058 |
-
"simple-get": "^4.0.1",
|
| 5059 |
-
"tar-fs": "^3.0.4",
|
| 5060 |
-
"tunnel-agent": "^0.6.0"
|
| 5061 |
-
},
|
| 5062 |
-
"engines": {
|
| 5063 |
-
"node": ">=14.15.0"
|
| 5064 |
-
},
|
| 5065 |
-
"funding": {
|
| 5066 |
-
"url": "https://opencollective.com/libvips"
|
| 5067 |
-
}
|
| 5068 |
-
},
|
| 5069 |
"node_modules/abab": {
|
| 5070 |
"version": "2.0.6",
|
| 5071 |
"resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz",
|
|
@@ -5358,64 +5339,12 @@
|
|
| 5358 |
"node": ">= 0.4"
|
| 5359 |
}
|
| 5360 |
},
|
| 5361 |
-
"node_modules/b4a": {
|
| 5362 |
-
"version": "1.6.6",
|
| 5363 |
-
"resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.6.tgz",
|
| 5364 |
-
"integrity": "sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==",
|
| 5365 |
-
"license": "Apache-2.0"
|
| 5366 |
-
},
|
| 5367 |
"node_modules/balanced-match": {
|
| 5368 |
"version": "1.0.2",
|
| 5369 |
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
| 5370 |
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
|
| 5371 |
"license": "MIT"
|
| 5372 |
},
|
| 5373 |
-
"node_modules/bare-events": {
|
| 5374 |
-
"version": "2.4.2",
|
| 5375 |
-
"resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.4.2.tgz",
|
| 5376 |
-
"integrity": "sha512-qMKFd2qG/36aA4GwvKq8MxnPgCQAmBWmSyLWsJcbn8v03wvIPQ/hG1Ms8bPzndZxMDoHpxez5VOS+gC9Yi24/Q==",
|
| 5377 |
-
"license": "Apache-2.0",
|
| 5378 |
-
"optional": true
|
| 5379 |
-
},
|
| 5380 |
-
"node_modules/bare-fs": {
|
| 5381 |
-
"version": "2.3.1",
|
| 5382 |
-
"resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.3.1.tgz",
|
| 5383 |
-
"integrity": "sha512-W/Hfxc/6VehXlsgFtbB5B4xFcsCl+pAh30cYhoFyXErf6oGrwjh8SwiPAdHgpmWonKuYpZgGywN0SXt7dgsADA==",
|
| 5384 |
-
"license": "Apache-2.0",
|
| 5385 |
-
"optional": true,
|
| 5386 |
-
"dependencies": {
|
| 5387 |
-
"bare-events": "^2.0.0",
|
| 5388 |
-
"bare-path": "^2.0.0",
|
| 5389 |
-
"bare-stream": "^2.0.0"
|
| 5390 |
-
}
|
| 5391 |
-
},
|
| 5392 |
-
"node_modules/bare-os": {
|
| 5393 |
-
"version": "2.4.0",
|
| 5394 |
-
"resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.4.0.tgz",
|
| 5395 |
-
"integrity": "sha512-v8DTT08AS/G0F9xrhyLtepoo9EJBJ85FRSMbu1pQUlAf6A8T0tEEQGMVObWeqpjhSPXsE0VGlluFBJu2fdoTNg==",
|
| 5396 |
-
"license": "Apache-2.0",
|
| 5397 |
-
"optional": true
|
| 5398 |
-
},
|
| 5399 |
-
"node_modules/bare-path": {
|
| 5400 |
-
"version": "2.1.3",
|
| 5401 |
-
"resolved": "https://registry.npmjs.org/bare-path/-/bare-path-2.1.3.tgz",
|
| 5402 |
-
"integrity": "sha512-lh/eITfU8hrj9Ru5quUp0Io1kJWIk1bTjzo7JH1P5dWmQ2EL4hFUlfI8FonAhSlgIfhn63p84CDY/x+PisgcXA==",
|
| 5403 |
-
"license": "Apache-2.0",
|
| 5404 |
-
"optional": true,
|
| 5405 |
-
"dependencies": {
|
| 5406 |
-
"bare-os": "^2.1.0"
|
| 5407 |
-
}
|
| 5408 |
-
},
|
| 5409 |
-
"node_modules/bare-stream": {
|
| 5410 |
-
"version": "2.1.3",
|
| 5411 |
-
"resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.1.3.tgz",
|
| 5412 |
-
"integrity": "sha512-tiDAH9H/kP+tvNO5sczyn9ZAA7utrSMobyDchsnyyXBuUe2FSQWbxhtuHB8jwpHYYevVo2UJpcmvvjrbHboUUQ==",
|
| 5413 |
-
"license": "Apache-2.0",
|
| 5414 |
-
"optional": true,
|
| 5415 |
-
"dependencies": {
|
| 5416 |
-
"streamx": "^2.18.0"
|
| 5417 |
-
}
|
| 5418 |
-
},
|
| 5419 |
"node_modules/base64-js": {
|
| 5420 |
"version": "1.5.1",
|
| 5421 |
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
|
|
@@ -5471,55 +5400,6 @@
|
|
| 5471 |
"dev": true,
|
| 5472 |
"license": "MIT"
|
| 5473 |
},
|
| 5474 |
-
"node_modules/bl": {
|
| 5475 |
-
"version": "4.1.0",
|
| 5476 |
-
"resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
|
| 5477 |
-
"integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
|
| 5478 |
-
"license": "MIT",
|
| 5479 |
-
"dependencies": {
|
| 5480 |
-
"buffer": "^5.5.0",
|
| 5481 |
-
"inherits": "^2.0.4",
|
| 5482 |
-
"readable-stream": "^3.4.0"
|
| 5483 |
-
}
|
| 5484 |
-
},
|
| 5485 |
-
"node_modules/bl/node_modules/buffer": {
|
| 5486 |
-
"version": "5.7.1",
|
| 5487 |
-
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
|
| 5488 |
-
"integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
|
| 5489 |
-
"funding": [
|
| 5490 |
-
{
|
| 5491 |
-
"type": "github",
|
| 5492 |
-
"url": "https://github.com/sponsors/feross"
|
| 5493 |
-
},
|
| 5494 |
-
{
|
| 5495 |
-
"type": "patreon",
|
| 5496 |
-
"url": "https://www.patreon.com/feross"
|
| 5497 |
-
},
|
| 5498 |
-
{
|
| 5499 |
-
"type": "consulting",
|
| 5500 |
-
"url": "https://feross.org/support"
|
| 5501 |
-
}
|
| 5502 |
-
],
|
| 5503 |
-
"license": "MIT",
|
| 5504 |
-
"dependencies": {
|
| 5505 |
-
"base64-js": "^1.3.1",
|
| 5506 |
-
"ieee754": "^1.1.13"
|
| 5507 |
-
}
|
| 5508 |
-
},
|
| 5509 |
-
"node_modules/bl/node_modules/readable-stream": {
|
| 5510 |
-
"version": "3.6.2",
|
| 5511 |
-
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
|
| 5512 |
-
"integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
|
| 5513 |
-
"license": "MIT",
|
| 5514 |
-
"dependencies": {
|
| 5515 |
-
"inherits": "^2.0.3",
|
| 5516 |
-
"string_decoder": "^1.1.1",
|
| 5517 |
-
"util-deprecate": "^1.0.1"
|
| 5518 |
-
},
|
| 5519 |
-
"engines": {
|
| 5520 |
-
"node": ">= 6"
|
| 5521 |
-
}
|
| 5522 |
-
},
|
| 5523 |
"node_modules/blueimp-md5": {
|
| 5524 |
"version": "2.19.0",
|
| 5525 |
"resolved": "https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.19.0.tgz",
|
|
@@ -5901,10 +5781,13 @@
|
|
| 5901 |
}
|
| 5902 |
},
|
| 5903 |
"node_modules/chownr": {
|
| 5904 |
-
"version": "
|
| 5905 |
-
"resolved": "https://registry.npmjs.org/chownr/-/chownr-
|
| 5906 |
-
"integrity": "sha512
|
| 5907 |
-
"license": "
|
|
|
|
|
|
|
|
|
|
| 5908 |
},
|
| 5909 |
"node_modules/cli-cursor": {
|
| 5910 |
"version": "5.0.0",
|
|
@@ -6438,21 +6321,6 @@
|
|
| 6438 |
"integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==",
|
| 6439 |
"license": "MIT"
|
| 6440 |
},
|
| 6441 |
-
"node_modules/decompress-response": {
|
| 6442 |
-
"version": "6.0.0",
|
| 6443 |
-
"resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
|
| 6444 |
-
"integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",
|
| 6445 |
-
"license": "MIT",
|
| 6446 |
-
"dependencies": {
|
| 6447 |
-
"mimic-response": "^3.1.0"
|
| 6448 |
-
},
|
| 6449 |
-
"engines": {
|
| 6450 |
-
"node": ">=10"
|
| 6451 |
-
},
|
| 6452 |
-
"funding": {
|
| 6453 |
-
"url": "https://github.com/sponsors/sindresorhus"
|
| 6454 |
-
}
|
| 6455 |
-
},
|
| 6456 |
"node_modules/deep-eql": {
|
| 6457 |
"version": "4.1.4",
|
| 6458 |
"resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.4.tgz",
|
|
@@ -6466,15 +6334,6 @@
|
|
| 6466 |
"node": ">=6"
|
| 6467 |
}
|
| 6468 |
},
|
| 6469 |
-
"node_modules/deep-extend": {
|
| 6470 |
-
"version": "0.6.0",
|
| 6471 |
-
"resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
|
| 6472 |
-
"integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",
|
| 6473 |
-
"license": "MIT",
|
| 6474 |
-
"engines": {
|
| 6475 |
-
"node": ">=4.0.0"
|
| 6476 |
-
}
|
| 6477 |
-
},
|
| 6478 |
"node_modules/deep-is": {
|
| 6479 |
"version": "0.1.4",
|
| 6480 |
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
|
|
@@ -7335,15 +7194,6 @@
|
|
| 7335 |
"url": "https://github.com/sponsors/sindresorhus"
|
| 7336 |
}
|
| 7337 |
},
|
| 7338 |
-
"node_modules/expand-template": {
|
| 7339 |
-
"version": "2.0.3",
|
| 7340 |
-
"resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
|
| 7341 |
-
"integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==",
|
| 7342 |
-
"license": "(MIT OR WTFPL)",
|
| 7343 |
-
"engines": {
|
| 7344 |
-
"node": ">=6"
|
| 7345 |
-
}
|
| 7346 |
-
},
|
| 7347 |
"node_modules/express": {
|
| 7348 |
"version": "4.19.2",
|
| 7349 |
"resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz",
|
|
@@ -7442,12 +7292,6 @@
|
|
| 7442 |
"dev": true,
|
| 7443 |
"license": "Apache-2.0"
|
| 7444 |
},
|
| 7445 |
-
"node_modules/fast-fifo": {
|
| 7446 |
-
"version": "1.3.2",
|
| 7447 |
-
"resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz",
|
| 7448 |
-
"integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==",
|
| 7449 |
-
"license": "MIT"
|
| 7450 |
-
},
|
| 7451 |
"node_modules/fast-glob": {
|
| 7452 |
"version": "3.3.2",
|
| 7453 |
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
|
|
@@ -7750,12 +7594,6 @@
|
|
| 7750 |
"node": ">= 0.6"
|
| 7751 |
}
|
| 7752 |
},
|
| 7753 |
-
"node_modules/fs-constants": {
|
| 7754 |
-
"version": "1.0.0",
|
| 7755 |
-
"resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
|
| 7756 |
-
"integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
|
| 7757 |
-
"license": "MIT"
|
| 7758 |
-
},
|
| 7759 |
"node_modules/fs.realpath": {
|
| 7760 |
"version": "1.0.0",
|
| 7761 |
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
|
@@ -7893,12 +7731,6 @@
|
|
| 7893 |
"url": "https://github.com/sponsors/sindresorhus"
|
| 7894 |
}
|
| 7895 |
},
|
| 7896 |
-
"node_modules/github-from-package": {
|
| 7897 |
-
"version": "0.0.0",
|
| 7898 |
-
"resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz",
|
| 7899 |
-
"integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==",
|
| 7900 |
-
"license": "MIT"
|
| 7901 |
-
},
|
| 7902 |
"node_modules/glob": {
|
| 7903 |
"version": "10.4.5",
|
| 7904 |
"resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
|
|
@@ -8418,12 +8250,6 @@
|
|
| 8418 |
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
|
| 8419 |
"license": "ISC"
|
| 8420 |
},
|
| 8421 |
-
"node_modules/ini": {
|
| 8422 |
-
"version": "1.3.8",
|
| 8423 |
-
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
|
| 8424 |
-
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
|
| 8425 |
-
"license": "ISC"
|
| 8426 |
-
},
|
| 8427 |
"node_modules/int53": {
|
| 8428 |
"version": "0.2.4",
|
| 8429 |
"resolved": "https://registry.npmjs.org/int53/-/int53-0.2.4.tgz",
|
|
@@ -9459,9 +9285,9 @@
|
|
| 9459 |
}
|
| 9460 |
},
|
| 9461 |
"node_modules/long": {
|
| 9462 |
-
"version": "
|
| 9463 |
-
"resolved": "https://registry.npmjs.org/long/-/long-
|
| 9464 |
-
"integrity": "sha512-
|
| 9465 |
"license": "Apache-2.0"
|
| 9466 |
},
|
| 9467 |
"node_modules/loupe": {
|
|
@@ -9674,18 +9500,6 @@
|
|
| 9674 |
"url": "https://github.com/sponsors/sindresorhus"
|
| 9675 |
}
|
| 9676 |
},
|
| 9677 |
-
"node_modules/mimic-response": {
|
| 9678 |
-
"version": "3.1.0",
|
| 9679 |
-
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
|
| 9680 |
-
"integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",
|
| 9681 |
-
"license": "MIT",
|
| 9682 |
-
"engines": {
|
| 9683 |
-
"node": ">=10"
|
| 9684 |
-
},
|
| 9685 |
-
"funding": {
|
| 9686 |
-
"url": "https://github.com/sponsors/sindresorhus"
|
| 9687 |
-
}
|
| 9688 |
-
},
|
| 9689 |
"node_modules/min-indent": {
|
| 9690 |
"version": "1.0.1",
|
| 9691 |
"resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz",
|
|
@@ -9730,6 +9544,34 @@
|
|
| 9730 |
"node": ">=16 || 14 >=14.17"
|
| 9731 |
}
|
| 9732 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9733 |
"node_modules/mkdirp": {
|
| 9734 |
"version": "0.5.6",
|
| 9735 |
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz",
|
|
@@ -9743,12 +9585,6 @@
|
|
| 9743 |
"mkdirp": "bin/cmd.js"
|
| 9744 |
}
|
| 9745 |
},
|
| 9746 |
-
"node_modules/mkdirp-classic": {
|
| 9747 |
-
"version": "0.5.3",
|
| 9748 |
-
"resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
|
| 9749 |
-
"integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==",
|
| 9750 |
-
"license": "MIT"
|
| 9751 |
-
},
|
| 9752 |
"node_modules/mlly": {
|
| 9753 |
"version": "1.7.1",
|
| 9754 |
"resolved": "https://registry.npmjs.org/mlly/-/mlly-1.7.1.tgz",
|
|
@@ -9963,12 +9799,6 @@
|
|
| 9963 |
"node": "^14 || ^16 || >=18"
|
| 9964 |
}
|
| 9965 |
},
|
| 9966 |
-
"node_modules/napi-build-utils": {
|
| 9967 |
-
"version": "1.0.2",
|
| 9968 |
-
"resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz",
|
| 9969 |
-
"integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==",
|
| 9970 |
-
"license": "MIT"
|
| 9971 |
-
},
|
| 9972 |
"node_modules/natural-compare": {
|
| 9973 |
"version": "1.4.0",
|
| 9974 |
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
|
|
@@ -9991,24 +9821,6 @@
|
|
| 9991 |
"integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",
|
| 9992 |
"license": "MIT"
|
| 9993 |
},
|
| 9994 |
-
"node_modules/node-abi": {
|
| 9995 |
-
"version": "3.65.0",
|
| 9996 |
-
"resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.65.0.tgz",
|
| 9997 |
-
"integrity": "sha512-ThjYBfoDNr08AWx6hGaRbfPwxKV9kVzAzOzlLKbk2CuqXE2xnCh+cbAGnwM3t8Lq4v9rUB7VfondlkBckcJrVA==",
|
| 9998 |
-
"license": "MIT",
|
| 9999 |
-
"dependencies": {
|
| 10000 |
-
"semver": "^7.3.5"
|
| 10001 |
-
},
|
| 10002 |
-
"engines": {
|
| 10003 |
-
"node": ">=10"
|
| 10004 |
-
}
|
| 10005 |
-
},
|
| 10006 |
-
"node_modules/node-addon-api": {
|
| 10007 |
-
"version": "6.1.0",
|
| 10008 |
-
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.1.0.tgz",
|
| 10009 |
-
"integrity": "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==",
|
| 10010 |
-
"license": "MIT"
|
| 10011 |
-
},
|
| 10012 |
"node_modules/node-domexception": {
|
| 10013 |
"version": "1.0.0",
|
| 10014 |
"resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz",
|
|
@@ -10237,50 +10049,48 @@
|
|
| 10237 |
"url": "https://github.com/sponsors/sindresorhus"
|
| 10238 |
}
|
| 10239 |
},
|
| 10240 |
-
"node_modules/onnx-proto": {
|
| 10241 |
-
"version": "4.0.4",
|
| 10242 |
-
"resolved": "https://registry.npmjs.org/onnx-proto/-/onnx-proto-4.0.4.tgz",
|
| 10243 |
-
"integrity": "sha512-aldMOB3HRoo6q/phyB6QRQxSt895HNNw82BNyZ2CMh4bjeKv7g/c+VpAFtJuEMVfYLMbRx61hbuqnKceLeDcDA==",
|
| 10244 |
-
"license": "MIT",
|
| 10245 |
-
"dependencies": {
|
| 10246 |
-
"protobufjs": "^6.8.8"
|
| 10247 |
-
}
|
| 10248 |
-
},
|
| 10249 |
"node_modules/onnxruntime-common": {
|
| 10250 |
-
"version": "1.
|
| 10251 |
-
"resolved": "https://registry.npmjs.org/onnxruntime-common/-/onnxruntime-common-1.
|
| 10252 |
-
"integrity": "sha512-
|
| 10253 |
"license": "MIT"
|
| 10254 |
},
|
| 10255 |
"node_modules/onnxruntime-node": {
|
| 10256 |
-
"version": "1.
|
| 10257 |
-
"resolved": "https://registry.npmjs.org/onnxruntime-node/-/onnxruntime-node-1.
|
| 10258 |
-
"integrity": "sha512-
|
|
|
|
| 10259 |
"license": "MIT",
|
| 10260 |
-
"optional": true,
|
| 10261 |
"os": [
|
| 10262 |
"win32",
|
| 10263 |
"darwin",
|
| 10264 |
"linux"
|
| 10265 |
],
|
| 10266 |
"dependencies": {
|
| 10267 |
-
"onnxruntime-common": "
|
|
|
|
| 10268 |
}
|
| 10269 |
},
|
| 10270 |
"node_modules/onnxruntime-web": {
|
| 10271 |
-
"version": "1.
|
| 10272 |
-
"resolved": "https://registry.npmjs.org/onnxruntime-web/-/onnxruntime-web-1.
|
| 10273 |
-
"integrity": "sha512-
|
| 10274 |
"license": "MIT",
|
| 10275 |
"dependencies": {
|
| 10276 |
"flatbuffers": "^1.12.0",
|
| 10277 |
"guid-typescript": "^1.0.9",
|
| 10278 |
-
"long": "^
|
| 10279 |
-
"
|
| 10280 |
-
"
|
| 10281 |
-
"
|
| 10282 |
}
|
| 10283 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10284 |
"node_modules/openai": {
|
| 10285 |
"version": "4.55.4",
|
| 10286 |
"resolved": "https://registry.npmjs.org/openai/-/openai-4.55.4.tgz",
|
|
@@ -11025,74 +10835,6 @@
|
|
| 11025 |
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
| 11026 |
}
|
| 11027 |
},
|
| 11028 |
-
"node_modules/prebuild-install": {
|
| 11029 |
-
"version": "7.1.2",
|
| 11030 |
-
"resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.2.tgz",
|
| 11031 |
-
"integrity": "sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ==",
|
| 11032 |
-
"license": "MIT",
|
| 11033 |
-
"dependencies": {
|
| 11034 |
-
"detect-libc": "^2.0.0",
|
| 11035 |
-
"expand-template": "^2.0.3",
|
| 11036 |
-
"github-from-package": "0.0.0",
|
| 11037 |
-
"minimist": "^1.2.3",
|
| 11038 |
-
"mkdirp-classic": "^0.5.3",
|
| 11039 |
-
"napi-build-utils": "^1.0.1",
|
| 11040 |
-
"node-abi": "^3.3.0",
|
| 11041 |
-
"pump": "^3.0.0",
|
| 11042 |
-
"rc": "^1.2.7",
|
| 11043 |
-
"simple-get": "^4.0.0",
|
| 11044 |
-
"tar-fs": "^2.0.0",
|
| 11045 |
-
"tunnel-agent": "^0.6.0"
|
| 11046 |
-
},
|
| 11047 |
-
"bin": {
|
| 11048 |
-
"prebuild-install": "bin.js"
|
| 11049 |
-
},
|
| 11050 |
-
"engines": {
|
| 11051 |
-
"node": ">=10"
|
| 11052 |
-
}
|
| 11053 |
-
},
|
| 11054 |
-
"node_modules/prebuild-install/node_modules/readable-stream": {
|
| 11055 |
-
"version": "3.6.2",
|
| 11056 |
-
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
|
| 11057 |
-
"integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
|
| 11058 |
-
"license": "MIT",
|
| 11059 |
-
"dependencies": {
|
| 11060 |
-
"inherits": "^2.0.3",
|
| 11061 |
-
"string_decoder": "^1.1.1",
|
| 11062 |
-
"util-deprecate": "^1.0.1"
|
| 11063 |
-
},
|
| 11064 |
-
"engines": {
|
| 11065 |
-
"node": ">= 6"
|
| 11066 |
-
}
|
| 11067 |
-
},
|
| 11068 |
-
"node_modules/prebuild-install/node_modules/tar-fs": {
|
| 11069 |
-
"version": "2.1.1",
|
| 11070 |
-
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",
|
| 11071 |
-
"integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
|
| 11072 |
-
"license": "MIT",
|
| 11073 |
-
"dependencies": {
|
| 11074 |
-
"chownr": "^1.1.1",
|
| 11075 |
-
"mkdirp-classic": "^0.5.2",
|
| 11076 |
-
"pump": "^3.0.0",
|
| 11077 |
-
"tar-stream": "^2.1.4"
|
| 11078 |
-
}
|
| 11079 |
-
},
|
| 11080 |
-
"node_modules/prebuild-install/node_modules/tar-stream": {
|
| 11081 |
-
"version": "2.2.0",
|
| 11082 |
-
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
|
| 11083 |
-
"integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
|
| 11084 |
-
"license": "MIT",
|
| 11085 |
-
"dependencies": {
|
| 11086 |
-
"bl": "^4.0.3",
|
| 11087 |
-
"end-of-stream": "^1.4.1",
|
| 11088 |
-
"fs-constants": "^1.0.0",
|
| 11089 |
-
"inherits": "^2.0.3",
|
| 11090 |
-
"readable-stream": "^3.1.1"
|
| 11091 |
-
},
|
| 11092 |
-
"engines": {
|
| 11093 |
-
"node": ">=6"
|
| 11094 |
-
}
|
| 11095 |
-
},
|
| 11096 |
"node_modules/prelude-ls": {
|
| 11097 |
"version": "1.2.1",
|
| 11098 |
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
|
@@ -11259,9 +11001,9 @@
|
|
| 11259 |
}
|
| 11260 |
},
|
| 11261 |
"node_modules/protobufjs": {
|
| 11262 |
-
"version": "
|
| 11263 |
-
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-
|
| 11264 |
-
"integrity": "sha512-
|
| 11265 |
"hasInstallScript": true,
|
| 11266 |
"license": "BSD-3-Clause",
|
| 11267 |
"dependencies": {
|
|
@@ -11275,13 +11017,11 @@
|
|
| 11275 |
"@protobufjs/path": "^1.1.2",
|
| 11276 |
"@protobufjs/pool": "^1.1.0",
|
| 11277 |
"@protobufjs/utf8": "^1.1.0",
|
| 11278 |
-
"@types/long": "^4.0.1",
|
| 11279 |
"@types/node": ">=13.7.0",
|
| 11280 |
-
"long": "^
|
| 11281 |
},
|
| 11282 |
-
"
|
| 11283 |
-
"
|
| 11284 |
-
"pbts": "bin/pbts"
|
| 11285 |
}
|
| 11286 |
},
|
| 11287 |
"node_modules/proxy-addr": {
|
|
@@ -11384,12 +11124,6 @@
|
|
| 11384 |
],
|
| 11385 |
"license": "MIT"
|
| 11386 |
},
|
| 11387 |
-
"node_modules/queue-tick": {
|
| 11388 |
-
"version": "1.0.1",
|
| 11389 |
-
"resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz",
|
| 11390 |
-
"integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==",
|
| 11391 |
-
"license": "MIT"
|
| 11392 |
-
},
|
| 11393 |
"node_modules/quick-format-unescaped": {
|
| 11394 |
"version": "4.0.4",
|
| 11395 |
"resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz",
|
|
@@ -11420,30 +11154,6 @@
|
|
| 11420 |
"node": ">= 0.8"
|
| 11421 |
}
|
| 11422 |
},
|
| 11423 |
-
"node_modules/rc": {
|
| 11424 |
-
"version": "1.2.8",
|
| 11425 |
-
"resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
|
| 11426 |
-
"integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
|
| 11427 |
-
"license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
|
| 11428 |
-
"dependencies": {
|
| 11429 |
-
"deep-extend": "^0.6.0",
|
| 11430 |
-
"ini": "~1.3.0",
|
| 11431 |
-
"minimist": "^1.2.0",
|
| 11432 |
-
"strip-json-comments": "~2.0.1"
|
| 11433 |
-
},
|
| 11434 |
-
"bin": {
|
| 11435 |
-
"rc": "cli.js"
|
| 11436 |
-
}
|
| 11437 |
-
},
|
| 11438 |
-
"node_modules/rc/node_modules/strip-json-comments": {
|
| 11439 |
-
"version": "2.0.1",
|
| 11440 |
-
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
|
| 11441 |
-
"integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==",
|
| 11442 |
-
"license": "MIT",
|
| 11443 |
-
"engines": {
|
| 11444 |
-
"node": ">=0.10.0"
|
| 11445 |
-
}
|
| 11446 |
-
},
|
| 11447 |
"node_modules/react-is": {
|
| 11448 |
"version": "17.0.2",
|
| 11449 |
"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
|
|
@@ -12142,51 +11852,6 @@
|
|
| 12142 |
"url": "https://github.com/sponsors/isaacs"
|
| 12143 |
}
|
| 12144 |
},
|
| 12145 |
-
"node_modules/simple-concat": {
|
| 12146 |
-
"version": "1.0.1",
|
| 12147 |
-
"resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",
|
| 12148 |
-
"integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",
|
| 12149 |
-
"funding": [
|
| 12150 |
-
{
|
| 12151 |
-
"type": "github",
|
| 12152 |
-
"url": "https://github.com/sponsors/feross"
|
| 12153 |
-
},
|
| 12154 |
-
{
|
| 12155 |
-
"type": "patreon",
|
| 12156 |
-
"url": "https://www.patreon.com/feross"
|
| 12157 |
-
},
|
| 12158 |
-
{
|
| 12159 |
-
"type": "consulting",
|
| 12160 |
-
"url": "https://feross.org/support"
|
| 12161 |
-
}
|
| 12162 |
-
],
|
| 12163 |
-
"license": "MIT"
|
| 12164 |
-
},
|
| 12165 |
-
"node_modules/simple-get": {
|
| 12166 |
-
"version": "4.0.1",
|
| 12167 |
-
"resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz",
|
| 12168 |
-
"integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==",
|
| 12169 |
-
"funding": [
|
| 12170 |
-
{
|
| 12171 |
-
"type": "github",
|
| 12172 |
-
"url": "https://github.com/sponsors/feross"
|
| 12173 |
-
},
|
| 12174 |
-
{
|
| 12175 |
-
"type": "patreon",
|
| 12176 |
-
"url": "https://www.patreon.com/feross"
|
| 12177 |
-
},
|
| 12178 |
-
{
|
| 12179 |
-
"type": "consulting",
|
| 12180 |
-
"url": "https://feross.org/support"
|
| 12181 |
-
}
|
| 12182 |
-
],
|
| 12183 |
-
"license": "MIT",
|
| 12184 |
-
"dependencies": {
|
| 12185 |
-
"decompress-response": "^6.0.0",
|
| 12186 |
-
"once": "^1.3.1",
|
| 12187 |
-
"simple-concat": "^1.0.0"
|
| 12188 |
-
}
|
| 12189 |
-
},
|
| 12190 |
"node_modules/simple-swizzle": {
|
| 12191 |
"version": "0.2.2",
|
| 12192 |
"resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
|
|
@@ -12378,20 +12043,6 @@
|
|
| 12378 |
"dev": true,
|
| 12379 |
"license": "MIT"
|
| 12380 |
},
|
| 12381 |
-
"node_modules/streamx": {
|
| 12382 |
-
"version": "2.18.0",
|
| 12383 |
-
"resolved": "https://registry.npmjs.org/streamx/-/streamx-2.18.0.tgz",
|
| 12384 |
-
"integrity": "sha512-LLUC1TWdjVdn1weXGcSxyTR3T4+acB6tVGXT95y0nGbca4t4o/ng1wKAGTljm9VicuCVLvRlqFYXYy5GwgM7sQ==",
|
| 12385 |
-
"license": "MIT",
|
| 12386 |
-
"dependencies": {
|
| 12387 |
-
"fast-fifo": "^1.3.2",
|
| 12388 |
-
"queue-tick": "^1.0.1",
|
| 12389 |
-
"text-decoder": "^1.1.0"
|
| 12390 |
-
},
|
| 12391 |
-
"optionalDependencies": {
|
| 12392 |
-
"bare-events": "^2.2.0"
|
| 12393 |
-
}
|
| 12394 |
-
},
|
| 12395 |
"node_modules/strict-event-emitter": {
|
| 12396 |
"version": "0.5.1",
|
| 12397 |
"resolved": "https://registry.npmjs.org/strict-event-emitter/-/strict-event-emitter-0.5.1.tgz",
|
|
@@ -12960,29 +12611,45 @@
|
|
| 12960 |
"node": ">=4"
|
| 12961 |
}
|
| 12962 |
},
|
| 12963 |
-
"node_modules/tar
|
| 12964 |
-
"version": "
|
| 12965 |
-
"resolved": "https://registry.npmjs.org/tar
|
| 12966 |
-
"integrity": "sha512-
|
| 12967 |
-
"license": "
|
| 12968 |
"dependencies": {
|
| 12969 |
-
"
|
| 12970 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12971 |
},
|
| 12972 |
-
"
|
| 12973 |
-
"
|
| 12974 |
-
"bare-path": "^2.1.0"
|
| 12975 |
}
|
| 12976 |
},
|
| 12977 |
-
"node_modules/tar
|
| 12978 |
-
"version": "3.1
|
| 12979 |
-
"resolved": "https://registry.npmjs.org/
|
| 12980 |
-
"integrity": "sha512
|
| 12981 |
"license": "MIT",
|
| 12982 |
-
"
|
| 12983 |
-
"
|
| 12984 |
-
|
| 12985 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12986 |
}
|
| 12987 |
},
|
| 12988 |
"node_modules/tdigest": {
|
|
@@ -12995,15 +12662,6 @@
|
|
| 12995 |
"bintrees": "1.0.2"
|
| 12996 |
}
|
| 12997 |
},
|
| 12998 |
-
"node_modules/text-decoder": {
|
| 12999 |
-
"version": "1.1.1",
|
| 13000 |
-
"resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.1.1.tgz",
|
| 13001 |
-
"integrity": "sha512-8zll7REEv4GDD3x4/0pW+ppIxSNs7H1J10IKFZsuOMscumCdM2a+toDGLPA3T+1+fLBql4zbt5z83GEQGGV5VA==",
|
| 13002 |
-
"license": "Apache-2.0",
|
| 13003 |
-
"dependencies": {
|
| 13004 |
-
"b4a": "^1.6.4"
|
| 13005 |
-
}
|
| 13006 |
-
},
|
| 13007 |
"node_modules/text-table": {
|
| 13008 |
"version": "0.2.0",
|
| 13009 |
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
|
|
@@ -13281,18 +12939,6 @@
|
|
| 13281 |
"integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==",
|
| 13282 |
"license": "0BSD"
|
| 13283 |
},
|
| 13284 |
-
"node_modules/tunnel-agent": {
|
| 13285 |
-
"version": "0.6.0",
|
| 13286 |
-
"resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
|
| 13287 |
-
"integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==",
|
| 13288 |
-
"license": "Apache-2.0",
|
| 13289 |
-
"dependencies": {
|
| 13290 |
-
"safe-buffer": "^5.0.1"
|
| 13291 |
-
},
|
| 13292 |
-
"engines": {
|
| 13293 |
-
"node": "*"
|
| 13294 |
-
}
|
| 13295 |
-
},
|
| 13296 |
"node_modules/type-check": {
|
| 13297 |
"version": "0.4.0",
|
| 13298 |
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
|
|
|
|
| 13 |
"@gradio/client": "^1.1.1",
|
| 14 |
"@huggingface/hub": "^0.5.1",
|
| 15 |
"@huggingface/inference": "^2.7.0",
|
| 16 |
+
"@huggingface/transformers": "^3.0.0-alpha.6",
|
| 17 |
"@iconify-json/bi": "^1.1.21",
|
| 18 |
"@playwright/browser-chromium": "^1.43.1",
|
| 19 |
"@resvg/resvg-js": "^2.6.2",
|
|
|
|
| 20 |
"autoprefixer": "^10.4.14",
|
| 21 |
"aws4": "^1.13.0",
|
| 22 |
"browser-image-resizer": "^2.4.1",
|
|
|
|
| 1992 |
}
|
| 1993 |
},
|
| 1994 |
"node_modules/@huggingface/jinja": {
|
| 1995 |
+
"version": "0.3.0",
|
| 1996 |
+
"resolved": "https://registry.npmjs.org/@huggingface/jinja/-/jinja-0.3.0.tgz",
|
| 1997 |
+
"integrity": "sha512-GLJzso0M07ZncFkrJMIXVU4os6GFbPocD4g8fMQPMGJubf48FtGOsUORH2rtFdXPIPelz8SLBMn8ZRmOTwXm9Q==",
|
| 1998 |
"license": "MIT",
|
| 1999 |
"engines": {
|
| 2000 |
"node": ">=18"
|
|
|
|
| 2006 |
"integrity": "sha512-HOdx2vwhd/rCmy6gpDPiUbsXD+vwVpYSS/h2Tx+yV1uMDfS98MWl/TvoVGV+u5cJWTFbvdiTHMXIuw8B6JbHuQ==",
|
| 2007 |
"license": "MIT"
|
| 2008 |
},
|
| 2009 |
+
"node_modules/@huggingface/transformers": {
|
| 2010 |
+
"version": "3.0.0-alpha.6",
|
| 2011 |
+
"resolved": "https://registry.npmjs.org/@huggingface/transformers/-/transformers-3.0.0-alpha.6.tgz",
|
| 2012 |
+
"integrity": "sha512-sEYG9qLgGkPxXeYDI/TrewWciuCe5B/YDCzPOpzc0DFivsxBn3+qoZQ8uQS3Jaqyz4eyPpYoEfuTARH+B9h7lQ==",
|
| 2013 |
+
"license": "Apache-2.0",
|
| 2014 |
+
"dependencies": {
|
| 2015 |
+
"@huggingface/jinja": "^0.3.0",
|
| 2016 |
+
"onnxruntime-node": "1.18.0",
|
| 2017 |
+
"onnxruntime-web": "1.19.0-dev.20240804-ee2fe87e2d",
|
| 2018 |
+
"sharp": "^0.33.2"
|
| 2019 |
+
}
|
| 2020 |
+
},
|
| 2021 |
"node_modules/@humanwhocodes/config-array": {
|
| 2022 |
"version": "0.11.14",
|
| 2023 |
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz",
|
|
|
|
| 2770 |
"url": "https://github.com/chalk/strip-ansi?sponsor=1"
|
| 2771 |
}
|
| 2772 |
},
|
| 2773 |
+
"node_modules/@isaacs/fs-minipass": {
|
| 2774 |
+
"version": "4.0.1",
|
| 2775 |
+
"resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz",
|
| 2776 |
+
"integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==",
|
| 2777 |
+
"license": "ISC",
|
| 2778 |
+
"dependencies": {
|
| 2779 |
+
"minipass": "^7.0.4"
|
| 2780 |
+
},
|
| 2781 |
+
"engines": {
|
| 2782 |
+
"node": ">=18.0.0"
|
| 2783 |
+
}
|
| 2784 |
+
},
|
| 2785 |
"node_modules/@jridgewell/gen-mapping": {
|
| 2786 |
"version": "0.3.5",
|
| 2787 |
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
|
|
|
|
| 4563 |
"integrity": "sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==",
|
| 4564 |
"license": "MIT"
|
| 4565 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4566 |
"node_modules/@types/mime": {
|
| 4567 |
"version": "1.3.5",
|
| 4568 |
"resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz",
|
|
|
|
| 5047 |
"url": "https://opencollective.com/vitest"
|
| 5048 |
}
|
| 5049 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5050 |
"node_modules/abab": {
|
| 5051 |
"version": "2.0.6",
|
| 5052 |
"resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz",
|
|
|
|
| 5339 |
"node": ">= 0.4"
|
| 5340 |
}
|
| 5341 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5342 |
"node_modules/balanced-match": {
|
| 5343 |
"version": "1.0.2",
|
| 5344 |
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
| 5345 |
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
|
| 5346 |
"license": "MIT"
|
| 5347 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5348 |
"node_modules/base64-js": {
|
| 5349 |
"version": "1.5.1",
|
| 5350 |
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
|
|
|
|
| 5400 |
"dev": true,
|
| 5401 |
"license": "MIT"
|
| 5402 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5403 |
"node_modules/blueimp-md5": {
|
| 5404 |
"version": "2.19.0",
|
| 5405 |
"resolved": "https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.19.0.tgz",
|
|
|
|
| 5781 |
}
|
| 5782 |
},
|
| 5783 |
"node_modules/chownr": {
|
| 5784 |
+
"version": "3.0.0",
|
| 5785 |
+
"resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz",
|
| 5786 |
+
"integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==",
|
| 5787 |
+
"license": "BlueOak-1.0.0",
|
| 5788 |
+
"engines": {
|
| 5789 |
+
"node": ">=18"
|
| 5790 |
+
}
|
| 5791 |
},
|
| 5792 |
"node_modules/cli-cursor": {
|
| 5793 |
"version": "5.0.0",
|
|
|
|
| 6321 |
"integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==",
|
| 6322 |
"license": "MIT"
|
| 6323 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6324 |
"node_modules/deep-eql": {
|
| 6325 |
"version": "4.1.4",
|
| 6326 |
"resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.4.tgz",
|
|
|
|
| 6334 |
"node": ">=6"
|
| 6335 |
}
|
| 6336 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6337 |
"node_modules/deep-is": {
|
| 6338 |
"version": "0.1.4",
|
| 6339 |
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
|
|
|
|
| 7194 |
"url": "https://github.com/sponsors/sindresorhus"
|
| 7195 |
}
|
| 7196 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7197 |
"node_modules/express": {
|
| 7198 |
"version": "4.19.2",
|
| 7199 |
"resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz",
|
|
|
|
| 7292 |
"dev": true,
|
| 7293 |
"license": "Apache-2.0"
|
| 7294 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7295 |
"node_modules/fast-glob": {
|
| 7296 |
"version": "3.3.2",
|
| 7297 |
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
|
|
|
|
| 7594 |
"node": ">= 0.6"
|
| 7595 |
}
|
| 7596 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7597 |
"node_modules/fs.realpath": {
|
| 7598 |
"version": "1.0.0",
|
| 7599 |
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
|
|
|
| 7731 |
"url": "https://github.com/sponsors/sindresorhus"
|
| 7732 |
}
|
| 7733 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7734 |
"node_modules/glob": {
|
| 7735 |
"version": "10.4.5",
|
| 7736 |
"resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
|
|
|
|
| 8250 |
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
|
| 8251 |
"license": "ISC"
|
| 8252 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8253 |
"node_modules/int53": {
|
| 8254 |
"version": "0.2.4",
|
| 8255 |
"resolved": "https://registry.npmjs.org/int53/-/int53-0.2.4.tgz",
|
|
|
|
| 9285 |
}
|
| 9286 |
},
|
| 9287 |
"node_modules/long": {
|
| 9288 |
+
"version": "5.2.3",
|
| 9289 |
+
"resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz",
|
| 9290 |
+
"integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==",
|
| 9291 |
"license": "Apache-2.0"
|
| 9292 |
},
|
| 9293 |
"node_modules/loupe": {
|
|
|
|
| 9500 |
"url": "https://github.com/sponsors/sindresorhus"
|
| 9501 |
}
|
| 9502 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9503 |
"node_modules/min-indent": {
|
| 9504 |
"version": "1.0.1",
|
| 9505 |
"resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz",
|
|
|
|
| 9544 |
"node": ">=16 || 14 >=14.17"
|
| 9545 |
}
|
| 9546 |
},
|
| 9547 |
+
"node_modules/minizlib": {
|
| 9548 |
+
"version": "3.0.1",
|
| 9549 |
+
"resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.0.1.tgz",
|
| 9550 |
+
"integrity": "sha512-umcy022ILvb5/3Djuu8LWeqUa8D68JaBzlttKeMWen48SjabqS3iY5w/vzeMzMUNhLDifyhbOwKDSznB1vvrwg==",
|
| 9551 |
+
"license": "MIT",
|
| 9552 |
+
"dependencies": {
|
| 9553 |
+
"minipass": "^7.0.4",
|
| 9554 |
+
"rimraf": "^5.0.5"
|
| 9555 |
+
},
|
| 9556 |
+
"engines": {
|
| 9557 |
+
"node": ">= 18"
|
| 9558 |
+
}
|
| 9559 |
+
},
|
| 9560 |
+
"node_modules/minizlib/node_modules/rimraf": {
|
| 9561 |
+
"version": "5.0.10",
|
| 9562 |
+
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz",
|
| 9563 |
+
"integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==",
|
| 9564 |
+
"license": "ISC",
|
| 9565 |
+
"dependencies": {
|
| 9566 |
+
"glob": "^10.3.7"
|
| 9567 |
+
},
|
| 9568 |
+
"bin": {
|
| 9569 |
+
"rimraf": "dist/esm/bin.mjs"
|
| 9570 |
+
},
|
| 9571 |
+
"funding": {
|
| 9572 |
+
"url": "https://github.com/sponsors/isaacs"
|
| 9573 |
+
}
|
| 9574 |
+
},
|
| 9575 |
"node_modules/mkdirp": {
|
| 9576 |
"version": "0.5.6",
|
| 9577 |
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz",
|
|
|
|
| 9585 |
"mkdirp": "bin/cmd.js"
|
| 9586 |
}
|
| 9587 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9588 |
"node_modules/mlly": {
|
| 9589 |
"version": "1.7.1",
|
| 9590 |
"resolved": "https://registry.npmjs.org/mlly/-/mlly-1.7.1.tgz",
|
|
|
|
| 9799 |
"node": "^14 || ^16 || >=18"
|
| 9800 |
}
|
| 9801 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9802 |
"node_modules/natural-compare": {
|
| 9803 |
"version": "1.4.0",
|
| 9804 |
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
|
|
|
|
| 9821 |
"integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",
|
| 9822 |
"license": "MIT"
|
| 9823 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9824 |
"node_modules/node-domexception": {
|
| 9825 |
"version": "1.0.0",
|
| 9826 |
"resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz",
|
|
|
|
| 10049 |
"url": "https://github.com/sponsors/sindresorhus"
|
| 10050 |
}
|
| 10051 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10052 |
"node_modules/onnxruntime-common": {
|
| 10053 |
+
"version": "1.18.0",
|
| 10054 |
+
"resolved": "https://registry.npmjs.org/onnxruntime-common/-/onnxruntime-common-1.18.0.tgz",
|
| 10055 |
+
"integrity": "sha512-lufrSzX6QdKrktAELG5x5VkBpapbCeS3dQwrXbN0eD9rHvU0yAWl7Ztju9FvgAKWvwd/teEKJNj3OwM6eTZh3Q==",
|
| 10056 |
"license": "MIT"
|
| 10057 |
},
|
| 10058 |
"node_modules/onnxruntime-node": {
|
| 10059 |
+
"version": "1.18.0",
|
| 10060 |
+
"resolved": "https://registry.npmjs.org/onnxruntime-node/-/onnxruntime-node-1.18.0.tgz",
|
| 10061 |
+
"integrity": "sha512-iTnFcxKpmywCatx8ov4GTbECe3tJk2Bp1OA2mWRJde78q+7tpPYBhKMnwhlaoKy9oKQcy4UoEuuhoy2PSD13ww==",
|
| 10062 |
+
"hasInstallScript": true,
|
| 10063 |
"license": "MIT",
|
|
|
|
| 10064 |
"os": [
|
| 10065 |
"win32",
|
| 10066 |
"darwin",
|
| 10067 |
"linux"
|
| 10068 |
],
|
| 10069 |
"dependencies": {
|
| 10070 |
+
"onnxruntime-common": "1.18.0",
|
| 10071 |
+
"tar": "^7.0.1"
|
| 10072 |
}
|
| 10073 |
},
|
| 10074 |
"node_modules/onnxruntime-web": {
|
| 10075 |
+
"version": "1.19.0-dev.20240804-ee2fe87e2d",
|
| 10076 |
+
"resolved": "https://registry.npmjs.org/onnxruntime-web/-/onnxruntime-web-1.19.0-dev.20240804-ee2fe87e2d.tgz",
|
| 10077 |
+
"integrity": "sha512-uz93GKeBjHHq0150qIAxGGMhf5YLnfh12OChvYyLG2H6LzXymXhorvcxV7sklofw6fVooL3IutMz8nbZLMQxYg==",
|
| 10078 |
"license": "MIT",
|
| 10079 |
"dependencies": {
|
| 10080 |
"flatbuffers": "^1.12.0",
|
| 10081 |
"guid-typescript": "^1.0.9",
|
| 10082 |
+
"long": "^5.2.3",
|
| 10083 |
+
"onnxruntime-common": "1.19.0-dev.20240730-530a2d7b41",
|
| 10084 |
+
"platform": "^1.3.6",
|
| 10085 |
+
"protobufjs": "^7.2.4"
|
| 10086 |
}
|
| 10087 |
},
|
| 10088 |
+
"node_modules/onnxruntime-web/node_modules/onnxruntime-common": {
|
| 10089 |
+
"version": "1.19.0-dev.20240730-530a2d7b41",
|
| 10090 |
+
"resolved": "https://registry.npmjs.org/onnxruntime-common/-/onnxruntime-common-1.19.0-dev.20240730-530a2d7b41.tgz",
|
| 10091 |
+
"integrity": "sha512-fWyg0USjvdHY5JL+3y/fXUDTOl9OLfhrX+sttfM2LW7jT/O8VNxjc16oAjyJHJruOQdrH2qo+KnxjOLA68i2dw==",
|
| 10092 |
+
"license": "MIT"
|
| 10093 |
+
},
|
| 10094 |
"node_modules/openai": {
|
| 10095 |
"version": "4.55.4",
|
| 10096 |
"resolved": "https://registry.npmjs.org/openai/-/openai-4.55.4.tgz",
|
|
|
|
| 10835 |
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
| 10836 |
}
|
| 10837 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10838 |
"node_modules/prelude-ls": {
|
| 10839 |
"version": "1.2.1",
|
| 10840 |
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
|
|
|
| 11001 |
}
|
| 11002 |
},
|
| 11003 |
"node_modules/protobufjs": {
|
| 11004 |
+
"version": "7.3.2",
|
| 11005 |
+
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.3.2.tgz",
|
| 11006 |
+
"integrity": "sha512-RXyHaACeqXeqAKGLDl68rQKbmObRsTIn4TYVUUug1KfS47YWCo5MacGITEryugIgZqORCvJWEk4l449POg5Txg==",
|
| 11007 |
"hasInstallScript": true,
|
| 11008 |
"license": "BSD-3-Clause",
|
| 11009 |
"dependencies": {
|
|
|
|
| 11017 |
"@protobufjs/path": "^1.1.2",
|
| 11018 |
"@protobufjs/pool": "^1.1.0",
|
| 11019 |
"@protobufjs/utf8": "^1.1.0",
|
|
|
|
| 11020 |
"@types/node": ">=13.7.0",
|
| 11021 |
+
"long": "^5.0.0"
|
| 11022 |
},
|
| 11023 |
+
"engines": {
|
| 11024 |
+
"node": ">=12.0.0"
|
|
|
|
| 11025 |
}
|
| 11026 |
},
|
| 11027 |
"node_modules/proxy-addr": {
|
|
|
|
| 11124 |
],
|
| 11125 |
"license": "MIT"
|
| 11126 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11127 |
"node_modules/quick-format-unescaped": {
|
| 11128 |
"version": "4.0.4",
|
| 11129 |
"resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz",
|
|
|
|
| 11154 |
"node": ">= 0.8"
|
| 11155 |
}
|
| 11156 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11157 |
"node_modules/react-is": {
|
| 11158 |
"version": "17.0.2",
|
| 11159 |
"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
|
|
|
|
| 11852 |
"url": "https://github.com/sponsors/isaacs"
|
| 11853 |
}
|
| 11854 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11855 |
"node_modules/simple-swizzle": {
|
| 11856 |
"version": "0.2.2",
|
| 11857 |
"resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
|
|
|
|
| 12043 |
"dev": true,
|
| 12044 |
"license": "MIT"
|
| 12045 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12046 |
"node_modules/strict-event-emitter": {
|
| 12047 |
"version": "0.5.1",
|
| 12048 |
"resolved": "https://registry.npmjs.org/strict-event-emitter/-/strict-event-emitter-0.5.1.tgz",
|
|
|
|
| 12611 |
"node": ">=4"
|
| 12612 |
}
|
| 12613 |
},
|
| 12614 |
+
"node_modules/tar": {
|
| 12615 |
+
"version": "7.4.3",
|
| 12616 |
+
"resolved": "https://registry.npmjs.org/tar/-/tar-7.4.3.tgz",
|
| 12617 |
+
"integrity": "sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==",
|
| 12618 |
+
"license": "ISC",
|
| 12619 |
"dependencies": {
|
| 12620 |
+
"@isaacs/fs-minipass": "^4.0.0",
|
| 12621 |
+
"chownr": "^3.0.0",
|
| 12622 |
+
"minipass": "^7.1.2",
|
| 12623 |
+
"minizlib": "^3.0.1",
|
| 12624 |
+
"mkdirp": "^3.0.1",
|
| 12625 |
+
"yallist": "^5.0.0"
|
| 12626 |
},
|
| 12627 |
+
"engines": {
|
| 12628 |
+
"node": ">=18"
|
|
|
|
| 12629 |
}
|
| 12630 |
},
|
| 12631 |
+
"node_modules/tar/node_modules/mkdirp": {
|
| 12632 |
+
"version": "3.0.1",
|
| 12633 |
+
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz",
|
| 12634 |
+
"integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==",
|
| 12635 |
"license": "MIT",
|
| 12636 |
+
"bin": {
|
| 12637 |
+
"mkdirp": "dist/cjs/src/bin.js"
|
| 12638 |
+
},
|
| 12639 |
+
"engines": {
|
| 12640 |
+
"node": ">=10"
|
| 12641 |
+
},
|
| 12642 |
+
"funding": {
|
| 12643 |
+
"url": "https://github.com/sponsors/isaacs"
|
| 12644 |
+
}
|
| 12645 |
+
},
|
| 12646 |
+
"node_modules/tar/node_modules/yallist": {
|
| 12647 |
+
"version": "5.0.0",
|
| 12648 |
+
"resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz",
|
| 12649 |
+
"integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==",
|
| 12650 |
+
"license": "BlueOak-1.0.0",
|
| 12651 |
+
"engines": {
|
| 12652 |
+
"node": ">=18"
|
| 12653 |
}
|
| 12654 |
},
|
| 12655 |
"node_modules/tdigest": {
|
|
|
|
| 12662 |
"bintrees": "1.0.2"
|
| 12663 |
}
|
| 12664 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12665 |
"node_modules/text-table": {
|
| 12666 |
"version": "0.2.0",
|
| 12667 |
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
|
|
|
|
| 12939 |
"integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==",
|
| 12940 |
"license": "0BSD"
|
| 12941 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12942 |
"node_modules/type-check": {
|
| 12943 |
"version": "0.4.0",
|
| 12944 |
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
|
package.json
CHANGED
|
@@ -63,10 +63,10 @@
|
|
| 63 |
"@gradio/client": "^1.1.1",
|
| 64 |
"@huggingface/hub": "^0.5.1",
|
| 65 |
"@huggingface/inference": "^2.7.0",
|
|
|
|
| 66 |
"@iconify-json/bi": "^1.1.21",
|
| 67 |
"@playwright/browser-chromium": "^1.43.1",
|
| 68 |
"@resvg/resvg-js": "^2.6.2",
|
| 69 |
-
"@xenova/transformers": "^2.16.1",
|
| 70 |
"autoprefixer": "^10.4.14",
|
| 71 |
"aws4": "^1.13.0",
|
| 72 |
"browser-image-resizer": "^2.4.1",
|
|
|
|
| 63 |
"@gradio/client": "^1.1.1",
|
| 64 |
"@huggingface/hub": "^0.5.1",
|
| 65 |
"@huggingface/inference": "^2.7.0",
|
| 66 |
+
"@huggingface/transformers": "^3.0.0-alpha.6",
|
| 67 |
"@iconify-json/bi": "^1.1.21",
|
| 68 |
"@playwright/browser-chromium": "^1.43.1",
|
| 69 |
"@resvg/resvg-js": "^2.6.2",
|
|
|
|
| 70 |
"autoprefixer": "^10.4.14",
|
| 71 |
"aws4": "^1.13.0",
|
| 72 |
"browser-image-resizer": "^2.4.1",
|
src/lib/components/TokensCounter.svelte
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<script lang="ts">
|
| 2 |
import type { Model } from "$lib/types/Model";
|
| 3 |
import { getTokenizer } from "$lib/utils/getTokenizer";
|
| 4 |
-
import type { PreTrainedTokenizer } from "@
|
| 5 |
|
| 6 |
export let classNames = "";
|
| 7 |
export let prompt = "";
|
|
|
|
| 1 |
<script lang="ts">
|
| 2 |
import type { Model } from "$lib/types/Model";
|
| 3 |
import { getTokenizer } from "$lib/utils/getTokenizer";
|
| 4 |
+
import type { PreTrainedTokenizer } from "@huggingface/transformers";
|
| 5 |
|
| 6 |
export let classNames = "";
|
| 7 |
export let prompt = "";
|
src/lib/server/embeddingEndpoints/transformersjs/embeddingEndpoints.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import { z } from "zod";
|
| 2 |
import type { EmbeddingEndpoint } from "../embeddingEndpoints";
|
| 3 |
-
import type { Tensor, FeatureExtractionPipeline } from "@
|
| 4 |
-
import { pipeline } from "@
|
| 5 |
|
| 6 |
export const embeddingEndpointTransformersJSParametersSchema = z.object({
|
| 7 |
weight: z.number().int().positive().default(1),
|
|
|
|
| 1 |
import { z } from "zod";
|
| 2 |
import type { EmbeddingEndpoint } from "../embeddingEndpoints";
|
| 3 |
+
import type { Tensor, FeatureExtractionPipeline } from "@huggingface/transformers";
|
| 4 |
+
import { pipeline } from "@huggingface/transformers";
|
| 5 |
|
| 6 |
export const embeddingEndpointTransformersJSParametersSchema = z.object({
|
| 7 |
weight: z.number().int().positive().default(1),
|
src/lib/server/models.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { endpointTgi } from "./endpoints/tgi/endpointTgi";
|
|
| 7 |
import { sum } from "$lib/utils/sum";
|
| 8 |
import { embeddingModels, validateEmbeddingModelByName } from "./embeddingModels";
|
| 9 |
|
| 10 |
-
import type { PreTrainedTokenizer } from "@
|
| 11 |
|
| 12 |
import JSON5 from "json5";
|
| 13 |
import { getTokenizer } from "$lib/utils/getTokenizer";
|
|
@@ -110,6 +110,7 @@ async function getChatPromptRender(
|
|
| 110 |
];
|
| 111 |
}
|
| 112 |
|
|
|
|
| 113 |
if (toolResults?.length) {
|
| 114 |
// todo: should update the command r+ tokenizer to support system messages at any location
|
| 115 |
// or use the `rag` mode without the citations
|
|
|
|
| 7 |
import { sum } from "$lib/utils/sum";
|
| 8 |
import { embeddingModels, validateEmbeddingModelByName } from "./embeddingModels";
|
| 9 |
|
| 10 |
+
import type { PreTrainedTokenizer } from "@huggingface/transformers";
|
| 11 |
|
| 12 |
import JSON5 from "json5";
|
| 13 |
import { getTokenizer } from "$lib/utils/getTokenizer";
|
|
|
|
| 110 |
];
|
| 111 |
}
|
| 112 |
|
| 113 |
+
logger.info({ formattedMessages });
|
| 114 |
if (toolResults?.length) {
|
| 115 |
// todo: should update the command r+ tokenizer to support system messages at any location
|
| 116 |
// or use the `rag` mode without the citations
|
src/lib/server/sentenceSimilarity.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
import { dot } from "@
|
| 2 |
import type { EmbeddingBackendModel } from "$lib/server/embeddingModels";
|
| 3 |
import type { Embedding } from "$lib/server/embeddingEndpoints/embeddingEndpoints";
|
| 4 |
|
|
|
|
| 1 |
+
import { dot } from "@huggingface/transformers";
|
| 2 |
import type { EmbeddingBackendModel } from "$lib/server/embeddingModels";
|
| 3 |
import type { Embedding } from "$lib/server/embeddingEndpoints/embeddingEndpoints";
|
| 4 |
|
src/lib/utils/getTokenizer.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import type { Model } from "$lib/types/Model";
|
| 2 |
-
import { AutoTokenizer, PreTrainedTokenizer } from "@
|
| 3 |
|
| 4 |
export async function getTokenizer(_modelTokenizer: Exclude<Model["tokenizer"], undefined>) {
|
| 5 |
if (typeof _modelTokenizer === "string") {
|
|
|
|
| 1 |
import type { Model } from "$lib/types/Model";
|
| 2 |
+
import { AutoTokenizer, PreTrainedTokenizer } from "@huggingface/transformers";
|
| 3 |
|
| 4 |
export async function getTokenizer(_modelTokenizer: Exclude<Model["tokenizer"], undefined>) {
|
| 5 |
if (typeof _modelTokenizer === "string") {
|
vite.config.ts
CHANGED
|
@@ -26,7 +26,13 @@ export default defineConfig({
|
|
| 26 |
loadTTFAsArrayBuffer(),
|
| 27 |
],
|
| 28 |
optimizeDeps: {
|
| 29 |
-
include: [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
},
|
| 31 |
server: {
|
| 32 |
open: "/",
|
|
|
|
| 26 |
loadTTFAsArrayBuffer(),
|
| 27 |
],
|
| 28 |
optimizeDeps: {
|
| 29 |
+
include: [
|
| 30 |
+
"browser-image-resizer",
|
| 31 |
+
"uuid",
|
| 32 |
+
"@huggingface/transformers",
|
| 33 |
+
"sharp",
|
| 34 |
+
"@gradio/client",
|
| 35 |
+
],
|
| 36 |
},
|
| 37 |
server: {
|
| 38 |
open: "/",
|