ForSequenceClassification models does pretty much the same. It takes a base model and adds pooler and classfier head on top of it, so you won’t have to do it manually.  You can see how it’s done here 27, its’ pretty easy to follow