代码拉取完成,页面将自动刷新
from setuptools import setup, find_packages
long_description = '''
Easily train your own text-generating neural network of
any size and complexity on any text dataset with a few lines
of code, or quickly train on a text using a pretrained model.
- A modern neural network architecture which utilizes new techniques as
attention-weighting and skip-embedding to accelerate training
and improve model quality.
- Able to train on and generate text at either the
character-level or word-level.
- Able to configure RNN size, the number of RNN layers,
and whether to use bidirectional RNNs.
- Able to train on any generic input text file, including large files.
- Able to train models on a GPU and then use them with a CPU.
- Able to utilize a powerful CuDNN implementation of RNNs
when trained on the GPU, which massively speeds up training time as
opposed to normal LSTM implementations.
- Able to train the model using contextual labels,
allowing it to learn faster and produce better results in some cases.
- Able to generate text interactively for customized stories.
'''
setup(
name='textgenrnn',
packages=['textgenrnn'], # this must be the same as the name above
version='2.0.0',
description='Easily train your own text-generating neural network ' \
'of any size and complexity',
long_description=long_description,
long_description_content_type='text/markdown',
author='Max Woolf',
author_email='max@minimaxir.com',
url='https://github.com/minimaxir/textgenrnn',
keywords=['deep learning', 'tensorflow', 'keras', 'text generation'],
classifiers=[],
license='MIT',
python_requires='>=3.5',
include_package_data=True,
install_requires=['h5py', 'scikit-learn', 'tqdm', 'tensorflow>=2.1.0']
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。