Create from `csv` file in `path/csv_fname`

TextDataLoaders_from_csv(
  path,
  csv_fname = "labels.csv",
  header = "infer",
  delimiter = NULL,
  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

path

path

csv_fname

csv file name

header

header

delimiter

delimiter

valid_pct

valid_ation percentage

seed

random seed

text_col

text column

label_col

label column

label_delim

label separator

y_block

y_block

text_vocab

text vocabulary

is_lm

is_lm

valid_col

valid column

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

Value

text loader