Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Botonic Train issues #2520

Open
flamecopper opened this issue Jun 7, 2023 · 0 comments
Open

Botonic Train issues #2520

flamecopper opened this issue Jun 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@flamecopper
Copy link

botonic train

blank@1.0.0 train:ner
ts-node src/nlp/tasks/ner/train.ts

blank@1.0.0 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 flamecopper added the bug Something isn't working label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant