Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #417 from rsepassi/push
Browse files Browse the repository at this point in the history
v1.2.9
  • Loading branch information
lukaszkaiser authored Nov 14, 2017
2 parents 75b75f2 + 729d8dd commit 5233253
Show file tree
Hide file tree
Showing 10 changed files with 105 additions and 439 deletions.
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# How to Contribute

# Issues

* Please tag your issue with `bug`, `feature request`, or `question` to help us
effectively respond.
* Please include the versions of TensorFlow and Tensor2Tensor you are running
(run `pip list | grep tensor`)
* Please provide the command line you ran as well as the log output.

# Pull Requests

We'd love to accept your patches and contributions to this project. There are
just a few small guidelines you need to follow.

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='tensor2tensor',
version='1.2.8',
version='1.2.9',
description='Tensor2Tensor',
author='Google Inc.',
author_email='[email protected]',
Expand Down
9 changes: 4 additions & 5 deletions tensor2tensor/bin/t2t-datagen
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ from tensor2tensor.data_generators import all_problems # pylint: disable=unused
from tensor2tensor.data_generators import audio
from tensor2tensor.data_generators import generator_utils
from tensor2tensor.data_generators import snli
from tensor2tensor.data_generators import translate
from tensor2tensor.data_generators import wsj_parsing
from tensor2tensor.utils import registry
from tensor2tensor.utils import usr_dir
Expand Down Expand Up @@ -82,10 +81,10 @@ _SUPPORTED_PROBLEM_GENERATORS = {
lambda: algorithmic_math.algebra_inverse(26, 0, 2, 100000),
lambda: algorithmic_math.algebra_inverse(26, 3, 3, 10000)),
"parsing_english_ptb8k": (
lambda: translate.parsing_token_generator(
FLAGS.data_dir, FLAGS.tmp_dir, True, 2**13),
lambda: translate.parsing_token_generator(
FLAGS.data_dir, FLAGS.tmp_dir, False, 2**13)),
lambda: wsj_parsing.parsing_token_generator(
FLAGS.data_dir, FLAGS.tmp_dir, True, 2**13, 2**9),
lambda: wsj_parsing.parsing_token_generator(
FLAGS.data_dir, FLAGS.tmp_dir, False, 2**13, 2**9)),
"parsing_english_ptb16k": (
lambda: wsj_parsing.parsing_token_generator(
FLAGS.data_dir, FLAGS.tmp_dir, True, 2**14, 2**9),
Expand Down
2 changes: 0 additions & 2 deletions tensor2tensor/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
from tensor2tensor.models import shake_shake
from tensor2tensor.models import slicenet
from tensor2tensor.models import transformer
from tensor2tensor.models import transformer_adv
from tensor2tensor.models import transformer_alternative
from tensor2tensor.models import transformer_moe
from tensor2tensor.models import transformer_revnet
from tensor2tensor.models import transformer_sketch
Expand Down
2 changes: 2 additions & 0 deletions tensor2tensor/models/shake_shake.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ def model_fn_body(self, features):
@registry.register_hparams
def shakeshake_cifar10():
"""Parameters for CIFAR-10."""
tf.logging.warning("shakeshake_cifar10 hparams have not been verified to "
"achieve good performance.")
hparams = common_hparams.basic_params1()
# This leads to effective batch size 128 when number of GPUs is 1
hparams.batch_size = 4096 * 8
Expand Down
233 changes: 0 additions & 233 deletions tensor2tensor/models/transformer_adv.py

This file was deleted.

Loading

0 comments on commit 5233253

Please sign in to comment.