Create from imagenet style dataset in `path` with `train` and `valid` subfolders (or provide `valid_pct`)
TextDataLoaders_from_folder(
path,
train = "train",
valid = "valid",
valid_pct = NULL,
seed = NULL,
vocab = NULL,
text_vocab = NULL,
is_lm = FALSE,
tok_tfm = NULL,
seq_len = 72,
backwards = FALSE,
bs = 64,
val_bs = NULL,
shuffle_train = TRUE,
device = NULL
)
path
train data
validation data
validation percentage
random seed
vocabulary
text_vocab
is_lm
tok_tfm
seq_len
backwards
batch size
validation batch size
shuffle train data
device
text loader