Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
10K - 100K
License:
metadata
language:
- en
license: apache-2.0
size_categories:
- 1K<n<10K
task_categories:
- text-classification
dataset_info:
- config_name: default
features:
- name: Book
dtype: string
- name: Description
dtype: string
- name: Genres
sequence:
class_label:
names:
'0': History & Politics
'1': Health & Medicine
'2': Mystery & Thriller
'3': Arts & Design
'4': Self-Help & Wellness
'5': Sports & Recreation
'6': Non-Fiction
'7': Science Fiction & Fantasy
'8': Countries & Geography
'9': Other
'10': Nature & Environment
'11': Business & Finance
'12': Romance
'13': Philosophy & Religion
'14': Literature & Fiction
'15': Science & Technology
'16': Children & Young Adult
'17': Food & Cooking
splits:
- name: train
num_bytes: 9056101.474375822
num_examples: 7914
- name: validation
num_bytes: 1131726.605781866
num_examples: 989
- name: test
num_bytes: 1132870.9198423128
num_examples: 990
download_size: 6784892
dataset_size: 11320699
- config_name: original-genres
features:
- name: Book
dtype: string
- name: Description
dtype: string
- name: Genres
sequence:
class_label:
names:
'0': Superheroes
'1': The United States Of America
'2': Read For School
'3': Asia
'4': Romanticism
'5': Technical
'6': Journal
'7': American Revolution
'8': Collections
'9': Police
'10': Angels
'11': Historical Mystery
'12': Chinese Literature
'13': International
'14': Sierra Leone
'15': African American Literature
'16': Sword and Planet
'17': Graphic Novels Comics
'18': Urbanism
'19': Research
'20': Polish Literature
'21': Transgender
'22': Russian Literature
'23': Canada
'24': Young Adult Fantasy
'25': Counselling
'26': Pakistan
'27': LGBT
'28': Liberia
'29': Science Fiction Fantasy
'30': Star Trek
'31': Basketball
'32': Parenting
'33': Lds
'34': Dinosaurs
'35': Prostitution
'36': Americana
'37': Danish
'38': Law
'39': Alternate History
'40': Short Stories
'41': Crafts
'42': Comedian
'43': Womens Fiction
'44': Alchemy
'45': Rabbits
'46': Teaching
'47': Womens Studies
'48': Christian Fantasy
'49': Journaling
'50': Light Novel
'51': Nigeria
'52': Poetry
'53': School
'54': Astronomy
'55': 15th Century
'56': Government
'57': Poland
'58': Media Tie In
'59': Theatre
'60': Communication
'61': Steampunk
'62': Us Presidents
'63': Time Travel
'64': Ghost Stories
'65': Art Design
'66': Horses
'67': Urban Planning
'68': Dutch Literature
'69': Soccer
'70': Emotion
'71': Drawing
'72': Jewish
'73': Christian Romance
'74': Witches
'75': Political Science
'76': Musicals
'77': New Adult
'78': Romania
'79': Tea
'80': Travel
'81': Money
'82': Irish Literature
'83': Genetics
'84': Epic Fantasy
'85': Latin American Literature
'86': Mermaids
'87': Sports
'88': Gay
'89': Japanese Literature
'90': Clean Romance
'91': Comedy
'92': Ghana
'93': Productivity
'94': Bande Dessinée
'95': Dungeons and Dragons
'96': Social Issues
'97': Biblical Fiction
'98': Design
'99': Chick Lit
'100': Christian Historical Fiction
'101': Skepticism
'102': Fostering
'103': Romanian Literature
'104': Geology
'105': Hungary
'106': M M F
'107': Nutrition
'108': Japan
'109': Juvenile
'110': International Development
'111': Thriller
'112': Disability
'113': Transport
'114': Africa
'115': Erotic Romance
'116': Satanism
'117': Engineering
'118': Travelogue
'119': Tarot
'120': Poverty
'121': Anthropology
'122': Kenya
'123': Family
'124': Lovecraftian
'125': Criticism
'126': Christian Non Fiction
'127': Fantasy Romance
'128': China
'129': Portugal
'130': Hip Hop
'131': Amazon
'132': Drama
'133': Presidents
'134': Divination
'135': World War I
'136': Rock N Roll
'137': Italy
'138': Unicorns
'139': Gardening
'140': Queer
'141': Halloween
'142': Taoism
'143': Lesbian Romance
'144': Shapeshifters
'145': Spirituality
'146': Paranormal
'147': Foodie
'148': Westerns
'149': Young Adult Paranormal
'150': Greece
'151': 19th Century
'152': Childrens
'153': Space
'154': Fiction
'155': Tudor Period
'156': Comics
'157': Military History
'158': Agriculture
'159': Animals
'160': Batman
'161': Civil War
'162': French Literature
'163': South Africa
'164': Historical
'165': Outdoors
'166': Fighters
'167': Coming Of Age
'168': Eugenics
'169': Regency Romance
'170': Counting
'171': Fat Studies
'172': Asexual
'173': Internet
'174': Literary Criticism
'175': Sword and Sorcery
'176': Horse Racing
'177': Art
'178': Naval History
'179': Holocaust
'180': Czech Literature
'181': Mystery Thriller
'182': Birds
'183': Inspirational
'184': Death
'185': 21st Century
'186': Ancient
'187': Spy Thriller
'188': Theology
'189': Climate Change
'190': Far Right
'191': Psychiatry
'192': Romantic
'193': Faith
'194': Christian Fiction
'195': Technology
'196': Chapter Books
'197': Lesbian
'198': Historical Romance
'199': Archaeology
'200': New York
'201': Surreal
'202': Israel
'203': Adventure
'204': Reference
'205': Science Fiction Romance
'206': International Relations
'207': Folklore
'208': Flash Fiction
'209': Ukrainian Literature
'210': Health Care
'211': Neuroscience
'212': Supernatural
'213': Language
'214': Management
'215': Climate Change Fiction
'216': Science Fiction
'217': Young Readers
'218': Aliens
'219': Mystery
'220': Medical
'221': Alternate Universe
'222': Menage
'223': How To
'224': 16th Century
'225': Gay Fiction
'226': Occult
'227': Buisness
'228': Military Romance
'229': Fairy Tales
'230': Book Club
'231': Self Help
'232': Murder Mystery
'233': Church
'234': Sweden
'235': France
'236': Serbian Literature
'237': Gender Studies
'238': Modern
'239': War
'240': Academia
'241': Prehistory
'242': Erotica
'243': Picture Books
'244': Gods
'245': Noir
'246': Ethiopia
'247': Mountaineering
'248': Indian Literature
'249': Russian History
'250': Textbooks
'251': Urban
'252': Hockey
'253': Adult
'254': Short Story Collection
'255': Futurism
'256': Computer Science
'257': Gaming
'258': Psychoanalysis
'259': Punk
'260': Werewolves
'261': Psychological Thriller
'262': High School
'263': Cities
'264': Robots
'265': Love
'266': Writing
'267': Denmark
'268': Mental Illness
'269': Iran
'270': Monsters
'271': Cyberpunk
'272': Manga
'273': Tasmania
'274': Love Inspired
'275': Turkish Literature
'276': Anti Racist
'277': 17th Century
'278': Adhd
'279': Mental Health
'280': Atheism
'281': Polygamy
'282': Mauritius
'283': Indonesian Literature
'284': Film
'285': Abuse
'286': Logic
'287': Terrorism
'288': New Adult Romance
'289': Counter Culture
'290': Post Apocalyptic
'291': Christianity
'292': 12th Century
'293': Gothic Horror
'294': Superman
'295': Medieval
'296': Rwanda
'297': Realistic Fiction
'298': Womens
'299': Religion
'300': Prayer
'301': Splatterpunk
'302': Classic Literature
'303': Crime
'304': Dragonlance
'305': Hungarian Literature
'306': Chemistry
'307': Video Games
'308': Ghosts
'309': American Civil War
'310': Thelema
'311': Boarding School
'312': Autistic Spectrum Disorder
'313': Romantic Suspense
'314': Microhistory
'315': Romance
'316': Folk Tales
'317': Vegetarian
'318': Food and Drink
'319': American Revolutionary War
'320': Music
'321': Illness
'322': Star Wars
'323': Figure Skating
'324': Theory
'325': Amish
'326': Adoption
'327': Shojo
'328': Health
'329': Literary Fiction
'330': Cults
'331': Futuristic
'332': Programming
'333': Social Work
'334': M F Romance
'335': Economics
'336': British Literature
'337': Aviation
'338': World History
'339': Food
'340': Nursery Rhymes
'341': Islam
'342': Zombies
'343': Maritime
'344': Military Fiction
'345': Medieval History
'346': Vegan
'347': Biography Memoir
'348': School Stories
'349': Paranormal Romance
'350': Activism
'351': Storytime
'352': Gender
'353': Singularity
'354': Medicine
'355': Astrology
'356': Cookbooks
'357': Dying Earth
'358': Hugo Awards
'359': Dragons
'360': Catholic
'361': Cozy Mystery
'362': Holiday
'363': Software
'364': Wolves
'365': Latin American
'366': French Revolution
'367': Trains
'368': M M Romance
'369': Fantasy
'370': Vampires
'371': Comic Strips
'372': Prehistoric
'373': Arthurian
'374': Speculative Fiction
'375': Demons
'376': Education
'377': Young Adult
'378': Contemporary
'379': True Story
'380': Mathematics
'381': Love Inspired Suspense
'382': Roman
'383': BDSM
'384': Fairies
'385': Graphic Novels
'386': Finance
'387': Comix
'388': Genderfluid
'389': Animal Fiction
'390': Geography
'391': Cthulhu Mythos
'392': Lebanon
'393': Malawi
'394': Marathi
'395': Swedish Literature
'396': African Literature
'397': Dark
'398': The World
'399': Weird West
'400': Ancient History
'401': Fitness
'402': Asian Literature
'403': Ecology
'404': Australia
'405': Historical Fiction
'406': 18th Century
'407': Finnish Literature
'408': Classics
'409': Native American History
'410': Canadian Literature
'411': Diets
'412': Regency
'413': Middle Grade
'414': Egypt
'415': Retellings
'416': Utopia
'417': Josei
'418': New Weird
'419': Mysticism
'420': Poetry Plays
'421': History
'422': Home Economics
'423': Edwardian
'424': Wildlife
'425': Diary
'426': 20th Century
'427': Cultural
'428': Audiobook
'429': Politics
'430': Humor
'431': Banned Books
'432': Metaphysics
'433': Reverse Harem
'434': Sociology
'435': Literature
'436': Dc Comics
'437': Novella
'438': Natural History
'439': Heroic Fantasy
'440': Legal Thriller
'441': Egyptian Literature
'442': Musicians
'443': Young Adult Contemporary
'444': Palaeontology
'445': Brain
'446': Magical Realism
'447': God
'448': Christian Living
'449': Polyamory
'450': Food Writing
'451': Divorce
'452': Fan Fiction
'453': Spanish Literature
'454': Pulp
'455': Relationships
'456': Psychology
'457': Princesses
'458': Conspiracy Theories
'459': Race
'460': Germany
'461': Forgotten Realms
'462': Russia
'463': Autobiography
'464': True Crime
'465': Dark Fantasy
'466': Personal Development
'467': Magic
'468': Action
'469': African American
'470': Games
'471': German Literature
'472': Young Adult Romance
'473': College
'474': Botswana
'475': Weird Fiction
'476': Evolution
'477': Plays
'478': Childrens Classics
'479': Homeschool
'480': Zen
'481': Architecture
'482': Love Story
'483': Ukraine
'484': Guidebook
'485': Business
'486': Social Justice
'487': M M Contemporary
'488': Paganism
'489': Baseball
'490': Femme Femme
'491': Suspense
'492': Books About Books
'493': Portuguese Literature
'494': Sexuality
'495': Wicca
'496': Nobel Prize
'497': Gothic
'498': Buddhism
'499': Witchcraft
'500': Scandinavian Literature
'501': Lds Non Fiction
'502': Scotland
'503': Novels
'504': Photography
'505': Victorian
'506': Cycling
'507': Pop Culture
'508': Detective
'509': Memoir
'510': European Literature
'511': Judaica
'512': Comic Book
'513': European History
'514': Lds Fiction
'515': Go
'516': Culinary
'517': Social Science
'518': Zimbabwe
'519': Sudan
'520': Cooking
'521': Biography
'522': American History
'523': Art History
'524': Anthologies
'525': Morocco
'526': Adult Fiction
'527': Linguistics
'528': Classical Music
'529': Fat Acceptance
'530': Algeria
'531': Entrepreneurship
'532': High Fantasy
'533': Espionage
'534': Historical Fantasy
'535': Elves
'536': India
'537': Native Americans
'538': Horror
'539': Mythology
'540': Biology
'541': Physics
'542': Nordic Noir
'543': Own
'544': Fat
'545': Kids
'546': Academic
'547': Tv
'548': Ireland
'549': Russian Revolution
'550': Essays
'551': Dogs
'552': Somalia
'553': Southern Gothic
'554': New Age
'555': Philosophy
'556': Contemporary Romance
'557': Anarchism
'558': Nonfiction
'559': Social
'560': Christian
'561': Southern
'562': Judaism
'563': Apocalyptic
'564': Bizarro Fiction
'565': Beauty and The Beast
'566': Military Science Fiction
'567': Female Authors
'568': Space Opera
'569': Spain
'570': Fae
'571': Modern Classics
'572': Society
'573': Fairy Tale Retellings
'574': History Of Science
'575': Seinen
'576': Hard Science Fiction
'577': Urban Fantasy
'578': Epic
'579': Brazil
'580': American
'581': Christmas
'582': Football
'583': Artificial Intelligence
'584': Global Warming
'585': Environment
'586': Turkish
'587': Plantagenet
'588': Martial Arts
'589': Dystopia
'590': English Literature
'591': Sustainability
'592': Marriage
'593': Love Inspired Historical
'594': Pirates
'595': Journalism
'596': Italian Literature
'597': Sports Romance
'598': Tragedy
'599': United States
'600': Leadership
'601': Street Art
'602': Nature
'603': Medieval Romance
'604': Unfinished
'605': Popular Science
'606': World War II
'607': Hinduism
'608': Spanish Civil War
'609': Survival
'610': Greek Mythology
'611': Feminism
'612': Science
'613': Personal Finance
'614': Teen
'615': Cats
'616': Social Media
splits:
- name: train
num_bytes: 59034301
num_examples: 9923
download_size: 6974335
dataset_size: 59034301
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: validation
path: data/validation-*
- split: test
path: data/test-*
- config_name: original-genres
data_files:
- split: train
path: original-genres/train-*
tags:
- book
- genre
- goodreads
Dataset Card for "goodreads-bookgenres"
multiclass multilabel is the most fun :)
structure
>>> dataset
DatasetDict({
train: Dataset({
features: ['Book', 'Description', 'Genres'],
num_rows: 7914
})
validation: Dataset({
features: ['Book', 'Description', 'Genres'],
num_rows: 989
})
test: Dataset({
features: ['Book', 'Description', 'Genres'],
num_rows: 990
})
})
the Genres
column is multilabel and represented in binary format:
>>> print(json.dumps(dataset['train'][0], indent=4))
{
"Book": "The Last of the Mohicans (The Leatherstocking Tales, #2)",
"Description": "The wild rush of action in this classic frontier adventure story has made The Last of the Mohicans the most popular of James Fenimore Cooper's Leatherstocking Tales. Deep in the forests of upper New York State, the brave woodsman Hawkeye (Natty Bumppo) and his loyal Mohican friends Chingachgook and Uncas become embroiled in the bloody battles of the French and Indian War. The abduction of the beautiful Munro sisters by hostile savages, the treachery of the renegade brave Magua, the ambush of innocent settlers, and the thrilling events that lead to the final tragic confrontation between rival war parties create an unforgettable, spine-tingling picture of life on the frontier. And as the idyllic wilderness gives way to the forces of civilization, the novel presents a moving portrayal of a vanishing race and the end of its way of life in the great American forests.",
"Genres": [
1,
0,
0,
0,
0,
0,
1,
1,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0
]
}
labels
note: the label idx is assigned randomly
- name: Genres
sequence:
class_label:
names:
'0': History & Politics
'1': Health & Medicine
'2': Mystery & Thriller
'3': Arts & Design
'4': Self-Help & Wellness
'5': Sports & Recreation
'6': Non-Fiction
'7': Science Fiction & Fantasy
'8': Countries & Geography
'9': Other
'10': Nature & Environment
'11': Business & Finance
'12': Romance
'13': Philosophy & Religion
'14': Literature & Fiction
'15': Science & Technology
'16': Children & Young Adult
'17': Food & Cooking