Tutorial: Text Classification using GPT2 and Pytorch

Publié le: 09 avril 2021
sur la chaîne: AICamp
9,116
140

Text classification is a very common problem that needs solving when dealing with text data. We’ve all seen and know how to use Encoder Transformer models like Bert and RoBerta for text classification but did you know you can use a Decoder Transformer model like GPT2 for text classification?
In this tutorial, I will walk you through on how to use GPT2 from HuggingFace for text classification. We will start with downloading customized dataset, installing required componments, selecting pre-trained models, and then train the model. we will finally evaluate the results and how to optimize further.

Speaker: George Mihaila
Resources:
website: https://www.aicamp.ai/event/eventdeta...
slides: https://gmihaila.github.io/presentati...
colabs: https://colab.research.google.com/git...


Sur cette page du site, vous pouvez voir la vidéo en ligne Tutorial: Text Classification using GPT2 and Pytorch durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur AICamp 09 avril 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 9,116 fois et il a aimé 140 téléspectateurs. Bon visionnage!