Model Pipeline - BERT for text classification
This pipeline uses BERT, a smart language model, to read sentences and decide their category, like sorting emails into spam or not spam.
This pipeline uses BERT, a smart language model, to read sentences and decide their category, like sorting emails into spam or not spam.
Loss
0.7 |*
0.6 | *
0.5 | *
0.4 | *
0.3 | *
0.2 | *
0.1 |
+--------
1 2 3 4 5 Epochs
| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | 0.65 | 0.60 | Model starts learning, loss high, accuracy low |
| 2 | 0.45 | 0.75 | Loss decreases, accuracy improves |
| 3 | 0.35 | 0.82 | Model learns better features |
| 4 | 0.28 | 0.87 | Loss continues to drop, accuracy rises |
| 5 | 0.22 | 0.90 | Model converges with good accuracy |