Datasets:
Tasks:
Token Classification
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
1K<n<10K
License:
Update ner.py
Browse files
ner.py
CHANGED
|
@@ -3,7 +3,7 @@ import datasets
|
|
| 3 |
logger = datasets.logging.get_logger(__name__)
|
| 4 |
|
| 5 |
_URL = "https://raw.githubusercontent.com/Kriyansparsana/demorepo/main/"
|
| 6 |
-
_TRAINING_FILE = "wnut17train%20(1).
|
| 7 |
_DEV_FILE = "indian_ner_dev.conll"
|
| 8 |
_TEST_FILE = "indian_ner_test.conll"
|
| 9 |
|
|
@@ -36,9 +36,9 @@ class indian_names(datasets.GeneratorBasedBuilder):
|
|
| 36 |
datasets.features.ClassLabel(
|
| 37 |
names=[
|
| 38 |
"O",
|
| 39 |
-
"
|
| 40 |
"I-corporation",
|
| 41 |
-
"
|
| 42 |
"I-person",
|
| 43 |
]
|
| 44 |
)
|
|
|
|
| 3 |
logger = datasets.logging.get_logger(__name__)
|
| 4 |
|
| 5 |
_URL = "https://raw.githubusercontent.com/Kriyansparsana/demorepo/main/"
|
| 6 |
+
_TRAINING_FILE = "wnut17train%20(1).conlL"
|
| 7 |
_DEV_FILE = "indian_ner_dev.conll"
|
| 8 |
_TEST_FILE = "indian_ner_test.conll"
|
| 9 |
|
|
|
|
| 36 |
datasets.features.ClassLabel(
|
| 37 |
names=[
|
| 38 |
"O",
|
| 39 |
+
"ORG",
|
| 40 |
"I-corporation",
|
| 41 |
+
"PER",
|
| 42 |
"I-person",
|
| 43 |
]
|
| 44 |
)
|