--- language: en license: apache-2.0 tags: - text-classification - news-classification - bbc - transformers - pytorch datasets: - bbc metrics: - accuracy model_type: bert --- ## 🚀 Demo 👉 https://huggingface.co/spaces/Asphate/nanoclass-bbc-demo # NanoClass-BBC **NanoClass-BBC** is a lightweight text classification model trained on the **BBC News dataset**. It classifies news articles into predefined categories such as politics, business, sport, tech, and entertainment. ## 📊 Dataset - **BBC News Dataset** - Publicly available dataset containing labeled news articles - Used strictly for research and educational purposes ## 🏷️ Labels The model predicts one of the following classes: - Business - Entertainment - Politics - Sport - Tech ## 🚀 Usage ```python from transformers import pipeline classifier = pipeline( "text-classification", model="Asphate/nanoclass-bbc" ) classifier("The stock market saw major gains today after the policy announcement.")