fastBERTtokens: Tokenizing for BERT in parallel

This function simply divides your text into batches, and tokenizes in parallel. Provides significant speed-up.

Download
Download

You are now following this Submission

Cite As

Ralf Elsas (2026). fastBERTtokens: Tokenizing for BERT in parallel (https://se.mathworks.com/matlabcentral/fileexchange/125295-fastberttokens-tokenizing-for-bert-in-parallel), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Transformer Models

General Information

MATLAB Release Compatibility

  • Compatible with R2021a and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0

Download