add model
Browse files- config.json +63 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "NER-DistilBert-cased",
|
| 3 |
+
"activation": "gelu",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"DistilBertForTokenClassification"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.1,
|
| 8 |
+
"dim": 768,
|
| 9 |
+
"dropout": 0.1,
|
| 10 |
+
"hidden_dim": 3072,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "O",
|
| 13 |
+
"1": "B-PER",
|
| 14 |
+
"2": "I-PER",
|
| 15 |
+
"3": "B-ORG",
|
| 16 |
+
"4": "I-ORG",
|
| 17 |
+
"5": "B-GEO",
|
| 18 |
+
"6": "I-GEO",
|
| 19 |
+
"7": "B-GPE",
|
| 20 |
+
"8": "I-GPE",
|
| 21 |
+
"9": "B-TIM",
|
| 22 |
+
"10": "I-TIM",
|
| 23 |
+
"11": "B-ART",
|
| 24 |
+
"12": "I-ART",
|
| 25 |
+
"13": "B-EVE",
|
| 26 |
+
"14": "I-EVE",
|
| 27 |
+
"15": "B-NAT",
|
| 28 |
+
"16": "I-NAT"
|
| 29 |
+
},
|
| 30 |
+
"initializer_range": 0.02,
|
| 31 |
+
"label2id": {
|
| 32 |
+
"B-ART": "11",
|
| 33 |
+
"B-EVE": "13",
|
| 34 |
+
"B-GEO": "5",
|
| 35 |
+
"B-GPE": "7",
|
| 36 |
+
"B-NAT": "15",
|
| 37 |
+
"B-ORG": "3",
|
| 38 |
+
"B-PER": "1",
|
| 39 |
+
"B-TIM": "9",
|
| 40 |
+
"I-ART": "12",
|
| 41 |
+
"I-EVE": "14",
|
| 42 |
+
"I-GEO": "6",
|
| 43 |
+
"I-GPE": "8",
|
| 44 |
+
"I-NAT": "16",
|
| 45 |
+
"I-ORG": "4",
|
| 46 |
+
"I-PER": "2",
|
| 47 |
+
"I-TIM": "10",
|
| 48 |
+
"O": "0"
|
| 49 |
+
},
|
| 50 |
+
"max_position_embeddings": 512,
|
| 51 |
+
"model_type": "distilbert",
|
| 52 |
+
"n_heads": 12,
|
| 53 |
+
"n_layers": 6,
|
| 54 |
+
"output_past": true,
|
| 55 |
+
"pad_token_id": 0,
|
| 56 |
+
"qa_dropout": 0.1,
|
| 57 |
+
"seq_classif_dropout": 0.2,
|
| 58 |
+
"sinusoidal_pos_embds": false,
|
| 59 |
+
"tie_weights_": true,
|
| 60 |
+
"torch_dtype": "float32",
|
| 61 |
+
"transformers_version": "4.20.1",
|
| 62 |
+
"vocab_size": 28996
|
| 63 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a21acc14617ed20b92e3641c47472d37b6aa67a3e5a5313e5a5fe02055678e89
|
| 3 |
+
size 260848181
|