Update README.md
Browse files
README.md
CHANGED
@@ -24,8 +24,30 @@ dataset_info:
|
|
24 |
num_bytes: 103804881.40724319
|
25 |
num_examples: 70953
|
26 |
download_size: 284679882
|
27 |
-
dataset_size: 519018555
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
---
|
29 |
-
#
|
30 |
|
31 |
-
[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
num_bytes: 103804881.40724319
|
25 |
num_examples: 70953
|
26 |
download_size: 284679882
|
27 |
+
dataset_size: 519018555
|
28 |
+
license: mit
|
29 |
+
task_categories:
|
30 |
+
- text-classification
|
31 |
+
language:
|
32 |
+
- da
|
33 |
+
tags:
|
34 |
+
- chemistry
|
35 |
+
- biology
|
36 |
+
- finance
|
37 |
+
- legal
|
38 |
+
- music
|
39 |
+
- art
|
40 |
+
- webdataset
|
41 |
---
|
42 |
+
# Danish Wikipedia Categories
|
43 |
|
44 |
+
The dataset was created entirely from the [last Danish Wikipedia dump](https://dumps.wikimedia.org/dawiki/20240101/)
|
45 |
+
by traversing the category hierarchy in the [categorylinks table](https://www.mediawiki.org/wiki/Manual:Categorylinks_table).
|
46 |
+
|
47 |
+
All categories that were one level bellow the topcategories, and which had more than 30 articles assigned to them were selected.
|
48 |
+
In order to see whether an article belongs to a certain category I checked, whether the article was connected to the category in the directed graph of the category hierarchy.
|
49 |
+
If the length of the path between the article and a category was less than or equal to 5 edges (arbitrary choice, but I found it to work well),
|
50 |
+
the category was assigned to the article.
|
51 |
+
|
52 |
+
Note that this is a multilabel classification task.
|
53 |
+
Its purpose is to train sentence transformers for the [DFM project](https://centre-for-humanities-computing.github.io/danish-foundation-models/) using a technique similar to [SetFit](https://arxiv.org/abs/2209.11055).
|