Created by: NHZlX
Head number is the config of the bert/ernie model.
In this pr, we delete the useless enforce for head_number which must > 1, for there are cases where the model head number is 1