Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Fix documentation for TrainSampleHook #274

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions seq2seq/training/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ class TrainSampleHook(TrainingHook):
If set, `every_n_steps` must be None.
every_n_steps: Sample predictions every N steps.
If set, `every_n_secs` must be None.
sample_dir: Optional, a directory to write samples to.
delimiter: Join tokens on this delimiter. Defaults to space.
source_delimiter: Join source tokens on this delimiter. Defaults to space.
target_delimiter: Join target tokens on this delimiter. Defaults to space.
"""

#pylint: disable=missing-docstring
Expand Down