Swift Core ML implementation of BERT
This repository contains:
- a pretrained Google BERT model fine-tuned for Question answering on the SQuAD dataset.
- Swift implementations of the BERT tokenizer (
WordpieceTokenizer) and SQuAD dataset parsing utilities.
- A demo question answering app.
The pretrained Core ML model was packaged by Apple and is linked from the main ML models page. It was demoed at WWDC 2019 as part of the Core ML 3 launch.
🦄 Demo Time 🔥
Apple demo at WWDC 2019
full video here
BERT Architecture (wwdc slide)
git-lfs to store large model files and it is required to obtain some of the files the app needs to run.
See how to install
git-lfson the installation page