Thanks for your explanation.
For those interested in testing BERT models with adjusted dropout settings, the following hidden_dropout_prob addition worked for me.
model = AutoModelForSequenceClassification.from_pretrained(model_name, 
num_labels=2, hidden_dropout_prob=0.2)