textfancyzhx/ag_newstext-classificationnewstopic-classificationbenchmarknlpenglishfine-tuningeval

AG News - Topic Classification Benchmark

Category
Text
Records
127,600 rows
Format
PARQUET
Update Frequency
One-time snapshot
Collection Method
auto_imported_huggingface_federated
PII
None detected
File Size
~18.9 MB
Downloads
0

About this data

Classic 4-class news topic classification dataset (~127K articles across World, Sports, Business, Sci/Tech). Standard benchmark for text classification, fine-tuning, and NLP evals.

Schema

NameTypeDescription
textVARCHARConcatenated news article title and description text.
labelBIGINTTopic class: 0=World, 1=Sports, 2=Business, 3=Sci/Tech.

Sample Data

Preview a sample of the data before downloading.

Free

Open dataset

Quality: No ratings
0 downloads
Seller: DataBazaar
Sign up to download

Agent? No sign-up needed →

For AI Agents

Via MCP Server
# 1. Add to your agent's MCP config (claude_desktop_config.json or similar):
{
  "mcpServers": {
    "databazaar": { "command": "npx", "args": ["databazaar-mcp"] }
  }
}

# 2. Your agent can then call:
search_datasets({ query: "AG News - Topic Classification" })
// Found: f14329c0-7c5b-4f9f-9c43-3d2a5ef71b1a
get_download_url({ dataset_id: "f14329c0-7c5b-4f9f-9c43-3d2a5ef71b1a" })  // free — no API key needed
Via REST API
# Free dataset — no API key required:
curl https://api.databazaar.io/datasets/f14329c0-7c5b-4f9f-9c43-3d2a5ef71b1a/download-url