tests/testthat/_snaps/vocab.md

good vocabularies load as expected

Code
  vocab
Output
  [1] "[PAD]" "!"     "i"     "love"  "tacos" "app"   "##les" "[UNK]"
  attr(,"is_cased")
  [1] FALSE
  attr(,"class")
  [1] "wordpiece_vocabulary" "character"


Try the wordpiece package in your browser

Any scripts or data that you put into this service are public.

wordpiece documentation built on March 18, 2022, 5:55 p.m.