v1.0
Browse files- Dockerfile +3 -3
- Dockerfile-13b +2 -2
- Dockerfile-7b +3 -3
- pretrained_minigpt4.pth → pretrained_minigpt4_7b.pth +2 -2
- requriments.txt +0 -49
Dockerfile
CHANGED
@@ -5,13 +5,13 @@ WORKDIR /usr/local/src
|
|
5 |
ENV dir=/usr/local/src/MiniGPT-4
|
6 |
ENV llama_version=llama-7b-hf
|
7 |
ENV vicuna_diff=vicuna-7b-delta-v1.1
|
8 |
-
COPY requriments.txt
|
9 |
|
10 |
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && pip3 install --upgrade pip
|
11 |
RUN pip install torch==1.12.1 torchaudio==0.12.1 torchvision==0.13.1
|
12 |
-
RUN pip install -r requriments.txt \
|
13 |
&& git clone https://github.com/Vision-CAIR/MiniGPT-4.git \
|
14 |
-
&& sed -i -e '11c\ \ ckpt: "/usr/local/src/MiniGPT-4/
|
15 |
&& cd MiniGPT-4 \
|
16 |
&& git lfs install \
|
17 |
&& git clone https://huggingface.co/lmsys/${vicuna_diff} \
|
|
|
5 |
ENV dir=/usr/local/src/MiniGPT-4
|
6 |
ENV llama_version=llama-7b-hf
|
7 |
ENV vicuna_diff=vicuna-7b-delta-v1.1
|
8 |
+
COPY requriments-7b.txt pretrained_minigpt4_7b.pth .
|
9 |
|
10 |
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && pip3 install --upgrade pip
|
11 |
RUN pip install torch==1.12.1 torchaudio==0.12.1 torchvision==0.13.1
|
12 |
+
RUN pip install -r requriments-7b.txt \
|
13 |
&& git clone https://github.com/Vision-CAIR/MiniGPT-4.git \
|
14 |
+
&& sed -i -e '11c\ \ ckpt: "/usr/local/src/MiniGPT-4/pretrained_minigpt4_7b.pth"' ${dir}/eval_configs/minigpt4_eval.yaml \
|
15 |
&& cd MiniGPT-4 \
|
16 |
&& git lfs install \
|
17 |
&& git clone https://huggingface.co/lmsys/${vicuna_diff} \
|
Dockerfile-13b
CHANGED
@@ -5,13 +5,13 @@ WORKDIR /usr/local/src
|
|
5 |
ENV dir=/usr/local/src/MiniGPT-4
|
6 |
ENV llama_version=llama-13b-hf
|
7 |
ENV vicuna_diff=vicuna-13b-delta-v0
|
8 |
-
COPY requriments-13b.txt
|
9 |
|
10 |
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && pip3 install --upgrade pip
|
11 |
RUN pip install torch==1.12.1 torchaudio==0.12.1 torchvision==0.13.1
|
12 |
RUN pip install -r requriments-13b.txt \
|
13 |
&& git clone https://github.com/Vision-CAIR/MiniGPT-4.git \
|
14 |
-
&& sed -i -e '11c\ \ ckpt: "/usr/local/src/MiniGPT-4/
|
15 |
&& cd MiniGPT-4 \
|
16 |
&& git lfs install \
|
17 |
&& git clone https://huggingface.co/lmsys/${vicuna_diff} \
|
|
|
5 |
ENV dir=/usr/local/src/MiniGPT-4
|
6 |
ENV llama_version=llama-13b-hf
|
7 |
ENV vicuna_diff=vicuna-13b-delta-v0
|
8 |
+
COPY requriments-13b.txt pretrained_minigpt4_13b.pth .
|
9 |
|
10 |
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && pip3 install --upgrade pip
|
11 |
RUN pip install torch==1.12.1 torchaudio==0.12.1 torchvision==0.13.1
|
12 |
RUN pip install -r requriments-13b.txt \
|
13 |
&& git clone https://github.com/Vision-CAIR/MiniGPT-4.git \
|
14 |
+
&& sed -i -e '11c\ \ ckpt: "/usr/local/src/MiniGPT-4/pretrained_minigpt4_13b.pth"' ${dir}/eval_configs/minigpt4_eval.yaml \
|
15 |
&& cd MiniGPT-4 \
|
16 |
&& git lfs install \
|
17 |
&& git clone https://huggingface.co/lmsys/${vicuna_diff} \
|
Dockerfile-7b
CHANGED
@@ -5,13 +5,13 @@ WORKDIR /usr/local/src
|
|
5 |
ENV dir=/usr/local/src/MiniGPT-4
|
6 |
ENV llama_version=llama-7b-hf
|
7 |
ENV vicuna_diff=vicuna-7b-delta-v1.1
|
8 |
-
COPY requriments.txt
|
9 |
|
10 |
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && pip3 install --upgrade pip
|
11 |
RUN pip install torch==1.12.1 torchaudio==0.12.1 torchvision==0.13.1
|
12 |
-
RUN pip install -r requriments.txt \
|
13 |
&& git clone https://github.com/Vision-CAIR/MiniGPT-4.git \
|
14 |
-
&& sed -i -e '11c\ \ ckpt: "/usr/local/src/MiniGPT-4/
|
15 |
&& cd MiniGPT-4 \
|
16 |
&& git lfs install \
|
17 |
&& git clone https://huggingface.co/lmsys/${vicuna_diff} \
|
|
|
5 |
ENV dir=/usr/local/src/MiniGPT-4
|
6 |
ENV llama_version=llama-7b-hf
|
7 |
ENV vicuna_diff=vicuna-7b-delta-v1.1
|
8 |
+
COPY requriments-7b.txt pretrained_minigpt4_7b.pth .
|
9 |
|
10 |
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && pip3 install --upgrade pip
|
11 |
RUN pip install torch==1.12.1 torchaudio==0.12.1 torchvision==0.13.1
|
12 |
+
RUN pip install -r requriments-7b.txt \
|
13 |
&& git clone https://github.com/Vision-CAIR/MiniGPT-4.git \
|
14 |
+
&& sed -i -e '11c\ \ ckpt: "/usr/local/src/MiniGPT-4/pretrained_minigpt4_7b.pth"' ${dir}/eval_configs/minigpt4_eval.yaml \
|
15 |
&& cd MiniGPT-4 \
|
16 |
&& git lfs install \
|
17 |
&& git clone https://huggingface.co/lmsys/${vicuna_diff} \
|
pretrained_minigpt4.pth → pretrained_minigpt4_7b.pth
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:017a9ed588a11ed383711003cf50cf675191420a04689f682fb56fa9bbb8dcbb
|
3 |
+
size 37907201
|
requriments.txt
DELETED
@@ -1,49 +0,0 @@
|
|
1 |
-
accelerate==0.16.0
|
2 |
-
aiohttp==3.8.4
|
3 |
-
aiosignal==1.3.1
|
4 |
-
async-timeout==4.0.2
|
5 |
-
attrs==22.2.0
|
6 |
-
bitsandbytes==0.37.0
|
7 |
-
cchardet==2.1.7
|
8 |
-
chardet==5.1.0
|
9 |
-
contourpy==1.0.7
|
10 |
-
cycler==0.11.0
|
11 |
-
filelock==3.9.0
|
12 |
-
fonttools==4.38.0
|
13 |
-
frozenlist==1.3.3
|
14 |
-
huggingface-hub==0.13.4
|
15 |
-
importlib-resources==5.12.0
|
16 |
-
kiwisolver==1.4.4
|
17 |
-
matplotlib==3.7.0
|
18 |
-
multidict==6.0.4
|
19 |
-
openai==0.27.0
|
20 |
-
packaging==23.0
|
21 |
-
psutil==5.9.4
|
22 |
-
pycocotools==2.0.6
|
23 |
-
pyparsing==3.0.9
|
24 |
-
python-dateutil==2.8.2
|
25 |
-
pyyaml==6.0
|
26 |
-
regex==2022.10.31
|
27 |
-
tokenizers==0.13.3
|
28 |
-
tqdm==4.64.1
|
29 |
-
transformers==4.28.0
|
30 |
-
timm==0.6.13
|
31 |
-
spacy==3.5.1
|
32 |
-
webdataset==0.2.48
|
33 |
-
scikit-learn==1.2.2
|
34 |
-
scipy==1.10.1
|
35 |
-
yarl==1.8.2
|
36 |
-
zipp==3.14.0
|
37 |
-
omegaconf==2.3.0
|
38 |
-
opencv-python==4.7.0.72
|
39 |
-
iopath==0.1.10
|
40 |
-
decord==0.6.0
|
41 |
-
tenacity==8.2.2
|
42 |
-
peft
|
43 |
-
pycocoevalcap
|
44 |
-
sentence-transformers
|
45 |
-
umap-learn
|
46 |
-
notebook
|
47 |
-
gradio==3.24.1
|
48 |
-
gradio-client==0.0.8
|
49 |
-
wandb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|