Optimizing Performance: How Compact Models Match or Exceed GPT's Classification Capabilities through Fine-Tuning