Skip to main content
. 2024 Jan 31;10:e1841. doi: 10.7717/peerj-cs.1841

Table 8. A comparison the accuracy, precision, recall, and F1 of Criminal charge prediction using BERT and XLNET models.

Model Accuracy Precision Recall F1
XLNET 98.16% 98.17% 98.16% 98.16%
BERT 97.53% 97.53% 97.53% 97.53%
Two chunking BERT 98.5% 98.5% 98.5% 98.5%
Three chunking BERT 98.95% 98.95% 98.95% 98.95%