dalai
dalai copied to clipboard
File does not exist: 7B. Try "dalai alpaca get 7B" first.
This one is interesting. In my project when Dalai goes to load I get this error (it isn't really an error though... it's some kind of suggestion. that I don't understand...)
File does not exist: 7B. Try "dalai alpaca get 7B" first. I should mention that the install of llama and alpaca was successful. I have the files.
I am doing this for my Dalai constructor:
const Dalai = require('~/dalai'); new Dalai().request({ model: "alpaca.7B", prompt: "The following is a conversation between a boy and a girl:", }, (token) => { process.stdout.write(token) console.log(token) })
Any ideas would be wonderful. Thanks in advance :)
I received this error when I installed to a custom home directory and then did not launch npx dalai serve with that same --home instruction
same
I debugged main.js and found that this works as long as dalai
is in your ~/
directory
new Dalai().request({
model: "llama.7B",
prompt: "The following is a conversation between a boy and a girl:",
}, (token) => {
process.stdout.write(token)
})