botonic icon indicating copy to clipboard operation
botonic copied to clipboard

Botonic Train issues

Open flamecopper opened this issue 2 years ago • 0 comments

botonic train

[email protected] train:ner ts-node src/nlp/tasks/ner/train.ts

[email protected] train:intent-classification ts-node src/nlp/tasks/intent-classification/train.ts

node:internal/modules/cjs/loader:1078 throw err; ^

Error: Cannot find module './train.ts' Require stack:

  • /home/osboxes/Desktop/myBot/src/nlp/tasks/ner/imaginaryUncacheableRequireResolveScript at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Function.resolve (node:internal/modules/cjs/helpers:116:19) at requireResolveNonCached (/home/osboxes/Desktop/myBot/node_modules/ts-node/dist/bin.js:549:16) at getProjectSearchDir (/home/osboxes/Desktop/myBot/node_modules/ts-node/dist/bin.js:519:40) at phase3 (/home/osboxes/Desktop/myBot/node_modules/ts-node/dist/bin.js:267:27) at bootstrap (/home/osboxes/Desktop/myBot/node_modules/ts-node/dist/bin.js:47:30) at main (/home/osboxes/Desktop/myBot/node_modules/ts-node/dist/bin.js:33:12) at Object. (/home/osboxes/Desktop/myBot/node_modules/ts-node/dist/bin.js:579:5) at Module._compile (node:internal/modules/cjs/loader:1254:14) at Module._extensions..js (node:internal/modules/cjs/loader:1308:10) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/osboxes/Desktop/myBot/src/nlp/tasks/ner/imaginaryUncacheableRequireResolveScript' ] }

Node.js v18.16.0 child process exited with code 12023-06-06 22:40:49.492892: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2023-06-06 22:40:49.847392: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2803200000 Hz 2023-06-06 22:40:49.848811: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f0a40369440 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2023-06-06 22:40:49.848865: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version Dataset size: 0 Train set size: 0 Test set size: 0 Found 'glove-50d-en.db'. /home/osboxes/Desktop/myBot/node_modules/better-sqlite3/lib/methods/wrappers.js:5 return this[cppdb].prepare(sql, this, false); ^ SqliteError: no such table: embeddings at Database.prepare (/home/osboxes/Desktop/myBot/node_modules/better-sqlite3/lib/methods/wrappers.js:5:21) at DatabaseStorage. (/home/osboxes/Desktop/myBot/node_modules/@botonic/nlp/src/embeddings/database/storage.ts:63:36) at step (/home/osboxes/Desktop/myBot/node_modules/@botonic/nlp/lib/embeddings/database/storage.js:33:23) at Object.next (/home/osboxes/Desktop/myBot/node_modules/@botonic/nlp/lib/embeddings/database/storage.js:14:53) at fulfilled (/home/osboxes/Desktop/myBot/node_modules/@botonic/nlp/lib/embeddings/database/storage.js:5:58) at processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 'SQLITE_ERROR' }

flamecopper avatar Jun 07 '23 02:06 flamecopper