kamalchaurasia-iitj/goodreads-reviews-genres
017
Goodreads Book-Genre Classifier
Fine-tuned `roberta-base` for 8-class book-genre classification on the UCSD Goodreads Reviews dataset.
Genres
childrencomics_graphicfantasy_paranormalhistory_biographymystery_thriller_crimepoetryromanceyoung_adult
Training details
Evaluation (test set)
Usage
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="kamalchaurasia-iitj/goodreads-reviews-genres",
tokenizer="kamalchaurasia-iitj/goodreads-reviews-genres",
)
result = classifier("I loved the mystery and suspense in this thrilling novel.")
print(result) # [{'label': 'mystery_thriller_crime', 'score': 0.98}]Citation
@misc{goodreads-genre-classifier,
author = {Kamalkumar Chaurasia},
title = {Goodreads Book-Genre Classifier (roberta-base)},
year = {2026},
url = {https://huggingface.co/kamalchaurasia-iitj/goodreads-reviews-genres}
}