Create a `Learner` with a language model from `dls` and `arch`.
language_model_learner(
dls,
arch,
config = NULL,
drop_mult = 1,
backwards = FALSE,
pretrained = TRUE,
pretrained_fnames = NULL,
opt_func = Adam(),
lr = 0.001,
cbs = NULL,
metrics = NULL,
path = NULL,
model_dir = "models",
wd = NULL,
wd_bn_bias = FALSE,
train_bn = TRUE,
moms = list(0.95, 0.85, 0.95),
...
)
dls
arch
config
drop_mult
backwards
pretrained
pretrained_fnames
opt_func
lr
cbs
metrics
path
model_dir
wd
wd_bn_bias
train_bn
moms
additional arguments
None