To cite package ‘wordpiece’ in publications use:

Bratt J, Harmon J (2022). wordpiece: R Implementation of Wordpiece Tokenization. R package version 2.1.3, https://github.com/macmillancontentscience/wordpiece.

Corresponding BibTeX entry:

  @Manual{,
    title = {wordpiece: R Implementation of Wordpiece Tokenization},
    author = {Jonathan Bratt and Jon Harmon},
    year = {2022},
    note = {R package version 2.1.3},
    url = {https://github.com/macmillancontentscience/wordpiece},
  }