Minggz commited on
Commit
34b616d
·
verified ·
1 Parent(s): fe45e66

update Readme

Browse files
Files changed (1) hide show
  1. README.md +43 -1
README.md CHANGED
@@ -7,4 +7,46 @@ tags:
7
  - legal
8
  size_categories:
9
  - 10K<n<100K
10
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  - legal
8
  size_categories:
9
  - 10K<n<100K
10
+ ---
11
+ ## Vi-Ner
12
+
13
+ ### Dataset Description
14
+ ner_tags: a list of classification labels (int). Full tagset with indices:
15
+
16
+ ```python
17
+ {'B-DATETIME': 0,
18
+ 'B-LOCATION': 1,
19
+ 'B-ORGANIZATION': 2,
20
+ 'B-PERSON': 3,
21
+ 'I-DATETIME': 4,
22
+ 'I-LOCATION': 5,
23
+ 'I-ORGANIZATION': 6,
24
+ 'I-PERSON': 7,
25
+ 'O': 8}
26
+ ```
27
+ ### Data Splits
28
+
29
+ | name |train|validation|test|
30
+ |---------|----:|---------:|---:|
31
+ | Vi-Ner |19255| 2407|2407|
32
+ ### Example
33
+
34
+ An example of 'train' looks as follows.
35
+
36
+ ```
37
+ {
38
+ {'tokens': "['NSƯT', 'Hồng', 'Liên', '(trái)', 'đến', 'chúc', 'mừng', 'Thu', 'Trang..']",
39
+ 'ner_tags': "['B-PERSON', 'I-PERSON', 'I-PERSON', 'O', 'O', 'O', 'O', 'B-PERSON', 'I-PERSON']",
40
+ 'ner_idx': '[3, 7, 7, 8, 8, 8, 8, 3, 7]'}
41
+ }
42
+ ```
43
+
44
+ ### Usage
45
+
46
+ python
47
+ ```
48
+ import datasets
49
+ vi_ner = datasets.load_dataset('Minggz/Vi-Ner')
50
+ vi_ner
51
+
52
+ ```