project-baize/baize-chatbot

Issue Running App After First Shutdown.

Meathelix1 opened this issue · 2 comments

I am now getting an error with app after first shutdown.

I had it all running 10 hours ago.

baize/demo$ python app.py $base_model $lora_model
Traceback (most recent call last):
  File "/app/ai/baize/demo/app.py", line 16, in <module>
    base_model = sys.argv[1]
                 ~~~~~~~~^^^

Can you give complete error messages? It seems that you need to set:

base_model=decapoda-research/llama-7b-hf
lora_model=project-baize/baize-lora-7B

before
python app.py $base_model $lora_model

Ok so this has to be called even after we download the files.

I assumed it was part of the setup and I could just use one line to call which models will be used.

It is now working.