Model Pipeline - Fine-tuning approach
Fine-tuning is a way to teach a model by starting with a model already trained on a big dataset. We then adjust it a little bit with our own smaller dataset to make it work better for our specific task.
Fine-tuning is a way to teach a model by starting with a model already trained on a big dataset. We then adjust it a little bit with our own smaller dataset to make it work better for our specific task.
Loss 1.2 |************ 0.9 |********* 0.7 |******* 0.6 |****** 0.55|***** 0.52|**** 0.48|**** 0.45|*** 0.43|** 0.42|*
| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | 1.2 | 0.55 | Initial training of last layers, loss high, accuracy moderate |
| 2 | 0.9 | 0.68 | Loss decreases, accuracy improves as model learns |
| 3 | 0.7 | 0.75 | Continued improvement, model starts to generalize |
| 4 | 0.6 | 0.80 | Loss decreases steadily, accuracy rises |
| 5 | 0.55 | 0.83 | Last layers trained well, ready to unfreeze base layers |
| 6 | 0.52 | 0.85 | Unfreeze some base layers, start fine-tuning with low learning rate |
| 7 | 0.48 | 0.87 | Fine-tuning improves feature extraction, accuracy rises |
| 8 | 0.45 | 0.89 | Model converges with better accuracy and lower loss |
| 9 | 0.43 | 0.90 | Stable training, no overfitting observed |
| 10 | 0.42 | 0.91 | Final fine-tuned model ready for prediction |