Skip to main content
. 2022 Jul 30;22:200. doi: 10.1186/s12911-022-01946-y

Table 8.

Comparison of BERT finetune with different max sequence lengths

Model Max sequence length Accuracy Precision Recall AUC F1-score
BERT fine-tune 128 0.741 0.738 0.741 0.866 0.736
256 0.71 0.707 0.71 0.843 0.708
328 0.616 0.627 0.616 0.797 0.601
468 0.551 0.557 0.551 0.759 0.546
512 0.760 0.761 0.759 0.868 0.760