AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Catalog / Text

    20 Newsgroups (1995)

    About 18,800 Usenet posts from 1993, sorted into 20 discussion groups.

    Why it matters

    Probably collected for NewsWeeder, an early system that learned which posts a reader wanted, it became the classic text-classification and clustering dataset. Naive Bayes, tf-idf with SVMs and topic models like LDA were all demonstrated on it, and it ships with scikit-learn as fetch_20newsgroups, so it is still many people's first text dataset.

    Get the data

    # pip install -U huggingface_hub
    hf download SetFit/20_newsgroups --repo-type dataset \
      --local-dir 20-newsgroups
    Year
    1995
    Creators
    Ken Lang
    Task
    Topic classification of Usenet posts
    Size
    18,846 posts (the "by date" version)
    Splits
    train 11,314 · test 7,532
    Input
    The text of a newsgroup post
    Labels
    One of 20 groups (comp.graphics, rec.autos, sci.space, talk.politics.guns, …)
    License
    No formal license (public Usenet posts)

    Samples

    Showing 4 of 24 sampled rows(from 7,532 in the test split)
    sci.space

    Could someone please help me. I am trying to find the address to the TDRS receiving station at White Sands Missile Range. I am interested in possible employment and would like to write for information.

    rec.sport.hockey

    Here are the standings after game 2 of each of the divisional semi-final series. - Andrew USENET Hockey Playoff Draft Standings Posn Team Pts Rem Last Posn 1. Sneddon Scorers 77 25 (1) 2. Arctic Circles 75 25 (75) Northern Lights 75 25 (33) Threepeat 75 25 (19) 5. fighting amish 74 25 (161) Team Elvis 74 25 (11) 7. chris roney 73 25 (33) Myers Marauders 73 25 (--) the dead ducks 73 25 (11) 10. Les Poteux 72 25 (--) Sludge 72 25 (75) Paige Faults 72 25 (33) Sam & His Dogs 72 25 (33) The Borg 72 25 (2) Hurricane Andrew 72 25 (4) Lewey's Lakers 72 25 (102) Einstien's Punk Band 72 25 (9) 18. Homesick Hawaiian 71 25 (4) Test Department 71 25 (11) Samuel Lau (Calgary, Alberta) 71 25 (127) Mopar Muscle Men 71 25 (33) Jerky Boys 71 24 (4) GB Flyers 71 25 (19) 24. Neural Netters 70 25 (102) give you money monday 70 25 (9) Bill McGreer 70 25 (--) Fugazi 70 25 (33) Detroit Homeboy 70 25 (11) Bloom County All-Stars 70 25 (54) DehraDun Maawalis 70 25 (75) 31. Great Expectations 69 25 (4) PURDUE RICKS PENS 69 25 (19) 33. frank's little wankers 68 25 (33) Jan Stein 68 25 (33) Allez les Blues 68 25 (--) Goaldingers 68 25 (75) suds 68 25 (19) weenies 68 25 (33) A.P. BURY 68 25 (19) Bruce's Rented Mules 68 25 (4) 41. Mind Sweepers 67 25 (33) Mike Burger 67 25 (11) Go Flames 67 25 (--) garryola 67 25 (33) The Mulberry Maulers 67 25 (75) LIPPE 67 25 (102) Flamming Senators 67 25 (19) Big Bay Bombers 67 25 (102) Milton Keynes Kings 67 25 (33) 50. Seppo Kemppainen 66 25 (19) Freddy Beach Rockets 66 25 (--) The Campi Machine 66 25 (19) j's rock'em sock'ems 66 25 (75) Sean Forbes 66 25 (19) Tapio Repo 66 25 (11) zachmans wingers 66 25 (19) Zipper Heads 66 25 (11) Canadian Gladiators 66 25 (75) 59. Teem Kanada 65 25 (33) New Zealand Leafs 65 25 (54) Tiger Chung Lees 65 25 (54) Rangers Of Destiny 65 25 (33) make beliefs 65 25 (54) Dave Wessels 65 25 (2) Norway Killerwhales 65 25 (54) 66. Force 25 64 25 (75) trevor's triumph 64 25 (75) Commitments 64 25 (141) Skate or Die 64 25 (19) Dog's Hog's 64 25 (33) Delaware Destroyers 64 25 (33) Craig team 64 25 (11) Rangers Blow 64 25 (54) Debbie Bowles 64 25 (19) Mak Paranjape 64 25 (141) Comfortably Numb 64 25 (127) Loaded Weapons 64 25 (54) Rob Del Mundo 64 25 (54) Robarts Research Rebels 64 25 (54) Fuzzfaces Galore 64 25 (19) Houdini's Magicians 64 25 (54) La Coupe Stainless 64 25 (141) 83. Cluster Buster 63 25 (33) Lets Go Pandas 63 25 (102) Tequila Shooters 63 25 (141) Steves Superstars 63 25 (102) Reksa fans of Oulu 63 25 (127) Habs Playing Golf 63 25 (75) Chris Stevens 63 25 (--) On Thin Ice 63 25 (102) Oakville Brothers 63 25 (33) Jason team 63 25 (102) smithw 63 25 (102) 94. Anson Mak 62 25 (173) Skriko Wolves 62 25 (102) all the kane's men 62 25 (75) Danielle Leblanc 62 25 (127) Team Awesome 62 25 (19) weasels 62 25 (141) Alf's All-Stars 62 25 (75) Zippety Doodah 62 25 (75) Kramer George and Jerry 62 25 (75) Rev's Rebels 62 25 (75) Yan Loke 62 25 (75) Lamp Lighters 62 25 (102) littlest giants 62 25 (75) Mr Creosote 62 25 (75) 108. oceanweavers 61 25 (161) Great Scott 61 25 (141) Bobby Schmautz Fan Club 61 25 (127) IceMachine 61 25 (102) Hat Trick Mike 61 25 (--) The promise land 61 25 (33) Daves knee jerk picks 61 25 (102) Doug Bowles 61 25 (102) Holsteins SFB 61 25 (54) Lemon Pepper Grizzly Bears 61 25 (54) Flying pigs 61 25 (127) Les Raisins 61 25 (102) RENEB 61 25 (102) Gilles Carmel 61 25 (102) 122. Boops Bets 60 25 (127) Timo Ojala 60 25 (127) Rednecks from Hockey Hell 60 25 (33) gee man 60 25 (127) FRACK ATTACK 60 25 (54) triple X 60 25 (127) Ulfie's 16 brothers 60 25 (--) buffalo soldiers 60 25 (54) Shigella 60 25 (102) Ottawa Bearcats 60 25 (127) Whiters 60 25 (141) Monica Loke 60 25 (102) Lance Hill The Boston Bruins Fa 60 25 (33) 135. Mann Mariners 59 24 (141) New Jersey Rob 59 25 (102) Frasses Faceplants 59 25 (141) Doug Mraz 59 25 (102) Muller n Walker 59 25 (54) High Stickers 59 25 (141) Legzryx 59 25 (161) Beer Makes Me An Expert 59 25 (75) Gail Hiebert 59 25 (127) Dean Martin 59 25 (161) 145. marcs maulers 58 25 (127) brians bloodletters 58 25 (75) Van Isle Colonists 58 25 (141) Charlie Cook 58 25 (--) Bjorkloven 58 25 (54) Schott Shooters 58 25 (102) Bjoern Leaguen 58 25 (75) The Eradicators 58 25 (141) Lord Stanley's Favourites 58 25 (141) But Wait Theres more 58 25 (127) Stacey Ross 58 25 (141) 156. Heikki Salmi 57 25 (54) The Ice Kickers 57 25 (75) Chapman Chaps 57 25 (161) The ^&#@$#$% Rangers of 1940 57 25 (54) The Underwriters 57 25 (54) beam team 57 25 (176) Dave Hiebert 57 25 (75) Canuck Force 57 25 (176) Evan Pritchard 57 25 (161) Controversy Warriors 57 25 (54) JFZ Dream Team 57 25 (141) 167. San Jose Mahi Mahi 56 25 (141) go go gagit 56 25 (161) goddess of fermentation 56 25 (54) bure's blur 56 25 (141) Louisiana Psycho Killers 56 25 (141) East City Jokers 56 25 (102) Tampere Salami 56 25 (176) JOE'S A CRAK HEAD 56 25 (102) Grant Marven 56 25 (75) Mark And Steve Dreaming Again 56 25 (75) Pens Dynasty 56 25 (161) 178. Chip n Dale 55 25 (189) 179. Cherry Bombers 54 25 (161) Brian Bergman 54 25 (189) The Goobmeister 54 25 (75) Oz 54 25 (141) Arm & Hammer 54 25 (161) gax goons 54 25 (176) Daryl Turner 54 25 (102) 186. E.I.S 53 25 (141) BOSSE 53 25 (75) Myllypuro Hedgehogs 53 25 (161) Chapman Sticks 53 25 (176) Hillside Raiders 53 25 (185) Knights on a Power Play 53 25 (173) 192. Eldoret Elephants 52 25 (185) Sparky's Select 52 25 (176) Sluggo's Hosers 52 25 (173) butt ends 52 25 (176) 196. lisa's luggers 51 25 (197) Stanias Stars 51 25 (161) 198. Ken De Cruyenaere 49 25 (176) 199. Gary Shiff 48 25 (--) 200. JUKURIT 47 25 (176) 201. Montys Nords 45 25 (192) Jane's World 45 25 (185) Rolaids Required 45 25 (189) Martin's Gag 45 25 (194) 205. Equipe Du Jour 44 25 (196) 206. Arsenal Maple Leafs 41 18 (194) the ALarmers 41 25 (185) 208. Killer Kings 38 25 (192) -- Andrew Scott | andrew@idacom.hp.com HP IDACOM Telecom Operation | (403) 462-0666 ext. 253

    comp.sys.ibm.pc.hardware

    Hi, any body has experience with the Ultrastor UltraSCSI driver package? I also need the phone number for Ultrastor (it's not in the book) and i cannot find them in the company listing in Computer Shopper. Thanks in advance tony kwong (908) 699-4130

    comp.graphics

    T H E G R A P H I C S B B S # # # ### # ### ### #### #### ## #### #### # # ## # # # # # # # # # # # #### # # # # # # ### #### # # # #### # # # # # # # #### # # # ### #### #### ### # .rent.com "It's better than a sharp stick in the eye!" - Andy Meyer We are pleased to announce that we have just upgraded our system to a new Hayes Ultra 144 V.32bis/V.42bis modem that will allow connections from 300bps up to 38,400bps! Featuring: o A graphics specific system for those of you interested in such things as 3D graphics, image processing, animation, clip-art and the latest in public domain graphics programs! o Graphics specific mailing lists such as Imagine 3D, DCTV and Lightwave 3D mailing lists aliased to easy to read forums which you can join and read. Many more to come! o FREE UseNet access and free netmail to sites all over the world! The ability to contact software/hardware developers right at their mainframes just by sending them netmail from The Graphics BBS! Not to mention your kids at college or your parents FROM college. With our quick connections and reliable links, you can have your mail sent around the world in a matter of minutes! o A unique conference (Bulletin) section. The abilty to join and keep track of only the conferences that you enjoy. The ability to read in files from your own personal file area for use in messages. Also, with proper access, you can create your own conference and moderate it. o Newsfeeds from USENET that include topics such as graphics, Mac, Amiga, IBM, science, erotica, ham radio, Star Trek, scuba diving, programmers forums, game designers forums, and cyberspace forums. o The most sophisticated, but easy to learn and use mail system ever created for a PC! You can easily read your mail, delete it or move it to your personal directory for storage and reply to it. You can attach files to your mail and send it to another member. A smart sendmail feature ensures accurate addressing of netmail. o Ability to send mail and messages to ArpaNet, USENET, Internet, BITNET and any of the networks that interface with them around the world such as Fidonet, PeopleNet and the UUCP network of university and research facility systems. o A file library containing downloads for most popular computers featuring an easy to learn and use system. The library features master directory listing, newscan and search capabilities as well as complete Archived file listings. The file library supports most popular transfer protocols such as X,Y,Z modem as well as advance protocols such as HS-Link and Bi-Modem. The file library also doubles as a file-server for users from other sites all around the world! o Complete control over your environment. You select whether you want hot-key control, menus, -more- prompting etc. You can define your cancel key and choose your terminal emulation. You can also edit your personal login script to do what you want it to do. o Online Games (Global War, Jet Combat Simulator, etc.). New games to be added. o Online manual and extensive help facilities. Complete tracking of online usage time. o 170 megabytes of storage. The Graphics BBS currently runs on an IBM AT at 8mHz with 4 meg of RAM, meg IDE drive. Call The Graphics BBS at 908/469-0049 300 - 38400 Baud, 24 hours a day, everyday!

    What one record actually looks like (raw JSON, row 437)
    {
      "label": 14,
      "label_text": "sci.space",
      "text": "Could someone please help me. I am trying to find the \naddress to the TDRS receiving station at White Sands\nMissile Range. I am interested in possible employment\nand would like to write for information."
    }

    Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.

    Sampled 2026-11-07 from SetFit/20_newsgroups at revision f1b9129

    Worth knowing

    Related datasets

    Landmark papers