dual_modernbert / config.json
scryptx's picture
Training in progress, epoch 1
bc47b19 verified
{
"_name_or_path": "answerdotai/ModernBERT-base",
"architectures": [
"DualModernBertForTokenClassification"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 50281,
"classifier_activation": "gelu",
"classifier_bias": false,
"classifier_dropout": 0.0,
"classifier_pooling": "mean",
"cls_token_id": 50281,
"decoder_bias": true,
"deterministic_flash_attn": false,
"embedding_dropout": 0.0,
"eos_token_id": 50282,
"global_attn_every_n_layers": 3,
"global_rope_theta": 160000.0,
"gradient_checkpointing": false,
"hidden_activation": "gelu",
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-name",
"2": "I-name",
"3": "B-address",
"4": "I-address",
"5": "B-email",
"6": "I-email",
"7": "B-phone_number",
"8": "I-phone_number",
"9": "B-language",
"10": "I-language",
"11": "B-location",
"12": "I-location",
"13": "B-date",
"14": "I-date",
"15": "B-duration",
"16": "I-duration",
"17": "B-organization",
"18": "I-organization",
"19": "B-job_role",
"20": "I-job_role",
"21": "B-degree",
"22": "I-degree",
"23": "B-certificate",
"24": "I-certificate",
"25": "B-individual_skill",
"26": "I-individual_skill",
"27": "B-O",
"28": "B-skills",
"29": "B-personal_information",
"30": "B-employment_information",
"31": "B-employment_description",
"32": "B-education_information",
"33": "B-education_description"
},
"initializer_cutoff_factor": 2.0,
"initializer_range": 0.02,
"intermediate_size": 1152,
"label2id": {
"B-O": 27,
"B-address": 3,
"B-certificate": 23,
"B-date": 13,
"B-degree": 21,
"B-duration": 15,
"B-education_description": 33,
"B-education_information": 32,
"B-email": 5,
"B-employment_description": 31,
"B-employment_information": 30,
"B-individual_skill": 25,
"B-job_role": 19,
"B-language": 9,
"B-location": 11,
"B-name": 1,
"B-organization": 17,
"B-personal_information": 29,
"B-phone_number": 7,
"B-skills": 28,
"I-address": 4,
"I-certificate": 24,
"I-date": 14,
"I-degree": 22,
"I-duration": 16,
"I-email": 6,
"I-individual_skill": 26,
"I-job_role": 20,
"I-language": 10,
"I-location": 12,
"I-name": 2,
"I-organization": 18,
"I-phone_number": 8,
"O": 0
},
"layer_norm_eps": 1e-05,
"local_attention": 128,
"local_rope_theta": 10000.0,
"max_position_embeddings": 8192,
"mlp_bias": false,
"mlp_dropout": 0.0,
"model_type": "modernbert",
"norm_bias": false,
"norm_eps": 1e-05,
"num_attention_heads": 12,
"num_hidden_layers": 22,
"pad_token_id": 50283,
"position_embedding_type": "absolute",
"reference_compile": false,
"repad_logits_with_grad": false,
"sep_token_id": 50282,
"sparse_pred_ignore_index": -100,
"sparse_prediction": false,
"torch_dtype": "float32",
"transformers_version": "4.48.3",
"vocab_size": 50369
}