When optimizing models by quantization or pruning, the key metrics to watch are model size, inference speed, and accuracy or loss. These optimizations reduce model size and speed up predictions but can lower accuracy. So, we measure how much accuracy changes while improving size and speed.
Accuracy or loss tells us if the model still predicts well after optimization. Model size and speed show if the model is smaller and faster, which helps in real-life use on phones or devices with less power.
