LMLearner_predict: LMLearner_predict

Description Usage Arguments Value

View source: R/text_learner.R

Description

Return 'text' and the 'n_words' that come after

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
LMLearner_predict(
  text,
  n_words = 1,
  no_unk = TRUE,
  temperature = 1,
  min_p = NULL,
  no_bar = FALSE,
  decoder = decode_spec_tokens(),
  only_last_word = FALSE
)

Arguments

text

text

n_words

n_words

no_unk

no_unk

temperature

temperature

min_p

min_p

no_bar

no_bar

decoder

decoder

only_last_word

only_last_word

Value

None


fastai documentation built on July 28, 2021, 5:06 p.m.