Datasets:
Vasily Alexeev commited on
Commit ·
948d003
1
Parent(s): bb08b33
add info, add jsonl in lfs
Browse files- .gitattributes +2 -0
- README.md +260 -1
.gitattributes
CHANGED
|
@@ -58,3 +58,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
*.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
*.jsonl.gz filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,262 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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language:
|
| 3 |
+
- ru
|
| 4 |
+
license: cc-by-sa-4.0
|
| 5 |
+
pretty_name: Russian Wikipedia quality articles with subjects (20261001)
|
| 6 |
+
configs:
|
| 7 |
+
- config_name: articles
|
| 8 |
+
default: true
|
| 9 |
+
data_files:
|
| 10 |
+
- split: corpus
|
| 11 |
+
path: data/articles.jsonl.gz
|
| 12 |
+
- config_name: topics
|
| 13 |
+
data_files:
|
| 14 |
+
- split: corpus
|
| 15 |
+
path: data/topics.jsonl.gz
|
| 16 |
---
|
| 17 |
+
|
| 18 |
+
# Russian Wikipedia quality articles with subjects — 20261001
|
| 19 |
+
|
| 20 |
+
This Russian-language collection contains **17,251 Wikipedia articles**
|
| 21 |
+
with at least one subject label from a fixed taxonomy of **28 subjects**.
|
| 22 |
+
It is selected from the **17,413 articles** in
|
| 23 |
+
[Russian Wikipedia quality articles](https://huggingface.co/datasets/TopicNet/RuWiki-Good-2026-V2),
|
| 24 |
+
based on the **20261001** dump. Each article retains the original title, readable
|
| 25 |
+
text, wikitext, direct categories, community quality status and revision links,
|
| 26 |
+
and adds a `topics` list. The `topics` configuration supplies the complete subject
|
| 27 |
+
definitions. The full category catalog remains in the source collection.
|
| 28 |
+
|
| 29 |
+
## Selection and subject labels
|
| 30 |
+
|
| 31 |
+
The source includes namespace-0 articles with active recommended (Добротные),
|
| 32 |
+
good (Хорошие) or featured (Избранные) community status. Redirects and
|
| 33 |
+
disambiguation pages are excluded. Multiple active statuses are retained;
|
| 34 |
+
former-status categories are recorded separately. These are editorial
|
| 35 |
+
designations at the snapshot date, not independent factual checks.
|
| 36 |
+
|
| 37 |
+
Subject assignment combines mappings from specific direct editorial rubrics
|
| 38 |
+
with AI-assisted review of ambiguous rubrics using direct subject categories and,
|
| 39 |
+
where needed, excerpts from the saved readable text. Mixed editorial rubrics
|
| 40 |
+
identify possible subjects; they do not assign all those subjects simultaneously.
|
| 41 |
+
Category ancestry is not propagated. Category mappings are assessed against the
|
| 42 |
+
subject definitions: a category name being present does not by itself establish
|
| 43 |
+
a narrow subject, and an interdisciplinary regional-studies category does not
|
| 44 |
+
automatically establish language scholarship. Incidental mentions, birthplaces, awards,
|
| 45 |
+
party membership or education alone do not establish a subject. Labels already
|
| 46 |
+
supported by specific rubrics are retained unless there is explicit contrary
|
| 47 |
+
evidence.
|
| 48 |
+
|
| 49 |
+
Labels are **partial** and were curated with AI assistance; they are not
|
| 50 |
+
exhaustive annotation or a human gold standard. Category interpretation may be
|
| 51 |
+
wrong, and relevant subjects may have been missed. Text review was limited to
|
| 52 |
+
selected passages where categories needed clarification; articles were not read
|
| 53 |
+
in full. A missing label is not evidence that the article lacks that subject.
|
| 54 |
+
Multiple labels are allowed when each has support. Articles are included when
|
| 55 |
+
their subject list is nonempty: **162 source articles** have no assigned subject label and are
|
| 56 |
+
omitted. No coverage quota, topic balancing or maximum label count was used.
|
| 57 |
+
Subject frequencies and intersections are consequently uneven.
|
| 58 |
+
|
| 59 |
+
There is no NLP preprocessing, model scoring or research train/test split in this
|
| 60 |
+
package. The `corpus` split is a storage partition. Source text has not been
|
| 61 |
+
shortened or rewritten for subject selection. No exact duplicate source text was
|
| 62 |
+
removed. This collection is not a representative sample of Russian writing.
|
| 63 |
+
|
| 64 |
+
## Loading
|
| 65 |
+
|
| 66 |
+
Both configurations use compressed JSON Lines and require no dataset script.
|
| 67 |
+
|
| 68 |
+
```python
|
| 69 |
+
from datasets import load_dataset
|
| 70 |
+
|
| 71 |
+
articles = load_dataset(
|
| 72 |
+
"TopicNet/RuWiki-Good-2026-V2-Selected", "articles", split="corpus"
|
| 73 |
+
)
|
| 74 |
+
topics = load_dataset(
|
| 75 |
+
"TopicNet/RuWiki-Good-2026-V2-Selected", "topics", split="corpus"
|
| 76 |
+
)
|
| 77 |
+
print(len(articles)) # 17251
|
| 78 |
+
print(len(topics)) # 28
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
From a downloaded repository, use its local directory with the same two config
|
| 82 |
+
names, or load the files directly:
|
| 83 |
+
|
| 84 |
+
```python
|
| 85 |
+
articles = load_dataset(
|
| 86 |
+
"json", data_files={"corpus": "data/articles.jsonl.gz"}, split="corpus"
|
| 87 |
+
)
|
| 88 |
+
topics = load_dataset(
|
| 89 |
+
"json", data_files={"corpus": "data/topics.jsonl.gz"}, split="corpus"
|
| 90 |
+
)
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
## Article fields
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
| Field | JSON type | Meaning |
|
| 97 |
+
| --- | --- | --- |
|
| 98 |
+
| `id` | string | Stable page identity, `ruwiki/<page_id>`. |
|
| 99 |
+
| `page_id` | integer | Russian Wikipedia page ID. |
|
| 100 |
+
| `title` | string | Article title with spaces, separate from the text. |
|
| 101 |
+
| `wikitext` | string | XML-decoded revision wikitext. |
|
| 102 |
+
| `raw_text` | string | Readable text extracted from `wikitext`; not rendered HTML. |
|
| 103 |
+
| `wikitext_sha256` | string | SHA-256 of UTF-8 encoded `wikitext`. |
|
| 104 |
+
| `raw_text_sha256` | string | SHA-256 of UTF-8 encoded `raw_text`. |
|
| 105 |
+
| `quality_statuses` | array of strings | Active `recommended`, `good` and/or `featured` statuses from SQL. |
|
| 106 |
+
| `former_quality_categories` | array of strings | Direct former-status category names from SQL; may be empty. |
|
| 107 |
+
| `categories` | array of strings | All direct SQL category names, including maintenance categories. |
|
| 108 |
+
| `wikidata_id` | string or null | Wikidata QID from SQL page properties, when available. |
|
| 109 |
+
| `revision_id` | integer | Content revision ID from XML. |
|
| 110 |
+
| `revision_timestamp` | string | XML revision timestamp in UTC, such as `2026-09-26T22:17:57Z`. |
|
| 111 |
+
| `metadata_revision_id` | integer | SQL page revision ID; may differ from `revision_id`. |
|
| 112 |
+
| `page_url` | string | Page-ID URL for the source page and access to its history. |
|
| 113 |
+
| `revision_url` | string | Permanent URL for the content revision. |
|
| 114 |
+
| `topics` | array of strings | Sorted unique subject slugs; at least one in every retained article. |
|
| 115 |
+
|
| 116 |
+
The source fields are preserved exactly; only `topics` is added. The table describes the stored JSON types. Hugging Face Datasets 5.0.0 infers
|
| 117 |
+
`revision_timestamp` as `timestamp[s]` and `former_quality_categories` as
|
| 118 |
+
`List(null)` for this release, whose former-status lists are empty. Nullable
|
| 119 |
+
scalar fields remain nullable when loaded.
|
| 120 |
+
|
| 121 |
+
For example, the following is an actual record projected onto a few fields (the
|
| 122 |
+
text and remaining fields are omitted here):
|
| 123 |
+
|
| 124 |
+
```json
|
| 125 |
+
{
|
| 126 |
+
"id": "ruwiki/21",
|
| 127 |
+
"page_id": 21,
|
| 128 |
+
"title": "Социология",
|
| 129 |
+
"quality_statuses": [
|
| 130 |
+
"featured"
|
| 131 |
+
],
|
| 132 |
+
"wikidata_id": "Q21201",
|
| 133 |
+
"revision_id": 155304860,
|
| 134 |
+
"metadata_revision_id": 155304860,
|
| 135 |
+
"revision_timestamp": "2026-09-26T22:17:57Z",
|
| 136 |
+
"page_url": "https://ru.wikipedia.org/?curid=21",
|
| 137 |
+
"revision_url": "https://ru.wikipedia.org/w/index.php?oldid=155304860",
|
| 138 |
+
"topics": [
|
| 139 |
+
"social-sciences-education"
|
| 140 |
+
]
|
| 141 |
+
}
|
| 142 |
+
```
|
| 143 |
+
|
| 144 |
+
## Topic fields and distribution
|
| 145 |
+
|
| 146 |
+
Each topic record contains the definition used to assign that subject. Join article
|
| 147 |
+
`topics` entries to topic `slug`.
|
| 148 |
+
|
| 149 |
+
| Field | JSON type | Meaning |
|
| 150 |
+
| --- | --- | --- |
|
| 151 |
+
| `slug` | string | Stable subject identifier used in article `topics`. |
|
| 152 |
+
| `name_en` | string | English subject name. |
|
| 153 |
+
| `name_ru` | string | Russian subject name. |
|
| 154 |
+
| `definition_and_boundaries` | string | Russian definition and boundaries between subjects. |
|
| 155 |
+
|
| 156 |
+
Counts overlap because an article may have several subjects.
|
| 157 |
+
|
| 158 |
+
| Subject | Slug | Articles |
|
| 159 |
+
| --- | --- | ---: |
|
| 160 |
+
| Mathematics and statistics | `mathematics` | 158 |
|
| 161 |
+
| Physics | `physics` | 220 |
|
| 162 |
+
| Chemistry | `chemistry` | 132 |
|
| 163 |
+
| Astronomy and space | `astronomy-space` | 283 |
|
| 164 |
+
| Earth science | `earth-science` | 63 |
|
| 165 |
+
| Geography and places | `geography` | 767 |
|
| 166 |
+
| Biology | `biology` | 1,370 |
|
| 167 |
+
| Medicine and health | `health` | 207 |
|
| 168 |
+
| Environment and agriculture | `environment-agriculture` | 87 |
|
| 169 |
+
| History and archaeology | `history-archaeology` | 4,177 |
|
| 170 |
+
| Military affairs and security | `military-security` | 2,332 |
|
| 171 |
+
| Politics and law | `politics-law` | 1,140 |
|
| 172 |
+
| Economics and business | `economy-business` | 254 |
|
| 173 |
+
| Philosophy | `philosophy` | 108 |
|
| 174 |
+
| Religion and mythology | `religion-mythology` | 814 |
|
| 175 |
+
| Language and linguistics | `language` | 264 |
|
| 176 |
+
| Literature | `literature` | 1,132 |
|
| 177 |
+
| Visual and performing arts | `visual-performing-arts` | 755 |
|
| 178 |
+
| Architecture and structures | `architecture` | 428 |
|
| 179 |
+
| Film, television and animation | `film-television-animation` | 850 |
|
| 180 |
+
| Music | `music` | 952 |
|
| 181 |
+
| Games | `games` | 784 |
|
| 182 |
+
| Sport | `sport` | 754 |
|
| 183 |
+
| Media and communication | `media-communication` | 123 |
|
| 184 |
+
| Food and gastronomy | `food` | 92 |
|
| 185 |
+
| Technology and industry | `technology` | 356 |
|
| 186 |
+
| Transport | `transport` | 376 |
|
| 187 |
+
| Society and education | `social-sciences-education` | 254 |
|
| 188 |
+
|
| 189 |
+
| Subjects per article | Articles |
|
| 190 |
+
| ---: | ---: |
|
| 191 |
+
| 1 | 15,599 |
|
| 192 |
+
| 2 | 1,400 |
|
| 193 |
+
| 3 | 197 |
|
| 194 |
+
| 4 | 38 |
|
| 195 |
+
| 5 | 13 |
|
| 196 |
+
| 6 | 3 |
|
| 197 |
+
| 7 | 1 |
|
| 198 |
+
|
| 199 |
+
## Sources and revision semantics
|
| 200 |
+
|
| 201 |
+
|
| 202 |
+
The source is the [Russian Wikipedia 20261001 dump](https://dumps.wikimedia.org/ruwiki/20261001/).
|
| 203 |
+
The exact source files are listed below with their SHA-256 digests. Dump mirrors
|
| 204 |
+
may later remove this dated snapshot; the filenames and digests identify the
|
| 205 |
+
inputs independently of their continued availability.
|
| 206 |
+
|
| 207 |
+
| File | SHA-256 |
|
| 208 |
+
| --- | --- |
|
| 209 |
+
| `ruwiki-20261001-page.sql.gz` | `24250cca6122fff02896a1ced0a85b7afa4d6be00fa119c169a5eeef3fbe5830` |
|
| 210 |
+
| `ruwiki-20261001-page_props.sql.gz` | `fc9d5aeaf3487d932b82d18a16bc96f0e4e4702e1149cbbdc482eb509f6deb60` |
|
| 211 |
+
| `ruwiki-20261001-categorylinks.sql.gz` | `1ecb32ffaff28a120b6a8f4297d4b228b65c49beb593eae022b5811ae41512e1` |
|
| 212 |
+
| `ruwiki-20261001-linktarget.sql.gz` | `bc1f24b7b8eb06298cbe70fdfb010ec023586d05bd2d3403ba2370091e1edc4a` |
|
| 213 |
+
| `ruwiki-20261001-pages-articles-multistream.xml.bz2` | `c22b6441176d2bc572ed6883abc6292fe168efca211f6cdd61d8772a78492a1b` |
|
| 214 |
+
| `ruwiki-20261001-pages-articles-multistream-index.txt.bz2` | `17c6a4cebb90ecb2b0f881e04aa3b49356bd6ee6add802a7201b9ca1a9b093e3` |
|
| 215 |
+
|
| 216 |
+
SQL provides selection, titles, page properties and category relationships. XML
|
| 217 |
+
provides article content, `revision_id` and `revision_timestamp`. In the 17,413-article source collection, **11 articles**
|
| 218 |
+
have differing SQL and XML revision IDs; the metadata and content should not be
|
| 219 |
+
assumed to describe one atomic revision. Use `revision_url` to identify the exact
|
| 220 |
+
text revision, and retain both IDs when recording provenance. Live pages and
|
| 221 |
+
categories can differ from this snapshot.
|
| 222 |
+
|
| 223 |
+
Readable extraction uses `mwparserfromhell` 0.7.2 and deterministic markup cleanup.
|
| 224 |
+
It does not render Wikipedia or expand templates fully. Templates, infoboxes,
|
| 225 |
+
tables, references, captions, formulae and formatting may be removed or simplified;
|
| 226 |
+
fragments of markup or awkward text may remain. `wikitext` is retained so readers
|
| 227 |
+
can inspect these losses or apply a different extraction procedure. Neither
|
| 228 |
+
`raw_text` nor the category metadata is a manually corrected annotation.
|
| 229 |
+
|
| 230 |
+
## Attribution, license and use
|
| 231 |
+
|
| 232 |
+
|
| 233 |
+
Article text and wikitext are attributed to **Russian Wikipedia contributors**
|
| 234 |
+
and distributed under [Creative Commons Attribution-ShareAlike 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
|
| 235 |
+
Each record's `revision_url` identifies the revision used; `page_url` provides
|
| 236 |
+
access to the page and its edit history for contributor attribution. Follow
|
| 237 |
+
attribution and share-alike requirements when redistributing text or adaptations,
|
| 238 |
+
identify your changes, and preserve appropriate source links. Wikipedia can
|
| 239 |
+
contain quotations or other third-party material with additional terms. Wikidata
|
| 240 |
+
identifiers refer to [Wikidata](https://www.wikidata.org/wiki/Wikidata:Licensing),
|
| 241 |
+
whose structured data is available under CC0; their presence does not change the
|
| 242 |
+
license of the article text. Images and other media binaries are not included.
|
| 243 |
+
|
| 244 |
+
Potential uses include Russian text analysis, inspection of markup extraction and
|
| 245 |
+
research on Wikipedia editorial metadata or category relationships. This is a
|
| 246 |
+
small, editorially selected portion of Russian Wikipedia, not a representative
|
| 247 |
+
sample of Russian writing or an evenly balanced subject collection. Quality
|
| 248 |
+
status does not guarantee accuracy, neutrality, completeness or suitability for
|
| 249 |
+
any downstream application. Articles can contain sensitive, biased, outdated or
|
| 250 |
+
offensive material. The partial subject labels described here do not establish a complete reference
|
| 251 |
+
annotation. Downstream preprocessing, deduplication policy and research splits
|
| 252 |
+
must be specified separately.
|
| 253 |
+
|
| 254 |
+
## Published file identity
|
| 255 |
+
|
| 256 |
+
| File | Compressed bytes | SHA-256 |
|
| 257 |
+
| --- | ---: | --- |
|
| 258 |
+
| `data/articles.jsonl.gz` | 413,342,335 | `9eb7efffe99fc7c9bc3f4b3eb9f0378d91f387081f97cf9abea9c1686797c1ed` |
|
| 259 |
+
| `data/topics.jsonl.gz` | 2,671 | `c8cf602a924f18255e155cdcaa9357907461851e849113c72051c2b89484f22c` |
|
| 260 |
+
|
| 261 |
+
The source article payload SHA-256 is
|
| 262 |
+
`c51f9b6bee4c85f25ffb861060f52490a9276bae289d2aa2db7e0d10e2dda950`.
|