[Code] PyTorch sentiment classifier from scratch with Huggingface NLP Library (Full Tutorial)
Huggingface released its newest library called NLP, which gives you easy access to almost any NLP dataset and metric in one convenient interface. We will combine this with a BERT model from Huggingface's Transformers library to build a sentiment classifier for IMDB.
OUTLINE:
0:00 - Intro
1:30 - Boilerplate
3:20 - PyTorch Lightning Module
9:50 - Load Dataset
12:15 - Tokenization
20:50 - Torch Tensors
25:50 - Data Loader
28:00 - Create BERT Model
32:00 - Implement Validation and Train Step
47:00 - Run & Recap
50:20 - Epilogue
My Code: https://github.com/yk/huggingface-nlp-demo
NLP Library: https://github.com/huggingface/nlp
Tutorial Colab: https://colab.research.google.com/github/huggingface/nlp/blob/master/notebooks/Overview.ipynb
Transformers Library: https://github.com/huggingface/transformers
Pytorch Lightning: https://github.com/PyTorchLightning/pytorch-lightning
Links:
YouTube: https://www.youtube.com/c/yannickilcher
Twitter: https://twitter.com/ykilcher
BitChute: https://www.bitchute.com/channel/yannic-kilcher
Minds: https://www.minds.com/ykilcher
Видео [Code] PyTorch sentiment classifier from scratch with Huggingface NLP Library (Full Tutorial) канала Yannic Kilcher
OUTLINE:
0:00 - Intro
1:30 - Boilerplate
3:20 - PyTorch Lightning Module
9:50 - Load Dataset
12:15 - Tokenization
20:50 - Torch Tensors
25:50 - Data Loader
28:00 - Create BERT Model
32:00 - Implement Validation and Train Step
47:00 - Run & Recap
50:20 - Epilogue
My Code: https://github.com/yk/huggingface-nlp-demo
NLP Library: https://github.com/huggingface/nlp
Tutorial Colab: https://colab.research.google.com/github/huggingface/nlp/blob/master/notebooks/Overview.ipynb
Transformers Library: https://github.com/huggingface/transformers
Pytorch Lightning: https://github.com/PyTorchLightning/pytorch-lightning
Links:
YouTube: https://www.youtube.com/c/yannickilcher
Twitter: https://twitter.com/ykilcher
BitChute: https://www.bitchute.com/channel/yannic-kilcher
Minds: https://www.minds.com/ykilcher
Видео [Code] PyTorch sentiment classifier from scratch with Huggingface NLP Library (Full Tutorial) канала Yannic Kilcher
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Text Preprocessing | Sentiment Analysis with BERT using huggingface, PyTorch and Python TutorialLSTM is dead. Long Live Transformers!Vision Transformer in PyTorchMachine Learning PhD Survival Guide 2021 | Advice on Topic Selection, Papers, Conferences & more!SinGAN: Learning a Generative Model from a Single Natural ImageBuild NLP Pipelines with HuggingFace DatasetsPytorch Transformers from Scratch (Attention is all you need)Automate Your AI/ML Workflows with SageMaker PipelinesHuggingFace Crash Course - Sentiment Analysis, Model Hub, Fine TuningBERT on Steroids: Fine-tuning BERT for a dataset using PyTorch and Google Cloud TPUsBuilding an entity extraction model using BERTYann LeCun - Self-Supervised Learning: The Dark Matter of Intelligence (FAIR Blog Post Explained)Pattern Exploiting Training explained! | PET, iPET, ADAPETTrain Custom Question Answering NLP Model | NLP | Data Science | Deep LearningText Classification | Sentiment Analysis with BERT using huggingface, PyTorch and Python TutorialPyTorch or TensorFlow? | 2021[ML News] AI learns to search the Internet | Drawings come to life | New ML journal launchesFine-Tuning BERT with HuggingFace and PyTorch Lightning for Multilabel Text Classification | Dataset[Code] How to use Facebook's DETR object detection algorithm in Python (Full Tutorial)