Hi Ali93H,
I don’t understand what you are trying to do.   Are you wanting to do further fine-tuning (in which case you might want DistilBertForMaskedLM) or to classify your texts for example sentiment analysis (in which case you might want DistilBertForSequenceClassification).
The transformers docs are here Quick tour — transformers 4.3.0 documentation 1 ,Summary of the models — transformers 4.3.0 documentation 1 , DistilBERT — transformers 4.3.0 documentation 1