add model
Browse files- config.json +65 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "cner_output/model/baseline_2021/bert_large/best_model",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForTokenClassification"
|
| 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": 1024,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "B-corporation",
|
| 14 |
+
"1": "B-creative_work",
|
| 15 |
+
"2": "B-event",
|
| 16 |
+
"3": "B-group",
|
| 17 |
+
"4": "B-location",
|
| 18 |
+
"5": "B-person",
|
| 19 |
+
"6": "B-product",
|
| 20 |
+
"7": "I-corporation",
|
| 21 |
+
"8": "I-creative_work",
|
| 22 |
+
"9": "I-event",
|
| 23 |
+
"10": "I-group",
|
| 24 |
+
"11": "I-location",
|
| 25 |
+
"12": "I-person",
|
| 26 |
+
"13": "I-product",
|
| 27 |
+
"14": "O"
|
| 28 |
+
},
|
| 29 |
+
"initializer_range": 0.02,
|
| 30 |
+
"intermediate_size": 4096,
|
| 31 |
+
"label2id": {
|
| 32 |
+
"B-corporation": 0,
|
| 33 |
+
"B-creative_work": 1,
|
| 34 |
+
"B-event": 2,
|
| 35 |
+
"B-group": 3,
|
| 36 |
+
"B-location": 4,
|
| 37 |
+
"B-person": 5,
|
| 38 |
+
"B-product": 6,
|
| 39 |
+
"I-corporation": 7,
|
| 40 |
+
"I-creative_work": 8,
|
| 41 |
+
"I-event": 9,
|
| 42 |
+
"I-group": 10,
|
| 43 |
+
"I-location": 11,
|
| 44 |
+
"I-person": 12,
|
| 45 |
+
"I-product": 13,
|
| 46 |
+
"O": 14
|
| 47 |
+
},
|
| 48 |
+
"layer_norm_eps": 1e-12,
|
| 49 |
+
"max_position_embeddings": 512,
|
| 50 |
+
"model_type": "bert",
|
| 51 |
+
"num_attention_heads": 16,
|
| 52 |
+
"num_hidden_layers": 24,
|
| 53 |
+
"pad_token_id": 0,
|
| 54 |
+
"pooler_fc_size": 768,
|
| 55 |
+
"pooler_num_attention_heads": 12,
|
| 56 |
+
"pooler_num_fc_layers": 3,
|
| 57 |
+
"pooler_size_per_head": 128,
|
| 58 |
+
"pooler_type": "first_token_transform",
|
| 59 |
+
"position_embedding_type": "absolute",
|
| 60 |
+
"torch_dtype": "float32",
|
| 61 |
+
"transformers_version": "4.17.0",
|
| 62 |
+
"type_vocab_size": 2,
|
| 63 |
+
"use_cache": true,
|
| 64 |
+
"vocab_size": 28996
|
| 65 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a29d89fa2378a5a0b8192f18816ca818651a0da87310a4ab4b415cc427204494
|
| 3 |
+
size 1330337393
|