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 #198 from martinpopel/fix-encs
Browse files Browse the repository at this point in the history
Fix encs
  • Loading branch information
lukaszkaiser committed Aug 1, 2017
2 parents cd222d3 + 8839cf9 commit 69e40fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ t2t-datagen \
--problem=$PROBLEM
# Train
# * If you run out of memory, add --hparams='batch_size=2048' or even 1024.
# * If you run out of memory, add --hparams='batch_size=1024'.
t2t-trainer \
--data_dir=$DATA_DIR \
--problems=$PROBLEM \
Expand Down Expand Up @@ -166,7 +166,7 @@ python -c "from tensor2tensor.models.transformer import Transformer"
with `Modality` objects, which are specified per-feature in the dataset/task
specification.
* Support for multi-GPU machines and synchronous (1 master, many workers) and
asynchrounous (independent workers synchronizing through a parameter server)
asynchronous (independent workers synchronizing through a parameter server)
[distributed training](https://github.com/tensorflow/tensor2tensor/tree/master/docs/distributed_training.md).
* Easily swap amongst datasets and models by command-line flag with the data
generation script `t2t-datagen` and the training script `t2t-trainer`.
Expand Down
2 changes: 1 addition & 1 deletion tensor2tensor/data_generators/wmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ class WMTEnCsTokens32k(WMTProblem):
"""Problem spec for WMT English-Czech translation."""

@property
def target_vocab_size(self):
def targeted_vocab_size(self):
return 2**15 # 32768

@property
Expand Down

0 comments on commit 69e40fb

Please sign in to comment.