-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from deeppavlovteam/dev
Release v0.3.0
- Loading branch information
Showing
112 changed files
with
2,510 additions
and
1,050 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM deeppavlov/base-gpu:0.12.0 | ||
RUN pip install git+https://github.com/deeppavlovteam/[email protected] | ||
|
||
ARG CONFIG | ||
ARG DATA_URL=http://files.deeppavlov.ai/alexaprize_data/cobot_conveval2.tar.gz | ||
|
@@ -19,5 +20,4 @@ RUN pip install -r requirements.txt | |
COPY annotators/ConversationEvaluator/ ./ | ||
COPY common/ common/ | ||
|
||
RUN python -m deeppavlov install $CONFIG | ||
CMD gunicorn --workers=1 --bind 0.0.0.0:8004 --timeout=300 server:app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM deeppavlov/base-gpu:0.17.2 | ||
RUN pip install git+https://github.com/deeppavlovteam/[email protected] | ||
|
||
RUN apt-key del 7fa2af80 && \ | ||
rm -f /etc/apt/sources.list.d/cuda*.list && \ | ||
|
@@ -23,7 +24,6 @@ COPY ./common/ ./common/ | |
COPY annotators/IntentCatcherTransformers/ /src | ||
WORKDIR /src | ||
|
||
RUN python -m deeppavlov install ${CONFIG_NAME} | ||
RUN python -m deeppavlov download ${CONFIG_NAME} | ||
RUN python train_model_if_not_exist.py | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM deeppavlov/base-gpu:1.0.0rc1 | ||
RUN pip install git+https://github.com/deeppavlovteam/[email protected] | ||
|
||
ARG CONFIG | ||
ARG PORT | ||
|
@@ -9,13 +10,12 @@ ENV CONFIG=$CONFIG | |
ENV PORT=$PORT | ||
|
||
COPY ./annotators/NER_deeppavlov/requirements.txt /src/requirements.txt | ||
RUN pip install -r /src/requirements.txt | ||
RUN pip install --upgrade pip && pip install -r /src/requirements.txt | ||
|
||
COPY $SRC_DIR /src | ||
|
||
WORKDIR /src | ||
|
||
RUN python -m deeppavlov install $CONFIG | ||
RUN python -m deeppavlov download $CONFIG | ||
|
||
CMD gunicorn --workers=1 --timeout 500 server:app -b 0.0.0.0:8021 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM deeppavlov/base-gpu:0.12.1 | ||
RUN pip install git+https://github.com/deeppavlovteam/[email protected] | ||
|
||
#RUN rm DeepPavlov | ||
|
||
|
@@ -9,24 +10,19 @@ RUN git clone https://github.com/dimakarp1996/DeepPavlov.git | |
WORKDIR /base/DeepPavlov | ||
RUN git checkout pal-bert+ner | ||
|
||
|
||
ARG CONFIG | ||
|
||
ARG PORT | ||
ENV CONFIG=$CONFIG | ||
ENV PORT=$PORT | ||
|
||
|
||
#RUN pip install -r requirements.txt | ||
WORKDIR /src | ||
RUN mkdir common | ||
|
||
|
||
COPY annotators/combined_classification/ ./ | ||
COPY common/ common/ | ||
RUN ls /tmp | ||
|
||
#RUN python -m deeppavlov install $CONFIG | ||
RUN pip install -r requirements.txt | ||
ARG DATA_URL=http://files.deeppavlov.ai/alexaprize_data/pal_bert_7in1/model.pth.tar | ||
ADD $DATA_URL /tmp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM deeppavlov/base-gpu:0.12.0 | ||
RUN pip install git+https://github.com/deeppavlovteam/[email protected] | ||
|
||
ARG CONFIG | ||
ARG PORT | ||
|
@@ -18,5 +19,4 @@ COPY common/ common/ | |
|
||
RUN sed -i "s|$SED_ARG|g" "$CONFIG" | ||
|
||
RUN python -m deeppavlov install $CONFIG | ||
CMD gunicorn --workers=1 --bind 0.0.0.0:8082 --timeout=300 server:app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
gunicorn==19.9.0 | ||
sentry-sdk[flask]==0.14.1 | ||
flask==1.1.1 | ||
itsdangerous==2.0.1 | ||
requests==2.22.0 | ||
jinja2<=3.0.3 | ||
Werkzeug<=2.0.3 | ||
gunicorn==19.9.0 | ||
sentry-sdk[flask]==0.14.1 | ||
flask==1.1.1 | ||
itsdangerous==2.0.1 | ||
requests==2.22.0 | ||
jinja2<=3.0.3 | ||
Werkzeug<=2.0.3 | ||
git+https://github.com/deeppavlovteam/bert.git@feat/multi_gpu | ||
tensorflow==1.15.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM deeppavlov/base-gpu:0.12.0 | ||
RUN pip install git+https://github.com/deeppavlovteam/[email protected] | ||
|
||
WORKDIR /app | ||
COPY . . | ||
|
||
RUN python -m deeppavlov install emo_bert.json && \ | ||
python -m deeppavlov download emo_bert.json | ||
RUN python -m deeppavlov download emo_bert.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM deeppavlov/base-gpu:0.12.1 | ||
RUN pip install git+https://github.com/deeppavlovteam/[email protected] | ||
|
||
RUN apt-get update && apt-get install git -y | ||
|
||
|
Oops, something went wrong.