-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
56 lines (54 loc) · 1.73 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
50
51
52
53
54
55
from setuptools import setup, find_packages
setup(
name='vocab-coverage',
version='0.9',
packages=find_packages(),
install_requires=[
'Pillow',
'protobuf==3.20.0',
'sentencepiece',
'tiktoken',
'torch',
'transformers',
'beautifulsoup4',
'bs4',
'pandas',
'requests',
'scikit-learn',
'accelerate',
'openai',
'python-dotenv',
'umap-learn',
'einops',
'transformers_stream_generator',
],
extras_require={
'cuml': ['cudf-cu12', 'cuml-cu12'],
'datasets': ['harvesttext', 'matplotlib', 'cmaps']
},
description='语言模型中文识字率分析\nA Python package designed to perform coverage analysis on Chinese vocabulary for language models.',
long_description_content_type="text/markdown",
long_description=open('README.md').read(),
include_package_data=True,
author='Tao Wang',
author_email='[email protected]',
url='https://github.com/twang2218/vocab-coverage',
license='Apache License 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Text Processing :: Linguistic",
],
entry_points={
'console_scripts': [
'vocab-coverage = vocab_coverage:main',
],
},
)