| language_model_learner | R Documentation | 
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 | dls | 
| arch | arch | 
| config | config | 
| drop_mult | drop_mult | 
| backwards | backwards | 
| pretrained | pretrained | 
| pretrained_fnames | pretrained_fnames | 
| opt_func | opt_func | 
| lr | lr | 
| cbs | cbs | 
| metrics | metrics | 
| path | path | 
| model_dir | model_dir | 
| wd | wd | 
| wd_bn_bias | wd_bn_bias | 
| train_bn | train_bn | 
| moms | moms | 
| ... | additional arguments | 
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.