Skip to content

mrtanke/BERT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hands-on-BERT

BERT Mini Notebooks

A compact set of Jupyter notebooks that walk from tokenization → embeddings → attention → residual+norm → pooler → MLM with minimal, runnable examples.

image

Requirements

Reference Environment

  • Python 3.10.18
  • PyTorch 2.8.0
  • ...
pip install -r requirements.txt

Quick Start

Clone the repository and run the notebooks step by step:

jupyter notebook

Credits

Portions of this project are adapted from bilibili_vlogs.
© Original copyright to the respective author(s). All rights reserved unless otherwise stated.

About

The learning and trying code of bert.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published