sidsite personal blog

Notes on training BERT from scratch on an 8GB consumer GPU

I trained a BERT model (Devlin et al, 2019) from scratch on my desktop PC (which has a Nvidia 3060 Ti 8GB GPU). The model architecture, tokenizer, and trainer all came from Hugging Face libraries, and my contribution was mainly setting up the code, setting up the data (~20GB uncompressed text), and leaving my computer…
Points
171
HN comments
43
Submissions
1
Cited by
0 commenters

AI & Machine LearningSoftware Engineering2023

On Hacker News

SubmittedTitle on HNPointsComments
Jun 1, 2023Notes on training BERT from scratch on an 8GB consumer GPU by montebicyclelo17143

More from sidsite

All 4 posts →

Related posts from the same era