Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

LMLearner_predict

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


fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.