Commit ·
306f3e7
1
Parent(s): 3790960
Upload config.json with huggingface_hub
Browse files- config.json +6 -44
config.json
CHANGED
|
@@ -1,46 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"0": "O",
|
| 9 |
-
"1": "B-GeographicalLocation",
|
| 10 |
-
"2": "I-GeographicalLocation",
|
| 11 |
-
"3": "B-Habitat",
|
| 12 |
-
"4": "I-Habitat",
|
| 13 |
-
"5": "B-Person",
|
| 14 |
-
"6": "I-Person",
|
| 15 |
-
"7": "B-Taxon",
|
| 16 |
-
"8": "I-Taxon",
|
| 17 |
-
"9": "B-TemporalExpression",
|
| 18 |
-
"10": "I-TemporalExpression"
|
| 19 |
-
},
|
| 20 |
-
"intermediate_size": 3072,
|
| 21 |
-
"label_to_id": {
|
| 22 |
-
"O": 0,
|
| 23 |
-
"B-GeographicalLocation": 1,
|
| 24 |
-
"I-GeographicalLocation": 2,
|
| 25 |
-
"B-Habitat": 3,
|
| 26 |
-
"I-Habitat": 4,
|
| 27 |
-
"B-Person": 5,
|
| 28 |
-
"I-Person": 6,
|
| 29 |
-
"B-Taxon": 7,
|
| 30 |
-
"I-Taxon": 8,
|
| 31 |
-
"B-TemporalExpression": 9,
|
| 32 |
-
"I-TemporalExpression": 10
|
| 33 |
-
},
|
| 34 |
-
"layer_norm_eps": 1e-12,
|
| 35 |
-
"max_position_embeddings": 512,
|
| 36 |
-
"model_type": "bert",
|
| 37 |
-
"num_attention_heads": 12,
|
| 38 |
-
"num_hidden_layers": 12,
|
| 39 |
-
"pad_token_id": 0,
|
| 40 |
-
"max_window": 512,
|
| 41 |
-
"position_embedding_type": "absolute",
|
| 42 |
-
"torch_dtype": "float32",
|
| 43 |
-
"type_vocab_size": 2,
|
| 44 |
-
"use_cache": true,
|
| 45 |
-
"vocab_size": 30522
|
| 46 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_type": "TransformerTokenClassificationModel",
|
| 3 |
+
"model_name_or_path": "bert-base-uncased",
|
| 4 |
+
"num_classes": 11,
|
| 5 |
+
"learning_rate": 1e-05,
|
| 6 |
+
"label_pad_token_id": -100,
|
| 7 |
+
"ignore_index": 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
}
|