cocktailpeanut / dalai

The simplest way to run LLaMA on your local machine
https://cocktailpeanut.github.io/dalai
13.1k stars 1.42k forks source link

Type error reported by Windows CMD, no responses generated, #430

Open adamdpalmer opened 1 year ago

adamdpalmer commented 1 year ago

modelsPath C:\Users\adamdanielpalmer\dalai\llama\models { modelFolders: [ '7B' ] }

query: { seed: -1, threads: '12', n_predict: 200, top_k: 40, top_p: 0.9, temp: 0.8, repeat_last_n: 64, repeat_penalty: 1.3, debug: false, models: [], prompt: 'test', id: 'TS-1682967254999-44763' } C:\Users\adamdanielpalmer\AppData\Local\npm-cache_npx\3c737cbb02d79cc9\node_modules\dalai\index.js:219 let [Core, Model] = req.model.split(".") ^

TypeError: Cannot read properties of undefined (reading 'split') at Dalai.query (C:\Users\adamdanielpalmer\AppData\Local\npm-cache_npx\3c737cbb02d79cc9\node_modules\dalai\index.js:219:35) at Socket. (C:\Users\adamdanielpalmer\AppData\Local\npm-cache_npx\3c737cbb02d79cc9\node_modules\dalai\index.js:534:20) at Socket.emit (node:events:511:28) at Socket.emitUntyped (C:\Users\adamdanielpalmer\AppData\Local\npm-cache_npx\3c737cbb02d79cc9\node_modules\socket.io\dist\typed-events.js:69:22) at C:\Users\adamdanielpalmer\AppData\Local\npm-cache_npx\3c737cbb02d79cc9\node_modules\socket.io\dist\socket.js:703:39 at process.processTicksAndRejections (node:internal/process/task_queues:77:11)