Downloads · 30 days
8
9% of all-time downloads
sai5979/distilbert-goodreads-genres
distilbert-goodreads-genres is a text classification model from sai5979. 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-base-cased for Goodreads book review genre classification. The model was trained using the Hugging Face Transformers library on the UCSD Goodreads dataset as part of an…
Downloads · 30 days
8
9% of all-time downloads
All-time downloads
93
Public
Parameters
65.8M
789 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors263 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of distilbert-base-cased for Goodreads book review genre classification. The model was trained using the Hugging Face Transformers library on the UCSD Goodreads dataset as part of an MLOps assignment.
The objective of the project was to build a complete MLOps workflow including:
distilbert-base-casedThe model predicts the following genres:
UCSD Goodreads Reviews Dataset
Replace these values with your actual results:
| Metric | Score |
|---|---|
| Accuracy | 0.58437 |
| F1 Score | 0.58258 |
| Eval Loss | 1.17489 |
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="YOUR_USERNAME/distilbert-goodreads-genres"
)
result = classifier("This book was amazing and full of adventure.")
print(result)
This model was created for educational purposes as part of an academic MLOps assignment.