tshasan commited on
Commit
e2d9da2
·
verified ·
1 Parent(s): a5a132e

Update README.md

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