An Efficient Method of Supervised Contrastive Learning for Natural Language Understanding