Code
recipe(~text, data = tibble(text = "hello")) %>% step_tokenize(text, engine = "tokenizers.bpe",
training_options = list(vocab_size = 2)) %>% prep()
Condition
Error in `step_tokenize()`:
Caused by error in `prep()`:
! `vocabulary_size` of 2 is too small for column `text` which has a unique character count of 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.