avramandrei commited on
Commit
9c73095
·
verified ·
1 Parent(s): a6cc79d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -1
README.md CHANGED
@@ -56,4 +56,34 @@ tags:
56
  - romanian
57
  size_categories:
58
  - 10K<n<100K
59
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  - romanian
57
  size_categories:
58
  - 10K<n<100K
59
+ ---
60
+
61
+ # HistNERo
62
+
63
+ This repository contains the Historical Romanian Named Entity Recognition (HistNERo) dataset. The dataset has 10,026 sentences (i.e. 8,020 train, 1,003 valid and 1,003 train) annotated with five named entities: PERSON, ORGANIZATION, LOCATION, PRODUCT and DATE.
64
+
65
+ ## Loading
66
+
67
+ To load the dataset, simply run:
68
+
69
+ ```Python
70
+ from datasets import load_dataset
71
+
72
+ dataset = load_dataset("avramandrei/histnero")
73
+ ```
74
+
75
+ Each sample respects the following format:
76
+ ```json
77
+ {
78
+ "id": "528",
79
+ "ner_tags": [0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 3, 4, 4, 4, 4, 0],
80
+ "tokens": ["maĭ", "incóce", "vidu", "locuitoriĭ", "suburbiilorŭ", ",", "iar", "la", "riul", "Sabiĭului", "de", "càtrâ", "bisericâ", "romanéscâ", "gr.", "unitá", "Mai", "."],
81
+ "doc_id": "Brasov_20-_20Gazeta_20Transilvaniei_201852.ann",
82
+ "region": "Transylvania"
83
+ }
84
+ ```
85
+
86
+ ## Citation
87
+
88
+ Work in progress...
89
+