LMLearner_predict {fastai} | R Documentation |
LMLearner_predict
Description
Return 'text' and the 'n_words' that come after
Usage
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
[Package fastai version 2.2.2 Index]