bert-cybersecurity-NER / config.json
danitamayo's picture
Upload DistilBertForTokenClassification
9d92d1f
{
"_name_or_path": "distilbert-base-uncased",
"activation": "gelu",
"architectures": [
"DistilBertForTokenClassification"
],
"attention_dropout": 0.1,
"dim": 768,
"dropout": 0.1,
"hidden_dim": 3072,
"id2label": {
"0": "I-update",
"1": "I-version",
"2": "B-programming language",
"3": "B-relevant_term",
"4": "B-parameter",
"5": "I-relevant_term",
"6": "B-vendor",
"7": "B-function",
"8": "B-version",
"9": "B-hardware",
"10": "I-application",
"11": "B-os",
"12": "O",
"13": "B-cve id",
"14": "B-update",
"15": "I-edition",
"16": "I-hardware",
"17": "I-os",
"18": "B-edition",
"19": "B-application",
"20": "B-language",
"21": "B-file",
"22": "B-method",
"23": "I-vendor"
},
"initializer_range": 0.02,
"label2id": {
"B-application": 19,
"B-cve id": 13,
"B-edition": 18,
"B-file": 21,
"B-function": 7,
"B-hardware": 9,
"B-language": 20,
"B-method": 22,
"B-os": 11,
"B-parameter": 4,
"B-programming language": 2,
"B-relevant_term": 3,
"B-update": 14,
"B-vendor": 6,
"B-version": 8,
"I-application": 10,
"I-edition": 15,
"I-hardware": 16,
"I-os": 17,
"I-relevant_term": 5,
"I-update": 0,
"I-vendor": 23,
"I-version": 1,
"O": 12
},
"max_position_embeddings": 512,
"model_type": "distilbert",
"n_heads": 12,
"n_layers": 6,
"pad_token_id": 0,
"qa_dropout": 0.1,
"seq_classif_dropout": 0.2,
"sinusoidal_pos_embds": false,
"tie_weights_": true,
"torch_dtype": "float32",
"transformers_version": "4.27.3",
"vocab_size": 30522
}