Text Analytics Toolbox Model for BERT-Base Network
Pretrained BERT-Base Network for MATLAB
367 Downloads
Updated
25 Nov 2025
BERT-Base is a pretrained language model based on Deep Learning Transformer architecture that can be used for a wide variety of Natural Language Processing (NLP) tasks. This model has 12 self-attention layers and a hidden size of 768.
To load a BERT-Base model, run the following code:
[net, tokenizer] = bert(Model="base");
MATLAB Release Compatibility
Created with
R2023b
Compatible with R2023b to R2026a
Platform Compatibility
Windows macOS (Apple Silicon) macOS (Intel) LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
