High-Performance Image Classification with PyTorch and Hugging Face

Fine-tuning a pretrained Vision Transformer on a 6,000-image subset of Fashion-MNIST, with a custom PyTorch training loop and a macro F1 score of 0.9318.

October 23, 2025 · 4 min