Skip to content

Commit afe38c4

Browse files
committed
bump minor version
1 parent 74375a7 commit afe38c4

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

setup.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
from setuptools import setup, find_packages
1+
from setuptools import setup
22

3-
long_description = '''
3+
long_description = """
44
A simple Python package that wraps existing model fine-tuning and generation scripts for OpenAI GPT-2 text generation model (specifically the "small", 124M hyperparameter version). Additionally, this package allows easier generation of text, generating to a file for easy curation, allowing for prefixes to force the text to start with a given phrase.
55
66
## Usage
@@ -41,27 +41,27 @@
4141
You can pass a `run_name` parameter to `finetune` and `load_gpt2` if you want to store/load multiple models in a `checkpoint` folder.
4242
4343
NB: *Restart the Python session first* if you want to finetune on another dataset or load another model.
44-
'''
44+
"""
4545

4646

4747
setup(
48-
name='gpt_2_simple',
49-
packages=['gpt_2_simple'], # this must be the same as the name above
50-
version='0.7.1',
51-
description="Python package to easily retrain OpenAI's GPT-2 " \
48+
name="gpt_2_simple",
49+
packages=["gpt_2_simple"], # this must be the same as the name above
50+
version="0.7.2",
51+
description="Python package to easily retrain OpenAI's GPT-2 "
5252
"text-generating model on new texts.",
5353
long_description=long_description,
54-
long_description_content_type='text/markdown',
55-
author='Max Woolf',
56-
author_email='[email protected]',
57-
url='https://github.com/minimaxir/gpt-2-simple',
58-
keywords=['deep learning', 'tensorflow', 'text generation'],
54+
long_description_content_type="text/markdown",
55+
author="Max Woolf",
56+
author_email="[email protected]",
57+
url="https://github.com/minimaxir/gpt-2-simple",
58+
keywords=["deep learning", "tensorflow", "text generation"],
5959
classifiers=[],
60-
license='MIT',
60+
license="MIT",
6161
entry_points={
62-
'console_scripts': ['gpt_2_simple=gpt_2_simple.gpt_2:cmd'],
62+
"console_scripts": ["gpt_2_simple=gpt_2_simple.gpt_2:cmd"],
6363
},
64-
python_requires='>=3.5',
64+
python_requires=">=3.6",
6565
include_package_data=True,
66-
install_requires=['regex', 'requests', 'tqdm', 'numpy', 'toposort']
66+
install_requires=["regex", "requests", "tqdm", "numpy", "toposort"],
6767
)

0 commit comments

Comments
 (0)