2019-01-23 19:47:08 +00:00
|
|
|
# Copyright 2019 The Board of Trustees of the Leland Stanford Junior University
|
|
|
|
#
|
|
|
|
# Author: Giovanni Campagna <gcampagn@cs.stanford.edu>
|
|
|
|
#
|
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modification, are permitted provided that the following conditions are met:
|
|
|
|
#
|
|
|
|
# * Redistributions of source code must retain the above copyright notice, this
|
|
|
|
# list of conditions and the following disclaimer.
|
|
|
|
#
|
|
|
|
# * Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
# this list of conditions and the following disclaimer in the documentation
|
|
|
|
# and/or other materials provided with the distribution.
|
|
|
|
#
|
|
|
|
# * Neither the name of the copyright holder nor the names of its
|
|
|
|
# contributors may be used to endorse or promote products derived from
|
|
|
|
# this software without specific prior written permission.
|
|
|
|
#
|
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
|
|
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
|
|
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
|
|
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
|
|
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
|
|
|
import setuptools
|
|
|
|
|
|
|
|
with open("README.md", "r") as fh:
|
|
|
|
long_description = fh.read()
|
|
|
|
|
|
|
|
setuptools.setup(
|
2020-01-29 01:44:55 +00:00
|
|
|
name='genienlp',
|
2021-10-27 17:14:33 +00:00
|
|
|
version='0.7.0a3',
|
2019-01-23 19:47:08 +00:00
|
|
|
packages=setuptools.find_packages(exclude=['tests']),
|
2021-09-08 17:23:47 +00:00
|
|
|
package_data={'genienlp': ['ned/database_files/*']},
|
2021-03-15 22:51:05 +00:00
|
|
|
entry_points={
|
2020-01-29 01:44:55 +00:00
|
|
|
'console_scripts': ['genienlp=genienlp.__main__:main'],
|
2021-05-24 21:54:36 +00:00
|
|
|
},
|
2019-01-23 19:47:08 +00:00
|
|
|
license='BSD-3-Clause',
|
2020-01-29 02:03:13 +00:00
|
|
|
author="Salesforce Inc., Stanford University Open Virtual Assistant Lab",
|
2019-01-23 19:47:08 +00:00
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type="text/markdown",
|
2020-01-29 02:03:13 +00:00
|
|
|
url="https://github.com/stanford-oval/genienlp",
|
2019-04-17 18:40:40 +00:00
|
|
|
install_requires=[
|
2020-06-22 20:53:31 +00:00
|
|
|
'numpy>=1.14.5',
|
2022-07-05 16:28:09 +00:00
|
|
|
'torch>=1.9.0,<1.13.0',
|
2022-08-30 03:35:04 +00:00
|
|
|
'transformers==4.21.2',
|
2022-08-01 22:46:14 +00:00
|
|
|
'datasets==2.4.0',
|
2022-03-07 19:32:21 +00:00
|
|
|
'pathos==0.2.8',
|
2022-06-27 17:42:35 +00:00
|
|
|
'protobuf==3.20.1',
|
2022-03-07 19:32:21 +00:00
|
|
|
# for sts:
|
2022-06-27 19:05:52 +00:00
|
|
|
'sentence-transformers==2.2.2',
|
2022-03-07 19:32:21 +00:00
|
|
|
# for alignment:
|
|
|
|
'num2words>=0.5.10',
|
|
|
|
'dateparser>=1.0.0',
|
|
|
|
# for metrics:
|
2022-03-03 01:30:12 +00:00
|
|
|
'rouge_score>=0.0.4',
|
2021-08-23 16:55:03 +00:00
|
|
|
'sacrebleu>=1,<3',
|
2021-06-12 00:04:00 +00:00
|
|
|
'bert-score~=0.3',
|
2021-03-12 22:07:19 +00:00
|
|
|
'seqeval==1.2.2',
|
2021-09-06 20:33:08 +00:00
|
|
|
# for kf:
|
2021-01-15 02:13:53 +00:00
|
|
|
'kfserving>=0.5.0',
|
2021-10-12 01:01:51 +00:00
|
|
|
'ray==1.6.0',
|
2021-09-06 20:33:08 +00:00
|
|
|
# for NED:
|
2021-09-07 00:14:08 +00:00
|
|
|
'bootleg==1.0.5',
|
2021-01-05 07:07:06 +00:00
|
|
|
# for calibration:
|
2021-09-27 17:21:14 +00:00
|
|
|
'scikit-learn>=0.23,<2.0',
|
2021-01-05 07:07:06 +00:00
|
|
|
'dill~=0.3',
|
2021-05-24 21:54:36 +00:00
|
|
|
'xgboost~=1.3',
|
2022-03-07 19:32:21 +00:00
|
|
|
# for e2e dialogues:
|
2022-07-15 23:45:04 +00:00
|
|
|
'dialogues @ git+https://github.com/stanford-oval/dialogues@6695f29557f347238ef01b9a64127b7d4e4345cc',
|
2021-05-24 21:54:36 +00:00
|
|
|
],
|
2021-01-15 02:13:53 +00:00
|
|
|
)
|