Upload BertForTokenClassification
Browse files- config.json +84 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "rmihaylov/bert-base-bg",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"by_layer_is_trainable": {
|
8 |
+
"0": true,
|
9 |
+
"1": true,
|
10 |
+
"10": true,
|
11 |
+
"11": true,
|
12 |
+
"12": true,
|
13 |
+
"13": true,
|
14 |
+
"14": true,
|
15 |
+
"15": true,
|
16 |
+
"16": true,
|
17 |
+
"17": true,
|
18 |
+
"18": true,
|
19 |
+
"19": true,
|
20 |
+
"2": true,
|
21 |
+
"20": true,
|
22 |
+
"21": true,
|
23 |
+
"22": true,
|
24 |
+
"23": true,
|
25 |
+
"3": true,
|
26 |
+
"4": true,
|
27 |
+
"5": true,
|
28 |
+
"6": true,
|
29 |
+
"7": true,
|
30 |
+
"8": true,
|
31 |
+
"9": true
|
32 |
+
},
|
33 |
+
"classifier_dropout": null,
|
34 |
+
"cls_trainable": true,
|
35 |
+
"directionality": "bidi",
|
36 |
+
"embedding_postprocessor_trainable": true,
|
37 |
+
"embeddings_layer_norm_trainable": true,
|
38 |
+
"hidden_act": "gelu",
|
39 |
+
"hidden_dropout_prob": 0.1,
|
40 |
+
"hidden_size": 768,
|
41 |
+
"id2label": {
|
42 |
+
"0": "LABEL_0",
|
43 |
+
"1": "LABEL_1",
|
44 |
+
"2": "LABEL_2",
|
45 |
+
"3": "LABEL_3",
|
46 |
+
"4": "LABEL_4",
|
47 |
+
"5": "LABEL_5",
|
48 |
+
"6": "LABEL_6"
|
49 |
+
},
|
50 |
+
"init_optimizer_variables": true,
|
51 |
+
"initializer_range": 0.02,
|
52 |
+
"intermediate_size": 3072,
|
53 |
+
"label2id": {
|
54 |
+
"LABEL_0": 0,
|
55 |
+
"LABEL_1": 1,
|
56 |
+
"LABEL_2": 2,
|
57 |
+
"LABEL_3": 3,
|
58 |
+
"LABEL_4": 4,
|
59 |
+
"LABEL_5": 5,
|
60 |
+
"LABEL_6": 6
|
61 |
+
},
|
62 |
+
"layer_norm_eps": 1e-12,
|
63 |
+
"max_position_embeddings": 512,
|
64 |
+
"model_type": "bert",
|
65 |
+
"num_attention_heads": 12,
|
66 |
+
"num_hidden_layers": 12,
|
67 |
+
"pad_token_id": 0,
|
68 |
+
"pooler_fc_size": 768,
|
69 |
+
"pooler_num_attention_heads": 12,
|
70 |
+
"pooler_num_fc_layers": 3,
|
71 |
+
"pooler_size_per_head": 128,
|
72 |
+
"pooler_trainable": true,
|
73 |
+
"pooler_type": "first_token_transform",
|
74 |
+
"position_embedding_type": "absolute",
|
75 |
+
"position_embeddings_trainable": true,
|
76 |
+
"token_type_trainable": true,
|
77 |
+
"torch_dtype": "float32",
|
78 |
+
"transformer_trainable": true,
|
79 |
+
"transformers_version": "4.26.1",
|
80 |
+
"type_vocab_size": 2,
|
81 |
+
"use_cache": true,
|
82 |
+
"vocab_size": 119549,
|
83 |
+
"word_embeddings_trainable": true
|
84 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6c20864f03d523c3551208c960557360b2af481c0734a10aeb07e0abf33df8af
|
3 |
+
size 709151213
|