Pre-train BERT from scratch, with HuggingFace. Accompanies the blog post: sidsite.com/posts/bert-from-scratch
Jupyter Notebook
45
9 commits
updated May 20, 2025
This accompanies the blog post: sidsite.com/posts/bert-from-scratch
See the pretraining code in pretraining_BERT.ipynb.
It's possible to fine tune a model after pretraining, using the run_finetuning.sh script. Note that the parameters here are roughly based on Cramming, but I used different training parameters for two of the tasks. (TODO: add these.))
38 followers · starred Jun 2023
Pre-train BERT from scratch, with HuggingFace. Accompanies the blog post: sidsite.com/posts/bert-from-scratch
Jupyter Notebook
45
9 commits
updated May 20, 2025
This accompanies the blog post: sidsite.com/posts/bert-from-scratch
See the pretraining code in pretraining_BERT.ipynb.
It's possible to fine tune a model after pretraining, using the run_finetuning.sh script. Note that the parameters here are roughly based on Cramming, but I used different training parameters for two of the tasks. (TODO: add these.))
38 followers · starred Jun 2023