Fine-Tuning BERT for Text Classification (w/ Example Code)

From the creator

🀝 Your team not maximizing Claude? I run 1:1 and team AI workshops for companies doing $10M+ per year: https://aibuilder.academy/yt/4QHg8Ix8WWQ In this video, I walk through how to fine-tune BERT (110M parameters) to classify phishing URLs. I first cover key concepts and then share example Python code. Resources: πŸ“° Blog: https://medium.com/towards-data-science/fine-tuning-bert-for-text-classification-a01f89b179fc?sk=1fdd9847fcfa70c772f317d3eeeaec07 πŸŽ₯ Fine-tuning LLMs: https://youtu.be/eC6Hd1hFvos πŸŽ₯ Compressing LLMs: https://youtu.be/FLkUOkeMd5M πŸ’» GitHub Repo: https://github.com/ShawhinT/YouTube-Blog/tree/main/LLMs/model-compression πŸ€— Model: https://huggingface.co/shawhin/bert-phishing-classifier_teacher πŸ’Ώ Dataset: https://huggingface.co/datasets/shawhin/phishing-site-classification References: [1] https://arxiv.org/abs/1810.04805 [2] https://arxiv.org/abs/1511.01432 [3] https://arxiv.org/abs/1801.06146 Intro - 0:00 Fine-tuning - 0:55 BERT - 5:09 Text Classification - 8:39 Example (Motivation) - 9:41 Example Code: Fine-tuning BERT on Phishing URLs - 10:55

Stop watching Β· start building
Matched to Llama

Makers residency 4th edition

Your idea can be anything. At our last workshops, people built plant-based nutrition businesses, a way to measure planetary resilience, crochet headwear and a way to connect lonely people living in the same building. An asset manager went on to raise an additional Β£25M on their fund within nine months. The fourth workshop is a full day at KOKO with Nick Sarafa, learning to build with Claude Code. Bring the thing you keep meaning to start. We’ll bring the pizza.

β—† Fri 13 Nov 2026 β—† KOKO, London
Makers residency 4th edition
Live event
Makers residency 4th edition
Fri 13 Nov 2026
Find a job · 1 live role

Jobs in AI.
Apply now.

Apply once › get screened › meet the company

See all roles

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.