Create from `df` in `path` with `valid_pct` '

TextDataLoaders_from_df(
  df,
  path = ".",
  valid_pct = 0.2,
  seed = NULL,
  text_col = 0,
  label_col = 1,
  label_delim = NULL,
  y_block = NULL,
  text_vocab = NULL,
  is_lm = FALSE,
  valid_col = NULL,
  tok_tfm = NULL,
  seq_len = 72,
  backwards = FALSE,
  bs = 64,
  val_bs = NULL,
  shuffle_train = TRUE,
  device = NULL
)

Arguments

df

df

path

path

valid_pct

validation percentage

seed

seed

text_col

text_col

label_col

label_col

label_delim

label_delim

y_block

y_block

text_vocab

text_vocab

is_lm

is_lm

valid_col

valid_col

tok_tfm

tok_tfm

seq_len

seq_len

backwards

backwards

bs

batch size

val_bs

validation batch size, if not specified then val_bs is the same as bs.

shuffle_train

shuffle_train

device

device

Value

text loader