Type of model for each GLUE task
## ❓ Questions & Help

There are nine GLUE tasks, and I wanted to verify which BERT model type is best suited for each task. Can anyone confirm these matchings? I am not sure what to do for STS-B especially, and am unsure if BertForMultipleChoice is perhaps the correct option for MNLI.

All models on GLUE should use BertForSequenceClassification (MNLI is 3 class, STS-B is 1 class).<|||||>As specified in the documentation, for `XxxForSequenceClassification` models:

```
If ``config.num_labels == 1`` a regression loss is computed (Mean-Square loss),
If ``config.num_labels > 1`` a classification loss is computed (Cross-Entropy).
```

So you can use `BertForSequenceClassification` for a regression task such as STS-B.