|
|
|
|
|
|
|
|
|
|
|
version: '3' |
|
services: |
|
gpt_academic_nolocalllms: |
|
image: ghcr.io/binary-husky/gpt_academic_nolocal:master |
|
environment: |
|
|
|
API_KEY: ' sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ' |
|
USE_PROXY: ' True ' |
|
proxies: ' { "http": "socks5h://localhost:10880", "https": "socks5h://localhost:10880", } ' |
|
LLM_MODEL: ' gpt-3.5-turbo ' |
|
AVAIL_LLM_MODELS: ' ["gpt-3.5-turbo", "api2d-gpt-3.5-turbo", "gpt-4", "api2d-gpt-4", "newbing"] ' |
|
WEB_PORT: ' 22303 ' |
|
ADD_WAIFU: ' True ' |
|
|
|
|
|
|
|
|
|
network_mode: "host" |
|
|
|
|
|
command: > |
|
bash -c "python3 -u main.py" |
|
|
|
|
|
|
|
|
|
|
|
version: '3' |
|
services: |
|
gpt_academic_with_chatglm: |
|
image: ghcr.io/binary-husky/gpt_academic_chatglm_moss:master |
|
environment: |
|
|
|
API_KEY: ' sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,fkxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ' |
|
USE_PROXY: ' True ' |
|
proxies: ' { "http": "socks5h://localhost:10880", "https": "socks5h://localhost:10880", } ' |
|
LLM_MODEL: ' gpt-3.5-turbo ' |
|
AVAIL_LLM_MODELS: ' ["chatglm", "moss", "gpt-3.5-turbo", "gpt-4", "newbing"] ' |
|
LOCAL_MODEL_DEVICE: ' cuda ' |
|
DEFAULT_WORKER_NUM: ' 10 ' |
|
WEB_PORT: ' 12303 ' |
|
ADD_WAIFU: ' True ' |
|
|
|
|
|
|
|
runtime: nvidia |
|
devices: |
|
- /dev/nvidia0:/dev/nvidia0 |
|
|
|
|
|
network_mode: "host" |
|
command: > |
|
bash -c "python3 -u main.py" |
|
|
|
|
|
|
|
|
|
version: '3' |
|
services: |
|
gpt_academic_with_rwkv: |
|
image: fuqingxu/gpt_academic:jittorllms |
|
environment: |
|
|
|
API_KEY: ' sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,fkxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ' |
|
USE_PROXY: ' True ' |
|
proxies: ' { "http": "socks5h://localhost:10880", "https": "socks5h://localhost:10880", } ' |
|
LLM_MODEL: ' gpt-3.5-turbo ' |
|
AVAIL_LLM_MODELS: ' ["gpt-3.5-turbo", "newbing", "jittorllms_rwkv", "jittorllms_pangualpha", "jittorllms_llama"] ' |
|
LOCAL_MODEL_DEVICE: ' cuda ' |
|
DEFAULT_WORKER_NUM: ' 10 ' |
|
WEB_PORT: ' 12305 ' |
|
ADD_WAIFU: ' True ' |
|
|
|
|
|
|
|
runtime: nvidia |
|
devices: |
|
- /dev/nvidia0:/dev/nvidia0 |
|
|
|
|
|
network_mode: "host" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
command: > |
|
bash -c " echo '[gpt-academic] 正在从github拉取最新代码...' && |
|
git pull && |
|
echo '[jittorllms] 正在从github拉取最新代码...' && |
|
git --git-dir=request_llm/jittorllms/.git --work-tree=request_llm/jittorllms pull --force && |
|
python3 -u main.py" |
|
|