-
Notifications
You must be signed in to change notification settings - Fork 109
/
setup.py
49 lines (46 loc) · 1.36 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
setup(
name='textgen',
version='1.1.1',
description='Text Generation Model',
long_description=readme,
long_description_content_type='text/markdown',
author='XuMing',
author_email='[email protected]',
url='https://github.com/shibing624/textgen',
license="Apache 2.0",
classifiers=[
'Intended Audience :: Developers',
'Operating System :: OS Independent',
"License :: OSI Approved :: Apache Software License",
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Linguistic',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
python_requires=">=3.6",
keywords='textgen,text-generation,Text Generation Tool,ernie-gen,chinese text generation',
install_requires=[
'loguru',
'jieba>=0.39',
'transformers',
'datasets',
'gensim>=4.0.0',
'text2vec',
'tensorboard',
'tqdm',
'pandas',
'wandb>=0.10.32',
'sacremoses',
'Rouge',
'cpm_kernels',
'peft>=0.3.0',
],
packages=find_packages(exclude=['tests']),
package_dir={'textgen': 'textgen'},
package_data={
'textgen': ['*.*', 'data/*'],
}
)