Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def readme():
'flake8',
'pytest',
'pytest-instafail',
'pytest-timeout',
'pexpect'
],
'docs': [
Expand Down
19 changes: 9 additions & 10 deletions tests/test_quick_start.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import json
import logging
import os
import pickle
import shutil
import signal
import socket
Expand Down Expand Up @@ -122,15 +121,15 @@
("classifiers/topics_distilbert_base_uncased.json", "classifiers", ('TI',)): [ONE_ARGUMENT_INFER_CHECK]
},
"distil": {
("classifiers/paraphraser_convers_distilrubert_2L.json", "distil", ('IP')): [TWO_ARGUMENTS_INFER_CHECK],
("classifiers/paraphraser_convers_distilrubert_6L.json", "distil", ('IP')): [TWO_ARGUMENTS_INFER_CHECK],
("classifiers/rusentiment_convers_distilrubert_2L.json", "distil", ('IP')): [ONE_ARGUMENT_INFER_CHECK],
("classifiers/rusentiment_convers_distilrubert_6L.json", "distil", ('IP')): [ONE_ARGUMENT_INFER_CHECK],
("ner/ner_rus_convers_distilrubert_2L.json", "distil", ('IP')): [ONE_ARGUMENT_INFER_CHECK],
("ner/ner_rus_convers_distilrubert_6L.json", "distil", ('IP')): [ONE_ARGUMENT_INFER_CHECK],
("ner/ner_case_agnostic_mdistilbert.json", "distil", ('IP')): [ONE_ARGUMENT_INFER_CHECK],
("squad/squad_ru_convers_distilrubert_2L.json", "distil", ('IP')): [TWO_ARGUMENTS_INFER_CHECK],
("squad/squad_ru_convers_distilrubert_6L.json", "distil", ('IP')): [TWO_ARGUMENTS_INFER_CHECK]
("classifiers/paraphraser_convers_distilrubert_2L.json", "distil", ('IP',)): [TWO_ARGUMENTS_INFER_CHECK],
("classifiers/paraphraser_convers_distilrubert_6L.json", "distil", ('IP',)): [TWO_ARGUMENTS_INFER_CHECK],
("classifiers/rusentiment_convers_distilrubert_2L.json", "distil", ('IP',)): [ONE_ARGUMENT_INFER_CHECK],
("classifiers/rusentiment_convers_distilrubert_6L.json", "distil", ('IP',)): [ONE_ARGUMENT_INFER_CHECK],
("ner/ner_rus_convers_distilrubert_2L.json", "distil", ('IP',)): [ONE_ARGUMENT_INFER_CHECK],
("ner/ner_rus_convers_distilrubert_6L.json", "distil", ('IP',)): [ONE_ARGUMENT_INFER_CHECK],
("ner/ner_case_agnostic_mdistilbert.json", "distil", ('IP',)): [ONE_ARGUMENT_INFER_CHECK],
("squad/squad_ru_convers_distilrubert_2L.json", "distil", ('IP',)): [TWO_ARGUMENTS_INFER_CHECK],
("squad/squad_ru_convers_distilrubert_6L.json", "distil", ('IP',)): [TWO_ARGUMENTS_INFER_CHECK]
},
"russian_super_glue": {
("russian_super_glue/russian_superglue_lidirus_rubert.json", "russian_super_glue", ('IP',)): [TWO_ARGUMENTS_INFER_CHECK],
Expand Down
2 changes: 1 addition & 1 deletion utils/Docker/cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ cd ..

flake8 `python -c 'import deeppavlov; print(deeppavlov.__path__[0])'` --count --select=E9,F63,F7,F82 --show-source --statistics

pytest -v --disable-warnings --instafail $PYTEST_ARGS
pytest -v --disable-warnings --instafail --timeout=1200 $PYTEST_ARGS