TextDataLoaders_from_folder | R Documentation |
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 |
path |
train |
train data |
valid |
validation data |
valid_pct |
validation percentage |
seed |
random seed |
vocab |
vocabulary |
text_vocab |
text_vocab |
is_lm |
is_lm |
tok_tfm |
tok_tfm |
seq_len |
seq_len |
backwards |
backwards |
bs |
batch size |
val_bs |
validation batch size |
shuffle_train |
shuffle train data |
device |
device |
text loader
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.