MikkoLipsanen
commited on
Commit
•
ccdf3e0
1
Parent(s):
79f2dba
Upload BertForTokenClassification
Browse files- config.json +71 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/koodit/BERT_NER/bert_runs/27_06_23_tku_jyu_ka_e10_linear_lr_b16_lr2e-5/",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "O",
|
13 |
+
"1": "B-PERSON",
|
14 |
+
"2": "I-PERSON",
|
15 |
+
"3": "B-ORG",
|
16 |
+
"4": "I-ORG",
|
17 |
+
"5": "B-LOC",
|
18 |
+
"6": "I-LOC",
|
19 |
+
"7": "B-GPE",
|
20 |
+
"8": "I-GPE",
|
21 |
+
"9": "B-PRODUCT",
|
22 |
+
"10": "I-PRODUCT",
|
23 |
+
"11": "B-EVENT",
|
24 |
+
"12": "I-EVENT",
|
25 |
+
"13": "B-DATE",
|
26 |
+
"14": "I-DATE",
|
27 |
+
"15": "B-JON",
|
28 |
+
"16": "I-JON",
|
29 |
+
"17": "B-FIBC",
|
30 |
+
"18": "I-FIBC",
|
31 |
+
"19": "B-NORP",
|
32 |
+
"20": "I-NORP"
|
33 |
+
},
|
34 |
+
"initializer_range": 0.02,
|
35 |
+
"intermediate_size": 3072,
|
36 |
+
"label2id": {
|
37 |
+
"B-DATE": 13,
|
38 |
+
"B-EVENT": 11,
|
39 |
+
"B-FIBC": 17,
|
40 |
+
"B-GPE": 7,
|
41 |
+
"B-JON": 15,
|
42 |
+
"B-LOC": 5,
|
43 |
+
"B-NORP": 19,
|
44 |
+
"B-ORG": 3,
|
45 |
+
"B-PERSON": 1,
|
46 |
+
"B-PRODUCT": 9,
|
47 |
+
"I-DATE": 14,
|
48 |
+
"I-EVENT": 12,
|
49 |
+
"I-FIBC": 18,
|
50 |
+
"I-GPE": 8,
|
51 |
+
"I-JON": 16,
|
52 |
+
"I-LOC": 6,
|
53 |
+
"I-NORP": 20,
|
54 |
+
"I-ORG": 4,
|
55 |
+
"I-PERSON": 2,
|
56 |
+
"I-PRODUCT": 10,
|
57 |
+
"O": 0
|
58 |
+
},
|
59 |
+
"layer_norm_eps": 1e-12,
|
60 |
+
"max_position_embeddings": 512,
|
61 |
+
"model_type": "bert",
|
62 |
+
"num_attention_heads": 12,
|
63 |
+
"num_hidden_layers": 12,
|
64 |
+
"pad_token_id": 0,
|
65 |
+
"position_embedding_type": "absolute",
|
66 |
+
"torch_dtype": "float32",
|
67 |
+
"transformers_version": "4.26.1",
|
68 |
+
"type_vocab_size": 2,
|
69 |
+
"use_cache": true,
|
70 |
+
"vocab_size": 50105
|
71 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90e0252b8f1bfa887a2150c0fb8c8e6f1e1d6019cc8487f875f9b290cc74ca12
|
3 |
+
size 495859501
|