Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
502 Server Error: Bad Gateway for url: https://huggingface.co/api/datasets/Evan823/headlines_clean_2022_2025_slugs/branch/refs%2Fconvert%2Fparquet
Error code:   UnexpectedError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

headline
string
label
int64
south korea suspend licenses senior doctors walkout
0
federal judge temporarily bars abrego garcia from deportation uganda
1
pistons coach rages refs over late no call playoff loss knicks
1
yankees jazz chisholm jr violates mlb social media policy post ripping umpire after ejection
1
trump executive order stand up presidential religious liberty commission
1
fox news entertainment newsletter jamie lee curtis planning career exit jay leno criticizes late night shows
1
microsoft ends use china based computer engineers certain defense dept projects amid espionage fears
1
jay north dennis menace star dead
1
liberal media meltdown over trumps military parade call authoritarian
1
ice partnership build public trust vice mayor town large venezuelan community says
1
suns kevin durant becomes 8th player nba history score points loss grizzlies
1
toyota reveals new name upgraded tech sole us ev
0
lionel messi inter miami economy faces turning point
0
once games back the guardians beat the tigers to take a 1game lead in the al central
1
israeli settlers rampage palestinian town hawara west bank shooting
0
former kentucky sergeant sentenced years prison failure stop beating
0
liv golf star sergio garcia snaps driver frustration final round open championship
1
court rejects boeing plea deal tied max crashes
0
trump harris end roe collide closely divided battle white women
0
former coast guard commandant evicted from base housing weeks after firing report
1
my sons old school board owes me an apology
1
us wrongly revoked oppenheimer security clearance biden admin
0
china says covid deaths severe cases fallen percent
0
doj brass vowed full transparency epstein before turning up empty handed
1
airbnb rolling anti party technology us canada
0
acting ice director demands tim walz apologize calling agents modern day gestapo
1
lawmaker targeted death threat after condemning racist sign aimed winsome sears
1
judge orders oath keepers founder remain jail jan sedition trial
0
nba fan leaves game stretcher after shooting challenge goes awry
1
suspended oklahoma judge faces removal bench probe texts murder trial
0
night dallas pd navigate ice trump immigration policy front lines
1
final hours ron desantis ill fated campaign
0
fever coach rips wnba officials after caitlin clark involved scuffle sun players
1
minnesota girls softball players react after judge throws out lawsuit over transgender pitcher
1
hunter biden interviewed special counsel fathers classified documents
0
washington post corrections steele dossier
1
california pastor gives people hope amid wildfires we believe god resurrection
1
chiefs travis kelce complains about medical check after getting hard hit vs bills
1
critic embattled dolton illinois mayor sees business destroyed suspicious fire officials
1
roger federer says definitely done professional tennis no plans come r
0
boyd jr america divided bitterness hatred need come together
1
millie bobby brown stands up photographers demanding she smile stranger things screening
1
new bill block pay congress us hits debt ceiling
0
trump campaign court dates political gain
0
minnesota shooting suspect vance boelter
0
fugitive accused killing wife was found dead california forest surrend
0
cheryl hines very worried husband rfk jr would shot during presidential campaign
1
are protests beginning end cubas communist government
0
flashback top democrats tout deportations tough immigration policies
1
chaos house republicans speaker
0
tv judges reveal most accurate court case movie ever made
1
ichiro suzuki cheekily addresses one person didnt vote hall fame
0
states sue agriculture department snap benefits
0
caitlin clark rewrites record books again brittney griners dream hold off fevers late comeback
1
gaza cease fire talks last opportunity blinken warns israel hamas
0
fewer adults extremely proud american experts warn people focused individualism
1
california family survives crash deploying plane parachute
0
kamala harris says biden made big mistake not inviting musk ev event
1
kyle larson darlington controversy no positions to gain
1
ghislaine maxwells immunity request denied house oversight committee
1
tyson cfo apologizes arrest allegedly drunkenly entering womans home s
0
detained russia country mourns death alexei navalny
0
gov josh shapiro residence arson investigation
0
tarte cosmetics ceo apology pledge diversity equity inclusion
0
ex dodge ram boss tim kuniskis returning stellantis ceos exit
0
russia fires missiles odesa port hours signing grain export deal
0
kayakers heroes rescue pilot plane crash maryland
0
us life expectancy rose not enough erase pandemics toll
0
tiktok launches bereal lookalike feature called tiktok now
0
virginia board considers restoring names schools named confederate gen
0
the sec move to 9game conference slate puts cupcake games on notice amid coach concerns
1
no women running speaker house
0
college football week picks bet low scoring vanderbilt texas
1
updated list baltimore ravens nfl draft picks entering draft week
1
spains womens soccer team refuses play sports president removed kissin
0
bad bunnys spider man spinoff el muerto no longer release date
0
wash post editorial sees possible short term success trumps decision send national guard dc
1
yellowstone stars battle taylor sheridan suing cole hauser
0
hilaria baldwin fires back critics who slammed her scolding alec during awkward red carpet interview
1
china third quarter gdp
0
flashback biden proclaimed trans day visibility coincided easter sunday
1
minor league hockey player orca wiesblatt dead after traffic accident canada
1
tiktok ceo shou chew expected attend trumps inauguration
0
megyn kelly tells off left wing activist tpusa event who blamed trump rhetoric political violence
1
least dead devastating midwest flooding triggers evacuations
0
delta airlines flight attendant allegedly slashes co worker new orlean
0
ice detention badar khan suri parenting struggles
0
anna nicole smiths daughter full circle moment wearing late moms dress kentucky derby
1
lawsuit says honolulu police are arresting people impaired driving eve
0
moana thanksgiving box office
0
albert pujols has met with the angels about their managerial opening ap source says
1
men impersonating ny officers break womans home steal police say
0
stephen smith says he would divorce serena williams super bowl halftime show cameo
1
trump administration takes aim immigrant students
0
akul dhawan university of illinois urbana champaign
0
dave chappelle donald trump snl monologue
0
latinos hispanics died remembering legacy obituaries
0
martin mull dies
0
ice lodges detainers against illegal aliens including facing attempted murder charges shooting spree
1
festive easter home decor
1
End of preview.

headlines_clean_2022_2025_slugs

A lightweight Fox News vs. NBC News binary text classification dataset built from news URLs.

Instead of using full article text, each example uses a pseudo-headline derived from the URL’s last meaningful path component (slug) and normalized into short, clean text. This makes the dataset convenient for fast baselines (TF-IDF + linear models) and also stable for transformer fine-tuning.

  • Task: binary text classification (predict publisher/source)
  • Labels: 0 = NBC, 1 = Fox
  • Text: normalized URL slug / pseudo-headline
  • Language: English
  • License: MIT

Repository contents

This dataset repository includes two “levels” of artifacts:

1) Final modeling splits (recommended)

These three CSV files form the finalized modeling dataset with a fixed train/validation/test split:

  • url_headlines_train.csv
  • url_headlines_val.csv
  • url_headlines_test.csv

CSV columns

Column Type Description
headline string Normalized pseudo-headline derived from the URL slug
label int Source label: 0 = NBC, 1 = Fox

The three splits are mutually exclusive (no duplicated headline across splits).

2) Processing / scrape log (richer intermediate table)

  • headlines_clean_2022_2025_with_slug.xlsx

This XLSX file is a richer processing table (useful for auditing and reproducibility) that includes original URLs, cleaning outputs, and scrape metadata.


Dataset statistics

Final modeling dataset (CSV splits)

Split #Samples #NBC (0) #Fox (1) Fox (%)
Train 72,972 35,346 37,626 51.56
Val 9,121 4,418 4,703 51.56
Test 9,123 4,419 4,704 51.56
Total 91,216 44,183 47,033 51.56

The dataset is approximately balanced in each split, making accuracy a reasonable primary metric.

XLSX processing table

headlines_clean_2022_2025_with_slug.xlsx contains 91,581 rows:

  • NBC: 44,374
  • Fox: 47,207

Note: the XLSX table is an upstream log / intermediate artifact. The final modeling CSV splits are produced after additional normalization, filtering, and de-duplication, so counts differ slightly.


URL → pseudo-headline normalization

Each URL is converted into a pseudo-headline using deterministic parsing:

  1. Strip query parameters and fragments (?…, #…)
  2. Remove trailing .print suffixes and common file extensions when present
  3. Extract the final meaningful path component as the slug
  4. Replace hyphens (-) with spaces
  5. Remove outlet-specific identifiers/noise (e.g., NBC patterns like rcna123456 or long trailing numeric codes)
  6. Collapse extra whitespace

This produces short, clean text suitable for both sparse-vector baselines and transformer encoders.


XLSX schema: headlines_clean_2022_2025_with_slug.xlsx

This file contains 12 columns:

Column Type (typical) Description
url string Original news URL.
id int Row identifier used during collection/processing.
source string Outlet name (Fox or NBC).
headline string Headline text stored in the table (raw form as recorded by the pipeline).
scrape_status string Scraping status for the URL (in this release it is consistently success).
error_message string / empty Error message if scraping failed (empty in this release).
scrape_time datetime Timestamp when the URL was processed/scraped.
status_code int HTTP status code returned during scraping (in this release it is consistently 200).
headline_clean string Normalized headline text (basic cleanup for analysis/processing).
char_len int Character length of headline_clean.
label int Numeric source label used for modeling: 0 = NBC, 1 = Fox.
headline_slug string Slug-style version used as the modeling text input (more aggressively sanitized).

Quickstart

Option A: Load from the Hub with 🤗 Datasets

from datasets import load_dataset

data_files = {
    "train": "url_headlines_train.csv",
    "validation": "url_headlines_val.csv",
    "test": "url_headlines_test.csv",
}

ds = load_dataset("Evan823/headlines_clean_2022_2025_slugs", data_files=data_files)

print(ds)
print(ds["train"][0])
Downloads last month
25