Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,4 +1,17 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
features:
|
| 4 |
- name: url
|
|
@@ -12,7 +25,7 @@ dataset_info:
|
|
| 12 |
- name: date
|
| 13 |
dtype: string
|
| 14 |
- name: tags
|
| 15 |
-
|
| 16 |
- name: url_category
|
| 17 |
dtype: string
|
| 18 |
- name: url_subdomain
|
|
@@ -21,13 +34,102 @@ dataset_info:
|
|
| 21 |
dtype: string
|
| 22 |
splits:
|
| 23 |
- name: test
|
| 24 |
-
num_bytes: 54990844
|
| 25 |
num_examples: 15000
|
| 26 |
-
download_size: 36904820
|
| 27 |
-
dataset_size: 54990844
|
| 28 |
-
configs:
|
| 29 |
-
- config_name: default
|
| 30 |
-
data_files:
|
| 31 |
-
- split: test
|
| 32 |
-
path: data/test-*
|
| 33 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- sk
|
| 4 |
+
license: cc-by-4.0
|
| 5 |
+
size_categories:
|
| 6 |
+
- 10K<n<100K
|
| 7 |
+
task_categories:
|
| 8 |
+
- text-classification
|
| 9 |
+
tags:
|
| 10 |
+
- clustering
|
| 11 |
+
- slovak
|
| 12 |
+
- news
|
| 13 |
+
- mteb
|
| 14 |
+
pretty_name: Pravda.sk URL-based Clustering Dataset
|
| 15 |
dataset_info:
|
| 16 |
features:
|
| 17 |
- name: url
|
|
|
|
| 25 |
- name: date
|
| 26 |
dtype: string
|
| 27 |
- name: tags
|
| 28 |
+
sequence: string
|
| 29 |
- name: url_category
|
| 30 |
dtype: string
|
| 31 |
- name: url_subdomain
|
|
|
|
| 34 |
dtype: string
|
| 35 |
splits:
|
| 36 |
- name: test
|
|
|
|
| 37 |
num_examples: 15000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
---
|
| 39 |
+
|
| 40 |
+
# Pravda.sk URL-based Clustering Dataset
|
| 41 |
+
|
| 42 |
+
A Slovak news article clustering dataset based on URL structure from [pravda.sk](https://pravda.sk), designed for evaluating text clustering and embedding models.
|
| 43 |
+
|
| 44 |
+
## Dataset Description
|
| 45 |
+
|
| 46 |
+
This dataset contains 15,000 Slovak news articles categorized by their URL structure. Articles are organized into 50 categories across 11 subdomains, providing a hierarchical classification based on editorial decisions.
|
| 47 |
+
|
| 48 |
+
### Use Case
|
| 49 |
+
|
| 50 |
+
This dataset is designed for:
|
| 51 |
+
- Evaluating Slovak text embedding models
|
| 52 |
+
- Clustering benchmark tasks (MTEB)
|
| 53 |
+
- Text classification experiments
|
| 54 |
+
- Slovak NLP research
|
| 55 |
+
|
| 56 |
+
## Dataset Structure
|
| 57 |
+
|
| 58 |
+
### Fields
|
| 59 |
+
|
| 60 |
+
| Field | Type | Description |
|
| 61 |
+
|-------|------|-------------|
|
| 62 |
+
| `url` | string | Original article URL |
|
| 63 |
+
| `title` | string | Article headline |
|
| 64 |
+
| `summary` | string | Article summary/lead paragraph |
|
| 65 |
+
| `content` | string | Full article text |
|
| 66 |
+
| `date` | string | Publication date (ISO format) |
|
| 67 |
+
| `tags` | list[string] | Original pravda.sk tags |
|
| 68 |
+
| `url_category` | string | Full category path (e.g., `sportweb/tenis`) |
|
| 69 |
+
| `url_subdomain` | string | Subdomain (e.g., `sportweb`) |
|
| 70 |
+
| `url_section` | string | Section within subdomain (e.g., `tenis`) |
|
| 71 |
+
|
| 72 |
+
### Statistics
|
| 73 |
+
|
| 74 |
+
- **Total articles**: 15,000
|
| 75 |
+
- **Categories**: 50
|
| 76 |
+
- **Samples per category**: 300
|
| 77 |
+
- **Subdomains**: 11
|
| 78 |
+
|
| 79 |
+
### Subdomains
|
| 80 |
+
|
| 81 |
+
| Subdomain | Articles | Description |
|
| 82 |
+
|-----------|----------|-------------|
|
| 83 |
+
| `sportweb` | 2,100 | Sports news |
|
| 84 |
+
| `vat` | 2,100 | Science & technology |
|
| 85 |
+
| `koktail` | 1,800 | Celebrity & entertainment |
|
| 86 |
+
| `spravy` | 1,800 | General news |
|
| 87 |
+
| `cestovanie` | 1,500 | Travel |
|
| 88 |
+
| `ekonomika` | 1,200 | Business & economy |
|
| 89 |
+
| `kultura` | 1,200 | Culture & arts |
|
| 90 |
+
| `zurnal` | 1,200 | Magazine/features |
|
| 91 |
+
| `auto` | 900 | Automotive |
|
| 92 |
+
| `zdravie` | 900 | Health |
|
| 93 |
+
| `uzitocna` | 300 | Practical/lifestyle |
|
| 94 |
+
|
| 95 |
+
## Data Quality
|
| 96 |
+
|
| 97 |
+
- **No duplicates**: Deduplicated by `title` + `summary` combination
|
| 98 |
+
- **No null values**: All articles have valid `title` and `summary` fields
|
| 99 |
+
- **Balanced**: 300 samples per category
|
| 100 |
+
|
| 101 |
+
## Usage
|
| 102 |
+
|
| 103 |
+
```python
|
| 104 |
+
from datasets import load_dataset
|
| 105 |
+
|
| 106 |
+
dataset = load_dataset("NaiveNeuron/pravda-sk-url-clustering")
|
| 107 |
+
|
| 108 |
+
# Access the test split
|
| 109 |
+
articles = dataset["test"]
|
| 110 |
+
|
| 111 |
+
# Example: Get articles by category
|
| 112 |
+
tennis_articles = [a for a in articles if a["url_category"] == "sportweb/tenis"]
|
| 113 |
+
```
|
| 114 |
+
|
| 115 |
+
## Source
|
| 116 |
+
|
| 117 |
+
Articles were collected from [pravda.sk](https://pravda.sk) via [web.archive.org](https://web.archive.org) snapshots spanning 2004-2025.
|
| 118 |
+
|
| 119 |
+
## License
|
| 120 |
+
|
| 121 |
+
This dataset is released under CC-BY-4.0. Please check pravda.sk terms of service for content usage rights.
|
| 122 |
+
|
| 123 |
+
## Citation
|
| 124 |
+
|
| 125 |
+
If you use this dataset, please cite:
|
| 126 |
+
|
| 127 |
+
```bibtex
|
| 128 |
+
@dataset{pravda_sk_url_clustering,
|
| 129 |
+
title = {Pravda.sk URL-based Clustering Dataset},
|
| 130 |
+
author = {NaiveNeuron},
|
| 131 |
+
year = {2025},
|
| 132 |
+
publisher = {Hugging Face},
|
| 133 |
+
url = {https://huggingface.co/datasets/NaiveNeuron/pravda-sk-url-clustering}
|
| 134 |
+
}
|
| 135 |
+
```
|