Upload BertForTokenClassification
Browse files- README.md +9 -9
- config.json +19 -19
README.md
CHANGED
|
@@ -15,8 +15,8 @@ model-index:
|
|
| 15 |
- name: bert-ner-conll2003
|
| 16 |
results:
|
| 17 |
- task:
|
| 18 |
-
name: Token Classification
|
| 19 |
type: token-classification
|
|
|
|
| 20 |
dataset:
|
| 21 |
name: conll2003
|
| 22 |
type: conll2003
|
|
@@ -24,18 +24,18 @@ model-index:
|
|
| 24 |
split: validation
|
| 25 |
args: conll2003
|
| 26 |
metrics:
|
| 27 |
-
-
|
| 28 |
-
type: precision
|
| 29 |
value: 0.9414244508542268
|
| 30 |
-
|
| 31 |
-
|
| 32 |
value: 0.9493231905134802
|
| 33 |
-
|
| 34 |
-
|
| 35 |
value: 0.9453573218960619
|
| 36 |
-
|
| 37 |
-
|
| 38 |
value: 0.9865601220074031
|
|
|
|
| 39 |
---
|
| 40 |
|
| 41 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 15 |
- name: bert-ner-conll2003
|
| 16 |
results:
|
| 17 |
- task:
|
|
|
|
| 18 |
type: token-classification
|
| 19 |
+
name: Token Classification
|
| 20 |
dataset:
|
| 21 |
name: conll2003
|
| 22 |
type: conll2003
|
|
|
|
| 24 |
split: validation
|
| 25 |
args: conll2003
|
| 26 |
metrics:
|
| 27 |
+
- type: precision
|
|
|
|
| 28 |
value: 0.9414244508542268
|
| 29 |
+
name: Precision
|
| 30 |
+
- type: recall
|
| 31 |
value: 0.9493231905134802
|
| 32 |
+
name: Recall
|
| 33 |
+
- type: f1
|
| 34 |
value: 0.9453573218960619
|
| 35 |
+
name: F1
|
| 36 |
+
- type: accuracy
|
| 37 |
value: 0.9865601220074031
|
| 38 |
+
name: Accuracy
|
| 39 |
---
|
| 40 |
|
| 41 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "bert-
|
| 3 |
"architectures": [
|
| 4 |
"BertForTokenClassification"
|
| 5 |
],
|
|
@@ -10,28 +10,28 @@
|
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
-
"0": "
|
| 14 |
-
"1": "
|
| 15 |
-
"2": "
|
| 16 |
-
"3": "
|
| 17 |
-
"4": "
|
| 18 |
-
"5": "
|
| 19 |
-
"6": "
|
| 20 |
-
"7": "
|
| 21 |
-
"8": "
|
| 22 |
},
|
| 23 |
"initializer_range": 0.02,
|
| 24 |
"intermediate_size": 3072,
|
| 25 |
"label2id": {
|
| 26 |
-
"
|
| 27 |
-
"
|
| 28 |
-
"
|
| 29 |
-
"
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
-
"
|
| 33 |
-
"
|
| 34 |
-
"
|
| 35 |
},
|
| 36 |
"layer_norm_eps": 1e-12,
|
| 37 |
"max_position_embeddings": 512,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "PassbyGrocer/bert-ner-conll2003",
|
| 3 |
"architectures": [
|
| 4 |
"BertForTokenClassification"
|
| 5 |
],
|
|
|
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
+
"0": "O",
|
| 14 |
+
"1": "B-PER",
|
| 15 |
+
"2": "I-PER",
|
| 16 |
+
"3": "B-ORG",
|
| 17 |
+
"4": "I-ORG",
|
| 18 |
+
"5": "B-LOC",
|
| 19 |
+
"6": "I-LOC",
|
| 20 |
+
"7": "B-MISC",
|
| 21 |
+
"8": "I-MISC"
|
| 22 |
},
|
| 23 |
"initializer_range": 0.02,
|
| 24 |
"intermediate_size": 3072,
|
| 25 |
"label2id": {
|
| 26 |
+
"B-LOC": 5,
|
| 27 |
+
"B-MISC": 7,
|
| 28 |
+
"B-ORG": 3,
|
| 29 |
+
"B-PER": 1,
|
| 30 |
+
"I-LOC": 6,
|
| 31 |
+
"I-MISC": 8,
|
| 32 |
+
"I-ORG": 4,
|
| 33 |
+
"I-PER": 2,
|
| 34 |
+
"O": 0
|
| 35 |
},
|
| 36 |
"layer_norm_eps": 1e-12,
|
| 37 |
"max_position_embeddings": 512,
|