show code js

2023年10月21日 星期六

gpt4all-j and use streamlit

 modify on 2023/10/26

git clone https://github.com/ajvikram/streamlit-gpt.git

cd streamlit-gpt 

create model directory and  download https://gpt4all.io/models/ggml-gpt4all-j.bin in this directory

back to streamlit-gpt directory

K^I0CUF]CB55mrgGg<]0^OkdHQz[DL!Wb=.KgwAhqkvt,l_S=9y2=oUx;+NU&a]:rDS#psk5i

run adconda

conda create -n gptj python=='3.11.5'

conda activate -n gptj

K^I0CUF]CB55mrgGg<]0^OkdHQz[DL!Wb=.KgwAhqkvt,l_S=9y2=oUx;+NU&a]:rDS#psk5i

pip install -r requirement.txt

streamlit run main.py --server.port=8080 --server.address=0.0.0.0<-your ip

沒有留言:

張貼留言