mahdiyehebrahimi commited on
Commit
d64a6c2
1 Parent(s): 7f781bc

Update nerutc.py

Browse files
Files changed (1) hide show
  1. nerutc.py +7 -17
nerutc.py CHANGED
@@ -10,8 +10,8 @@ _CITATION = """"""
10
  _DESCRIPTION = """"""
11
 
12
  _DOWNLOAD_URLS = {
13
- "train": "https://huggingface.co/datasets/hezarai/parstwiner/resolve/main/parstwiner_train.csv",
14
- "test": "https://huggingface.co/datasets/hezarai/parstwiner/resolve/main/parstwiner_test.csv",
15
  }
16
 
17
 
@@ -23,8 +23,8 @@ class ParsTwiNERConfig(datasets.BuilderConfig):
23
  class ParsTwiNER(datasets.GeneratorBasedBuilder):
24
  BUILDER_CONFIGS = [
25
  ParsTwiNERConfig(
26
- name="ParsTwiNER",
27
- version=datasets.Version("1.0.0"),
28
  description=_DESCRIPTION,
29
  ),
30
  ]
@@ -39,24 +39,14 @@ class ParsTwiNER(datasets.GeneratorBasedBuilder):
39
  datasets.features.ClassLabel(
40
  names=[
41
  "O",
42
- "B-POG",
43
- "I-POG",
44
- "B-PER",
45
- "I-PER",
46
- "B-ORG",
47
- "I-ORG",
48
- "B-NAT",
49
- "I-NAT",
50
- "B-LOC",
51
- "I-LOC",
52
- "B-EVE",
53
- "I-EVE",
54
  ]
55
  )
56
  ),
57
  }
58
  ),
59
- homepage="https://github.com/overfit-ir/parstwiner",
60
  citation=_CITATION,
61
  )
62
 
 
10
  _DESCRIPTION = """"""
11
 
12
  _DOWNLOAD_URLS = {
13
+ "train": "https://huggingface.co/datasets/mahdiyehebrahimi/nerutc/raw/main/nerutc_train.csv",
14
+ "test": "https://huggingface.co/datasets/mahdiyehebrahimi/nerutc/raw/main/nerutc_test.csv",
15
  }
16
 
17
 
 
23
  class ParsTwiNER(datasets.GeneratorBasedBuilder):
24
  BUILDER_CONFIGS = [
25
  ParsTwiNERConfig(
26
+ name="nerutc",
27
+ version=datasets.Version("1.1.1"),
28
  description=_DESCRIPTION,
29
  ),
30
  ]
 
39
  datasets.features.ClassLabel(
40
  names=[
41
  "O",
42
+ "B-UNI",
43
+ "I-UNI",
 
 
 
 
 
 
 
 
 
 
44
  ]
45
  )
46
  ),
47
  }
48
  ),
49
+ homepage="https://huggingface.co/datasets/mahdiyehebrahimi/nerutc",
50
  citation=_CITATION,
51
  )
52