logtheus-ml-base / config.json
Aliph0th's picture
add model
01d3650 verified
{
"add_cross_attention": false,
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": null,
"classifier_dropout": null,
"dtype": "float32",
"eos_token_id": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "B-duration",
"1": "B-environment",
"2": "B-error_message",
"3": "B-event",
"4": "B-hostname",
"5": "B-ip",
"6": "B-level",
"7": "B-method",
"8": "B-path",
"9": "B-service",
"10": "B-status_code",
"11": "B-timestamp",
"12": "B-useragent",
"13": "I-duration",
"14": "I-environment",
"15": "I-error_message",
"16": "I-event",
"17": "I-hostname",
"18": "I-ip",
"19": "I-level",
"20": "I-method",
"21": "I-path",
"22": "I-service",
"23": "I-status_code",
"24": "I-timestamp",
"25": "I-useragent",
"26": "O"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"label2id": {
"B-duration": 0,
"B-environment": 1,
"B-error_message": 2,
"B-event": 3,
"B-hostname": 4,
"B-ip": 5,
"B-level": 6,
"B-method": 7,
"B-path": 8,
"B-service": 9,
"B-status_code": 10,
"B-timestamp": 11,
"B-useragent": 12,
"I-duration": 13,
"I-environment": 14,
"I-error_message": 15,
"I-event": 16,
"I-hostname": 17,
"I-ip": 18,
"I-level": 19,
"I-method": 20,
"I-path": 21,
"I-service": 22,
"I-status_code": 23,
"I-timestamp": 24,
"I-useragent": 25,
"O": 26
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"tie_word_embeddings": true,
"transformers_version": "5.4.0",
"type_vocab_size": 2,
"use_cache": false,
"vocab_size": 30522
}