Datasets:
Tasks:
Text Classification
Formats:
csv
Size:
10K - 100K
Tags:
multi-label-classification
web-page-classification
natural-language-processing
machine-learning
dataset
License:
File size: 3,305 Bytes
e2d9da2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
---
license: cc-by-4.0
task_categories:
- text-classification
tags:
- multi-label-classification
- web-page-classification
- natural-language-processing
- machine-learning
- dataset
pretty_name: Multi-Label Web Page Classification Dataset
size_categories:
- 10K<n<100K
dataset_info:
dataset_creator: tshasan
source_dataset: CC-Meta25-1M
total_samples: 14258
num_categories: 11
data_format: CSV
---
# Multi-Label Web Page Classification Dataset
## Dataset Description
The **Multi-Label Web Page Classification Dataset** is a curated dataset containing **14,258** web page titles and snippets, extracted from the **CC-Meta25-1M** dataset. Each entry has been **automatically categorized** into multiple predefined categories using **ChatGPT-4o-mini**.
This dataset is designed for **multi-label text classification tasks**, making it ideal for training and evaluating **machine learning models** in **web content classification** and **natural language processing (NLP)**.
## Source & Processing
- **Source**: The dataset is derived from **CC-Meta25-1M**, a multilingual web dataset.
- **Classification**: ChatGPT-4o-mini was used to classify each web page into one or more categories.
- **Categories**: The dataset includes the following **11** categories:
- News
- Entertainment
- Shop
- Chat
- Education
- Government
- Health
- Technology
- Work
- Travel
- Uncategorized (for ambiguous cases)
Each record includes **metadata features**, such as the **number of assigned categories** and the **text lengths** of the title and snippet.
## Dataset Structure
### Format: CSV
The dataset is provided as a **single CSV file** with the following columns:
| Column Name | Type | Description |
|-----------------|--------|-------------|
| `url` | string | Web page URL |
| `title` | string | Page title |
| `snippet` | string | Short excerpt of webpage |
| `language` | string | Language code (e.g., `en`, `cs`, `ru`, `de`) |
| `category` | string | Comma-separated list of assigned categories |
| `category_list` | string | List representation of categories (e.g., `["Work", "Education"]`) |
| `num_categories` | int | Number of assigned categories |
| `title_length` | int | Character count of the title |
| `snippet_length`| int | Character count of the snippet |
## Usage & Applications
This dataset is well-suited for:
- **Training** multi-label text classification models.
- **Developing** content recommendation systems.
- **Enhancing** search engine categorization.
- **Analyzing** web content distributions across languages.
To load the dataset using Hugging Face’s `datasets` library:
```python
from datasets import load_dataset
dataset = load_dataset("tshasan/multi-label-web-classification")
print(dataset[0]) # Display the first sample
```
## License
This dataset is licensed under CC BY 4.0, allowing free use and modifications with proper attribution.
## Acknowledgments
- **tshasan** – for creating the [CC-Meta25-1M dataset](https://huggingface.co/datasets/tshasan/CC-Meta25-1M).
- **OpenAI** – for providing ChatGPT-4o-mini, which powered the classification.
- **[Common Crawl](https://commoncrawl.org/)**: A large-scale web crawl dataset providing openly available web data.
|