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

Alpaca.7B didn't execute #427

Open
EvanYLLu opened this issue Apr 29, 2023 · 3 comments
Open

Alpaca.7B didn't execute #427

EvanYLLu opened this issue Apr 29, 2023 · 3 comments

Comments

@EvanYLLu
Copy link

Operating System: Mac
CPU: M1

I have problems same to #372 too.
I follow the steps of #373. It fix "TypeError: Cannot read properties of undefined (reading 'split')", but alpaca didn't execute.
The state is stuck on sending the task instruction, then no response.
How to solve this?

> query: {
  seed: -1,
  threads: 4,
  n_predict: 200,
  top_k: 40,
  top_p: 0.9,
  temp: 0.8,
  repeat_last_n: 64,
  repeat_penalty: 1.3,
  debug: false,
  models: [ 'alpaca.7B' ],
  prompt: 'how many an apple?',
  id: 'TS-1682655307819-94181',
  model: 'alpaca.7B'
}
{ Core: 'alpaca', Model: '7B' }
exec: /Users/evanlu/dalai/alpaca/main --seed -1 --threads 4 --n_predict 200 --model models/7B/ggml-model-q4_0.bin --top_k 40 --top_p 0.9 --temp 0.8 --repeat_last_n 64 --repeat_penalty 1.3 -p "how many an apple?" in /Users/evanlu/dalai/alpaca
@tfmertz
Copy link

tfmertz commented May 10, 2023

Same here. I ran the instructions for docker:

docker compose build
docker compose run dalai npx dalai alpaca install 7B
docker compose up

then went to the web server on 127.0.0.1:3000 and tried to enter any prompt and it immediately returned the prompt back to me in the list at the bottom and the button was spinning on cancel indefinitely.

I installed llama docker compose run dalai npx dalai llama install 7B and picked it from the drop down and everything worked great. alpaca 7B just seemed to hang indefinitely (or never start?).

Here's a picture of alpaca vs llama both 7B:
alpaca_v_llama

@junxian428
Copy link

Mine works but outcome cannot image

@junxian428
Copy link

the outcome is not desirable maybe I use Llama 7B model

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants