dalai icon indicating copy to clipboard operation
dalai copied to clipboard

How to use Dalai on Alpaca, can't seem to change it from using Llama?

Open candymint23 opened this issue 1 year ago • 5 comments

How to use Dalai on Alpaca, can't seem to change it from using Llama?

candymint23 avatar Mar 18 '23 09:03 candymint23

How to use Dalai on Alpaca, can't seem to change it from using Llama?

npx dalai alpaca install 7B

whitepapercg avatar Mar 18 '23 09:03 whitepapercg

npx dalai alpaca install 7B

This actually does nothing for me . Whether I have alpaca.cpp on my user folder or not. For example, I already have Llama.cpp and Alpaca.cpp, but I would like to change to alpaca.cpp what should I do?

candymint23 avatar Mar 18 '23 11:03 candymint23

Same problem here on my macbook m1 pro. Entering: npx dalai alpaca install 7B Absolutely nothing happens.

Also the doc seems wrong. You say "Just run this: npx dalai llama install 7B 13B" But then it shows following error, because the example is exactly what I entered:

`##########################################################

ERROR

The arguments must be one or more of the following:

7B, 13B, 30B, 65B

########################################################## [Example]

install just 7B (default)

npx dalai install

install 7B manually

npx dalai install 7B

install 7B and 13B

npx dalai install 7B 13B`

lustfeind avatar Mar 19 '23 13:03 lustfeind

Looking at the code i suspect it's an issue of the 0.1.0 release not actually having that feature. I'm unfamiliar with npx, but i'm thinking npx is just running the 0.1.0 version? The main branch seems to correctly have the alpaca command, so if you tell npx to run from your local it may work.

Though main seemed to have other sets of issues for me when i was trying to run it in Docker. So i stopped there, as i wasn't confident how stable the main branch was.

leeola avatar Mar 19 '23 14:03 leeola

for me, clearing the npx cache and trying again did the trick

rm -rf ~/.npm/_npx

tgcandido avatar Mar 19 '23 22:03 tgcandido