Upload BertForSequenceClassification
Browse files- config.json +67 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/workspace/model_outputs_test/presui-label_exact_15-mapping_prior_label_v0/best_model/",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"directionality": "bidi",
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "LABEL_0",
|
| 14 |
+
"1": "LABEL_1",
|
| 15 |
+
"2": "LABEL_2",
|
| 16 |
+
"3": "LABEL_3",
|
| 17 |
+
"4": "LABEL_4",
|
| 18 |
+
"5": "LABEL_5",
|
| 19 |
+
"6": "LABEL_6",
|
| 20 |
+
"7": "LABEL_7",
|
| 21 |
+
"8": "LABEL_8",
|
| 22 |
+
"9": "LABEL_9",
|
| 23 |
+
"10": "LABEL_10",
|
| 24 |
+
"11": "LABEL_11",
|
| 25 |
+
"12": "LABEL_12",
|
| 26 |
+
"13": "LABEL_13",
|
| 27 |
+
"14": "LABEL_14"
|
| 28 |
+
},
|
| 29 |
+
"initializer_range": 0.02,
|
| 30 |
+
"intermediate_size": 3072,
|
| 31 |
+
"label2id": {
|
| 32 |
+
"\u0414\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0438\u0432\u043d\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435/\u0430\u043b\u043a\u043e\u0433\u043e\u043b\u044c \u0438 \u043d\u0430\u0440\u043a\u043e\u0442\u0438\u043a\u0438": 0,
|
| 33 |
+
"\u0414\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0438\u0432\u043d\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435/\u0441\u0430\u043c\u043e\u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435": 1,
|
| 34 |
+
"\u0414\u0440\u0443\u0433\u043e\u0435": 2,
|
| 35 |
+
"\u0417\u0430\u0449\u0438\u0442\u043d\u044b\u0435 \u0444\u0430\u043a\u0442\u043e\u0440\u044b": 3,
|
| 36 |
+
"\u041a\u043b\u0438\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0440\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f": 4,
|
| 37 |
+
"\u041a\u043b\u0438\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0440\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f/\u0434\u0435\u043f\u0440\u0435\u0441\u0441\u0438\u044f": 5,
|
| 38 |
+
"\u041a\u043b\u0438\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0440\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f/\u043f\u043b\u0430\u0447, \u0438\u0441\u0442\u0435\u0440\u0438\u043a\u0438": 6,
|
| 39 |
+
"\u041a\u043b\u0438\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0440\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f/\u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0441\u0443\u0438\u0446\u0438\u0434\u0430 \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c": 7,
|
| 40 |
+
"\u041d\u0435\u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0439": 8,
|
| 41 |
+
"\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432 \u0441\u0435\u043c\u044c\u0435": 9,
|
| 42 |
+
"\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432\u043e \u0432\u043d\u0435\u0448\u043d\u0435\u043c \u043c\u0438\u0440\u0435/\u043d\u0435\u0441\u0447\u0430\u0441\u0442\u043d\u0430\u044f \u043b\u044e\u0431\u043e\u0432\u044c, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u0434\u0440\u0443\u0437\u044c\u044f\u043c\u0438, \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0439 \u0438 \u0427\u0443\u0432\u0441\u0442\u0432\u0430/\u043e\u0434\u0438\u043d\u043e\u0447\u0435\u0441\u0442\u0432\u043e, \u043d\u0435\u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0438\u0437\u043e\u043b\u044f\u0446\u0438\u044f, \u0431\u0440\u043e\u0448\u0435\u043d\u043d\u043e\u0441\u0442\u044c": 10,
|
| 43 |
+
"\u0421\u043c\u0435\u0440\u0442\u044c/\u043c\u044b\u0441\u043b\u0438 \u043e \u0441\u043c\u0435\u0440\u0442\u0438 \u0438 \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u0438\u044f \u0441\u0430\u043c\u043e\u0443\u0431\u0438\u0439\u0441\u0442\u0432\u0430": 11,
|
| 44 |
+
"\u0421\u043c\u0435\u0440\u0442\u044c/\u0441\u043c\u0435\u0440\u0442\u044c, \u043d\u0435\u0441\u0447\u0430\u0441\u0442\u043d\u044b\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u0438\u043b\u0438 \u0441\u0443\u0438\u0446\u0438\u0434 \u0431\u043b\u0438\u0437\u043a\u0438\u0445": 12,
|
| 45 |
+
"\u0427\u0443\u0432\u0441\u0442\u0432\u0430": 13,
|
| 46 |
+
"\u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438 \u0441\u0435\u043a\u0441\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u043d\u0430\u0441\u0438\u043b\u0438\u0435, \u0442\u0440\u0430\u0432\u043b\u044f": 14
|
| 47 |
+
},
|
| 48 |
+
"layer_norm_eps": 1e-12,
|
| 49 |
+
"max_position_embeddings": 512,
|
| 50 |
+
"model_type": "bert",
|
| 51 |
+
"num_attention_heads": 12,
|
| 52 |
+
"num_hidden_layers": 12,
|
| 53 |
+
"output_past": true,
|
| 54 |
+
"pad_token_id": 0,
|
| 55 |
+
"pooler_fc_size": 768,
|
| 56 |
+
"pooler_num_attention_heads": 12,
|
| 57 |
+
"pooler_num_fc_layers": 3,
|
| 58 |
+
"pooler_size_per_head": 128,
|
| 59 |
+
"pooler_type": "first_token_transform",
|
| 60 |
+
"position_embedding_type": "absolute",
|
| 61 |
+
"problem_type": "single_label_classification",
|
| 62 |
+
"torch_dtype": "float32",
|
| 63 |
+
"transformers_version": "4.36.2",
|
| 64 |
+
"type_vocab_size": 2,
|
| 65 |
+
"use_cache": true,
|
| 66 |
+
"vocab_size": 119547
|
| 67 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77605228ae50ba853798463a2fdaf2a50c9962bcfd602ecefa7a0205353ec07e
|
| 3 |
+
size 711483452
|