Downloads · 30 days
100
50% of all-time downloads
rpudathu/distilbert-dbpedia-14-97acc
distilbert-dbpedia-14-97acc is a text classification model from rpudathu. Use it when you need a label for a piece of text. It is set up for transformers.
This model is a fine-tuned version of DistilBERT for multi-class text classification on the DBpedia 14 dataset. It classifies short text passages into one of 14 ontology-based categories such as Company, Artist, Athle…
Downloads · 30 days
100
50% of all-time downloads
All-time downloads
201
Public
Parameters
67M
268 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of DistilBERT for multi-class text classification on the DBpedia 14 dataset. It classifies short text passages into one of 14 ontology-based categories such as Company, Artist, Athlete, etc. The model achieves high accuracy (~97%) and is optimized for fast inference with reduced computational cost compared to standard BERT.
The model was trained on the DBpedia 14 dataset, which contains Wikipedia-derived structured content categorized into 14 classes.
The model performs strongly across all classes with balanced precision and recall, making it suitable for general-purpose topic classification tasks.
from transformers import pipeline
classifier = pipeline("text-classification", model="rpudathu/distilbert-dbpedia-14-97acc")
result = classifier("Apple is a technology company based in California.")
print(result)