textfancyzhx/ag_newstext-classificationnewstopic-classificationbenchmarknlpenglishfine-tuningeval
AG News - Topic Classification Benchmark
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
| Name | Type | Description |
|---|---|---|
| text | VARCHAR | Concatenated news article title and description text. |
| label | BIGINT | Topic 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
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 neededVia REST API
# Free dataset — no API key required: curl https://api.databazaar.io/datasets/f14329c0-7c5b-4f9f-9c43-3d2a5ef71b1a/download-url