Skip to content

Commit

Permalink
Remove disable_validation param
Browse files Browse the repository at this point in the history
  • Loading branch information
minimaxir committed Jun 28, 2020
1 parent fc9d738 commit e0848e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion aitextgen/aitextgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,6 @@ def train(
gradient_clip_val=max_grad_norm if not fp16 else 0,
checkpoint_callback=False,
logger=loggers if loggers else False,
disable_validation=True,
weights_summary=None,
callbacks=[
ATGProgressBar(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name="aitextgen",
packages=["aitextgen"], # this must be the same as the name above
version="0.2.0",
version="0.2.1",
description="A robust Python tool for text-based AI training and generation using GPT-2.",
long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
Expand Down

0 comments on commit e0848e1

Please sign in to comment.