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

Commit

Permalink
Fix docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanwharris committed May 4, 2021
1 parent 124c0e6 commit e5b6bdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flash/text/seq2seq/translation/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,14 @@ def from_files(
TranslateData: The constructed data module.
Examples::
datamodule = TranslationData.from_files(
train_file="data/wmt_en_ro/train.csv",
val_file="data/wmt_en_ro/valid.csv",
test_file="data/wmt_en_ro/test.csv",
input="input",
target="target",
batch_size=1
batch_size=1,
)
"""
Expand Down

0 comments on commit e5b6bdd

Please sign in to comment.