Upload BertForTokenClassification
Browse files- config.json +55 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "HooshvareLab/bert-fa-base-uncased",
|
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-pers",
|
14 |
+
"2": "I-pers",
|
15 |
+
"3": "B-pro",
|
16 |
+
"4": "I-pro",
|
17 |
+
"5": "B-loc",
|
18 |
+
"6": "I-loc",
|
19 |
+
"7": "B-fac",
|
20 |
+
"8": "I-fac",
|
21 |
+
"9": "B-event",
|
22 |
+
"10": "I-event",
|
23 |
+
"11": "B-org",
|
24 |
+
"12": "I-org"
|
25 |
+
},
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"intermediate_size": 3072,
|
28 |
+
"label2id": {
|
29 |
+
"B-event": 9,
|
30 |
+
"B-fac": 7,
|
31 |
+
"B-loc": 5,
|
32 |
+
"B-org": 11,
|
33 |
+
"B-pers": 1,
|
34 |
+
"B-pro": 3,
|
35 |
+
"I-event": 10,
|
36 |
+
"I-fac": 8,
|
37 |
+
"I-loc": 6,
|
38 |
+
"I-org": 12,
|
39 |
+
"I-pers": 2,
|
40 |
+
"I-pro": 4,
|
41 |
+
"O": 0
|
42 |
+
},
|
43 |
+
"layer_norm_eps": 1e-12,
|
44 |
+
"max_position_embeddings": 512,
|
45 |
+
"model_type": "bert",
|
46 |
+
"num_attention_heads": 12,
|
47 |
+
"num_hidden_layers": 12,
|
48 |
+
"pad_token_id": 0,
|
49 |
+
"position_embedding_type": "absolute",
|
50 |
+
"torch_dtype": "float32",
|
51 |
+
"transformers_version": "4.33.1",
|
52 |
+
"type_vocab_size": 2,
|
53 |
+
"use_cache": true,
|
54 |
+
"vocab_size": 100000
|
55 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1c93b2da32d8bc54cc54c25162bb1f12c4c18df8822b0bfe0487a7e704b6d3c
|
3 |
+
size 649107881
|