Skip to content
Snippets Groups Projects
Commit 3393a064 authored by zqwerty's avatar zqwerty
Browse files

update requirements.txt & setup.py, move tests/ to agent_examples/, move deploy to convlab/deploy

parent 8e8eba91
No related branches found
No related tags found
No related merge requests found
Showing
with 86 additions and 227 deletions
File moved
File moved
File moved
absl-py==1.0.0
absl-py==1.1.0
aiohttp==3.8.1
aiosignal==1.2.0
allennlp==2.8.0
argon2-cffi==21.1.0
argon2-cffi-bindings==21.2.0
async-timeout==4.0.1
attrs==21.2.0
autopep8==1.6.0
backcall==0.2.0
backports.csv==1.0.7
base58==2.1.1
beautifulsoup4==4.10.0
bert-score==0.3.11
bleach==4.1.0
blis==0.7.5
boto3==1.20.14
botocore==1.23.14
cached-path==0.3.2
cachetools==4.2.4
catalogue==2.0.6
certifi==2021.10.8
cffi==1.15.0
chardet==4.0.0
charset-normalizer==2.0.8
checklist==0.0.11
cheroot==8.5.2
CherryPy==18.6.1
click==8.0.3
colorama==0.4.4
configparser==5.1.0
cryptography==36.0.0
async-timeout==4.0.2
attrs==21.4.0
blis==0.7.7
cachetools==5.2.0
catalogue==2.0.7
certifi==2022.5.18.1
charset-normalizer==2.0.12
click==8.1.3
cycler==0.11.0
cymem==2.0.6
datasets==1.16.1
debugpy==1.5.1
decorator==5.1.0
datasets==2.3.2
deepspeech==0.9.3
defusedxml==0.7.1
dill==0.3.4
docker-pycreds==0.4.0
dill==0.3.5.1
embeddings==0.0.8
entrypoints==0.3
fairscale==0.4.0
feedparser==6.0.8
filelock==3.3.2
fonttools==4.28.5
frozenlist==1.2.0
fsspec==2021.11.1
future==0.18.2
filelock==3.7.1
fonttools==4.33.3
frozenlist==1.3.0
fsspec==2022.5.0
fuzzywuzzy==0.18.0
gitdb==4.0.9
GitPython==3.1.24
google-api-core==2.2.2
google-auth==2.3.3
google-cloud-core==2.2.1
google-cloud-storage==1.43.0
google-crc32c==1.3.0
google-resumable-media==2.1.0
googleapis-common-protos==1.53.0
gTTS==2.2.3
h5py==3.6.0
huggingface-hub==0.1.2
google-auth==2.8.0
google-auth-oauthlib==0.4.6
grpcio==1.46.3
gTTS==2.2.4
huggingface-hub==0.8.1
idna==3.3
iniconfig==1.1.1
ipykernel==6.5.1
ipython==7.30.0
ipython-genutils==0.2.0
ipywidgets==7.6.5
iso-639==0.4.5
jaraco.classes==3.2.1
jaraco.collections==3.4.0
jaraco.functools==3.4.0
jaraco.text==3.6.0
jedi==0.18.1
importlib-metadata==4.11.4
jieba==0.42.1
Jinja2==3.0.3
jmespath==0.10.0
Jinja2==3.1.2
joblib==1.1.0
json-lines==0.5.0
jsonnet==0.17.0
jsonpatch==1.32
jsonpointer==2.2
jsonschema==4.2.1
jupyter==1.0.0
jupyter-client==7.1.0
jupyter-console==6.4.0
jupyter-core==4.9.1
jupyterlab-pygments==0.1.2
jupyterlab-widgets==1.0.2
kiwisolver==1.3.2
jsonpointer==2.3
kiwisolver==1.4.3
langcodes==3.3.0
lmdb==1.2.1
lxml==4.6.4
MarkupSafe==2.0.1
matplotlib==3.5.1
matplotlib-inline==0.1.3
mistune==0.8.4
more-itertools==8.12.0
multidict==5.2.0
multiprocess==0.70.12.2
munch==2.5.0
murmurhash==1.0.6
nbclient==0.5.9
nbconvert==6.3.0
nbformat==5.1.3
nest-asyncio==1.5.1
nltk==3.6.5
notebook==6.4.6
numpy==1.21.4
overrides==3.1.0
Markdown==3.3.7
MarkupSafe==2.1.1
matplotlib==3.5.2
multidict==6.0.2
multiprocess==0.70.13
murmurhash==1.0.7
nltk==3.7
numpy==1.22.4
oauthlib==3.2.0
packaging==21.3
pandas==1.3.4
pandocfilters==1.5.0
parso==0.8.2
pathtools==0.1.2
pandas==1.4.2
pathy==0.6.1
patternfork-nosql==3.6
pdfminer.six==20211012
pexpect==4.8.0
pickleshare==0.7.5
Pillow==8.4.0
pipdeptree==2.2.0
pluggy==1.0.0
portalocker==2.3.2
portend==3.1.0
Pillow==9.1.1
preshed==3.0.6
prometheus-client==0.12.0
promise==2.3
prompt-toolkit==3.0.23
protobuf==3.19.1
psutil==5.8.0
ptyprocess==0.7.0
py==1.11.0
pyarrow==6.0.1
protobuf==3.19.4
pyarrow==8.0.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.8.0
pycparser==2.21
pydantic==1.8.2
pydub==0.25.1
Pygments==2.10.0
pyparsing==3.0.6
pyrsistent==0.18.0
pytest==6.2.5
pyparsing==3.0.9
python-dateutil==2.8.2
python-docx==0.8.11
python-Levenshtein==0.12.2
pytokenizations==0.8.4
pytz==2021.3
pytz==2022.1
PyYAML==6.0
pyzmq==22.3.0
qtconsole==5.2.1
QtPy==1.11.2
quadprog==0.1.10
regex==2021.11.10
requests==2.26.0
rouge-score==0.0.4
pyzmq==23.2.0
quadprog==0.1.11
regex==2022.6.2
requests==2.28.0
requests-oauthlib==1.3.1
responses==0.18.0
rsa==4.8
s3transfer==0.5.0
sacrebleu==2.0.0
sacremoses==0.0.46
scikit-learn==1.0.1
scipy==1.7.3
Send2Trash==1.8.0
sentencepiece==0.1.96
sentry-sdk==1.5.0
scikit-learn==1.1.1
scipy==1.8.1
seqeval==1.2.2
sgmllib3k==1.0.0
shortuuid==1.0.8
simplejson==3.17.6
six==1.16.0
smart-open==5.2.1
smmap==5.0.0
soupsieve==2.3.1
spacy==3.1.4
spacy-legacy==3.0.8
spacy-loggers==1.0.1
sqlitedict==1.7.0
srsly==2.4.2
subprocess32==3.5.4
tabulate==0.8.9
tempora==4.1.2
tensorboardX==2.4.1
termcolor==1.1.0
terminado==0.12.1
testpath==0.5.0
thinc==8.0.13
threadpoolctl==3.0.0
tokenizers==0.10.3
toml==0.10.2
torch==1.8.1+cu101
spacy==3.3.1
spacy-legacy==3.0.9
spacy-loggers==1.0.2
srsly==2.4.3
tabulate==0.8.10
tensorboard==2.9.1
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
thinc==8.0.17
threadpoolctl==3.1.0
tokenizers==0.12.1
torch==1.11.0
torchfile==0.1.0
torchvision==0.9.1+cu101
tornado==6.1
tqdm==4.62.3
traitlets==5.1.1
transformers==4.12.5
typer==0.4.0
typing_extensions==4.0.0
Unidecode==1.3.2
urllib3==1.26.7
tqdm==4.64.0
transformers==4.20.1
typer==0.4.1
typing_extensions==4.2.0
Unidecode==1.3.4
urllib3==1.26.9
visdom==0.1.8.9
wandb==0.12.7
wasabi==0.8.2
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.2.1
widgetsnbextension==3.5.2
xxhash==2.0.2
wasabi==0.9.1
websocket-client==1.3.3
Werkzeug==2.1.2
xxhash==3.0.0
yarl==1.7.2
yaspin==2.1.0
zc.lockfile==2.0
zipp==3.8.0
setup.cfg 100755 → 100644
File mode changed from 100755 to 100644
'''
setup.py for ConvLab-3
'''
import sys
import os
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class LibTest(TestCommand):
def run_tests(self):
# import here, cause outside the eggs aren't loaded
ret = os.system("pytest --cov=ConvLab-3 tests/ --cov-report term-missing")
sys.exit(ret >> 8)
setup(
name='ConvLab',
name='convlab',
version='3.0.0',
packages=find_packages(exclude=[]),
packages=find_packages(),
license='Apache',
description='An Open-source Dialog System Toolkits',
description='An Open-source Dialog System Platform',
long_description=open('README.md', encoding='UTF-8').read(),
long_description_content_type="text/markdown",
classifiers=[
......@@ -31,6 +19,7 @@ setup(
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
install_requires=[
......@@ -38,7 +27,7 @@ setup(
'tabulate',
'python-Levenshtein',
'requests',
'numpy',
'numpy>=1.22',
'nltk',
'scipy',
'tensorboard',
......@@ -72,12 +61,12 @@ setup(
"lxml",
]
},
cmdclass={'test': LibTest},
cmdclass={},
entry_points={},
include_package_data=True,
url='https://github.com/ConvLab/ConvLab-3',
author='thu-coai',
author_email='thu-coai-developer@googlegroups.com',
author='convlab',
author_email='convlab@googlegroups.com',
python_requires='>=3.6',
zip_safe=False
)
tests/results/BERTNLU-RuleDST-GDPLPolicy-TemplateNLG/Frequency_of_domain.png

211 KiB

complete number of dialogs/tot: 0.579
success number of dialogs/tot: 0.495
average precision: 0.6698519692353618
average recall: 0.7639243270863209
average f1: 0.6823902525712193
average book rate: 0.3348931623931624
average turn (succ): 11.478787878787879
average turn (all): 24.328
tests/results/BERTNLU-RuleDST-HDSA/Frequency_of_domain.png

211 KiB

tests/results/BERTNLU-RuleDST-HDSA/Performance_for_each_domain.png

177 KiB

tests/results/BERTNLU-RuleDST-HDSA/Proportions_of_the_dialogue_loop.png

224 KiB

This diff is collapsed.
complete number of dialogs/tot: 0.356
success number of dialogs/tot: 0.275
average precision: 0.4777462168038492
average recall: 0.5723429593367289
average f1: 0.4877892521286327
average book rate: 0.05416666666666667
average turn (succ): 12.996363636363636
average turn (all): 31.536
tests/results/BERTNLU-RuleDST-LaRL/Frequency_of_domain.png

212 KiB

tests/results/BERTNLU-RuleDST-LaRL/Performance_for_each_domain.png

177 KiB

tests/results/BERTNLU-RuleDST-LaRL/Proportions_of_the_dialogue_loop.png

227 KiB

This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment