Upload BertForTokenClassification
Browse files- config.json +28 -28
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"BertForTokenClassification"
|
5 |
],
|
@@ -9,36 +9,36 @@
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "
|
17 |
-
"5": "
|
18 |
-
"6": "
|
19 |
-
"7": "
|
20 |
-
"8": "
|
21 |
-
"9": "
|
22 |
-
"10": "
|
23 |
-
"11": "
|
24 |
-
"12": "
|
25 |
},
|
26 |
"initializer_range": 0.02,
|
27 |
"intermediate_size": 3072,
|
28 |
"label2id": {
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
42 |
},
|
43 |
"layer_norm_eps": 1e-12,
|
44 |
"max_position_embeddings": 512,
|
@@ -48,7 +48,7 @@
|
|
48 |
"pad_token_id": 0,
|
49 |
"position_embedding_type": "absolute",
|
50 |
"torch_dtype": "float32",
|
51 |
-
"transformers_version": "4.
|
52 |
"type_vocab_size": 2,
|
53 |
"use_cache": true,
|
54 |
"vocab_size": 31116
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/content/drive/MyDrive/Colab/NER-bert-sci/ner-scibert-model",
|
3 |
"architectures": [
|
4 |
"BertForTokenClassification"
|
5 |
],
|
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
+
"0": "B-Material",
|
13 |
+
"1": "O",
|
14 |
+
"2": "B-OtherScientificTerm",
|
15 |
+
"3": "I-OtherScientificTerm",
|
16 |
+
"4": "B-Generic",
|
17 |
+
"5": "B-Method",
|
18 |
+
"6": "I-Method",
|
19 |
+
"7": "B-Task",
|
20 |
+
"8": "I-Task",
|
21 |
+
"9": "I-Material",
|
22 |
+
"10": "B-Metric",
|
23 |
+
"11": "I-Metric",
|
24 |
+
"12": "I-Generic"
|
25 |
},
|
26 |
"initializer_range": 0.02,
|
27 |
"intermediate_size": 3072,
|
28 |
"label2id": {
|
29 |
+
"B-Generic": 4,
|
30 |
+
"B-Material": 0,
|
31 |
+
"B-Method": 5,
|
32 |
+
"B-Metric": 10,
|
33 |
+
"B-OtherScientificTerm": 2,
|
34 |
+
"B-Task": 7,
|
35 |
+
"I-Generic": 12,
|
36 |
+
"I-Material": 9,
|
37 |
+
"I-Method": 6,
|
38 |
+
"I-Metric": 11,
|
39 |
+
"I-OtherScientificTerm": 3,
|
40 |
+
"I-Task": 8,
|
41 |
+
"O": 1
|
42 |
},
|
43 |
"layer_norm_eps": 1e-12,
|
44 |
"max_position_embeddings": 512,
|
|
|
48 |
"pad_token_id": 0,
|
49 |
"position_embedding_type": "absolute",
|
50 |
"torch_dtype": "float32",
|
51 |
+
"transformers_version": "4.24.0",
|
52 |
"type_vocab_size": 2,
|
53 |
"use_cache": true,
|
54 |
"vocab_size": 31116
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:adc59d70f94bae58803d0ed62854baebccae273610e7ad75648cbf496a8131da
|
3 |
+
size 437498929
|