project-baize / baize-chatbot

Let ChatGPT teach your own chatbot in hours with a single GPU!
https://arxiv.org/abs/2304.01196
GNU General Public License v3.0
3.15k stars 275 forks source link

Issue Running App After First Shutdown. #13

Closed Meathelix1 closed 1 year ago

Meathelix1 commented 1 year ago

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]
                 ~~~~~~~~^^^
guoday commented 1 year ago

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

Meathelix1 commented 1 year ago

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.