Research Article
Pharmacovigilance with Transformers: A Framework to Detect Adverse Drug Reactions Using BERT Fine-Tuned with FARM
Table 3
Comparison of training time of BERT and FARM-BERT for each epoch on Twitter and PubMed datasets.
| Epochs | Training time of the models | PubMed dataset | Twitter dataset | BERT | FARM-BERT | BERT | FARM-BERT |
| Epoch 1 | 604.01 | 360.37 | 192.21 | 152.44 | Epoch 2 | 596.36 | 420.06 | 193.04 | 151.31 | Epoch 3 | 589.01 | 399.42 | 187.22 | 156.51 | Epoch 4 | 579.32 | 393.21 | 192.11 | 149.22 | Epoch 5 | 574.50 | 391.40 | 192.38 | 153.49 |
|
|