Text Classification with LLMs and SLMs
摘要
This chapter explores practical applications and key nuances of text classification using LLMs and SLMs. It compares how models like BERT and RoBERTa (LLMs) and DistilBERT and TinyBERT (SLMs) perform in different classification scenarios, including binary, multi-class, and multi-label tasks.