File size: 3,219 Bytes
2296a19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c87a548
2296a19
 
c87a548
 
 
 
 
 
 
290b888
c87a548
 
 
 
9ce4d8b
 
 
 
 
 
 
 
 
 
290b888
9ce4d8b
 
 
 
 
 
 
290b888
9ce4d8b
 
 
 
 
2296a19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5de161c
9ce4d8b
 
5de161c
2296a19
 
5de161c
2296a19
 
5de161c
2296a19
 
5de161c
 
 
2296a19
2be619d
2296a19
 
 
 
290b888
2296a19
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
97
98
---
license: cc-by-nc-sa-4.0
pretty_name: "Nordisk Familjebok Category Classification Dataset"
language:
- sv
size_categories:
- 1K<n<10K
task_categories:
- text-classification
tags:
- datasets
- pandas
- polars
libraries:
- datasets
- pandas
- polars
- croissant
train_size: 5100
test_size: 900
date_published: "2024-12-09"
version: "1.0.0"
cite_as: "@dataset{albinandersson2024categories,
   title = {Nordisk Familjebok Category Classification Dataset},
   author = {Albin Andersson and Salam Jonasson and Fredrik Wastring},
   year = {2024},
   publisher = {Hugging Face},
   url = {https://huggingface.co/datasets/albinandersson/nf-category-classification}
}"
modalities:
- text
formats:
- jsonl

croissant:
  "@context":
    "@vocab": "http://mlcommons.org/croissant/"
    schema: "https://schema.org/"
    citeAs: "http://mlcommons.org/croissant/citeAs"
  "@type": "Dataset"
  name: "Nordisk Familjebok Category Classification Dataset"
  description: "This dataset contains 6,000 manually annotated text entries from Nordisk Familjebok, classified into three categories: locations, persons, and other miscellaneous entries."
  url: "https://huggingface.co/datasets/albinandersson/nf-category-classification"
  version: "1.0.0"
  datePublished: "2024-12-09"
  citeAs: "@dataset{albinandersson2024,
    title = {Nordisk Familjebok Category Classification Dataset},
    author = {Albin Andersson and Salam Jonasson and Fredrik Wastring},
    year = {2024},
    publisher = {Hugging Face},
    url = {https://huggingface.co/datasets/albinandersson/nf-category-classification}
  }"
  license: "https://creativecommons.org/licenses/by-nc-sa/4.0/"
  creator:
    "@type": "Organization"
    name: "Albin Andersson, Salam Jonasson, Fredrik Wastring"
---

# Dataset Name: Nordisk Familjebok Category Classification Dataset

## Description
This dataset contains 6,000 manually annotated text entries from Nordisk Familjebok, classified into three categories: locations, persons, and other miscellaneous entries.

## Dataset Statistics
Train set distribution (5,100 entries):
- Other (0): 1,997 entries
- Location (1): 1,858 entries  
- Person (2): 1,245 entries

Test set distribution (900 entries):
- Other (0): 330 entries
- Location (1): 335 entries
- Person (2): 235 entries

## Files
- **train_set.jsonl**: Contains 5,100 entries with text and category labels
- **test_set.jsonl**: Contains 900 manually verified entries for evaluation

## Data Fields
- definition: Definition from Nordisk Familjebok
- type: Category label integer (0: Other, 1: Location, 2: Person)

## Licensing
This dataset is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). Users can use, modify, and share this dataset for non-commercial purposes with appropriate credit and under the same license.

## Citation

If you use this dataset, please cite it as follows:

```bibtex
@misc{albinandersson2024categories,
   title = {Nordisk Familjebok Category Classification Dataset},
   author = {Albin Andersson and Salam Jonasson and Fredrik Wastring},
   year = {2024},
   publisher = {Hugging Face},
   url = {https://huggingface.co/datasets/albinandersson/nf-category-classification}
}