nullify-68m / config.json
brevitech's picture
Unmodified mirror of rbsriram/nullify-68m@12448353ecdd
590bec9 verified
Raw History Blame Contribute Delete
4.42 kB
{
"architectures": [
"ModernBertForTokenClassification"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 50281,
"causal_mask": false,
"classifier_activation": "gelu",
"classifier_bias": false,
"classifier_dropout": 0.0,
"classifier_pooling": "mean",
"cls_token_id": 50281,
"decoder_bias": true,
"deterministic_flash_attn": false,
"dtype": "float32",
"embedding_dropout": 0.0,
"eos_token_id": 50282,
"global_attn_every_n_layers": 3,
"gradient_checkpointing": false,
"hidden_activation": "gelu",
"hidden_size": 512,
"id2label": {
"0": "O",
"1": "B-NAME_GIVEN",
"2": "I-NAME_GIVEN",
"3": "E-NAME_GIVEN",
"4": "S-NAME_GIVEN",
"5": "B-EMAIL",
"6": "I-EMAIL",
"7": "E-EMAIL",
"8": "S-EMAIL",
"9": "B-PHONE",
"10": "I-PHONE",
"11": "E-PHONE",
"12": "S-PHONE",
"13": "B-ADDRESS",
"14": "I-ADDRESS",
"15": "E-ADDRESS",
"16": "S-ADDRESS",
"17": "B-ID",
"18": "I-ID",
"19": "E-ID",
"20": "S-ID",
"21": "B-USERNAME",
"22": "I-USERNAME",
"23": "E-USERNAME",
"24": "S-USERNAME",
"25": "B-URL",
"26": "I-URL",
"27": "E-URL",
"28": "S-URL",
"29": "B-IP",
"30": "I-IP",
"31": "E-IP",
"32": "S-IP",
"33": "B-DATE",
"34": "I-DATE",
"35": "E-DATE",
"36": "S-DATE",
"37": "B-SECRET",
"38": "I-SECRET",
"39": "E-SECRET",
"40": "S-SECRET",
"41": "B-ORGANIZATION",
"42": "I-ORGANIZATION",
"43": "E-ORGANIZATION",
"44": "S-ORGANIZATION",
"45": "B-NAME_FAMILY",
"46": "I-NAME_FAMILY",
"47": "E-NAME_FAMILY",
"48": "S-NAME_FAMILY",
"49": "B-LOCATION",
"50": "I-LOCATION",
"51": "E-LOCATION",
"52": "S-LOCATION"
},
"initializer_cutoff_factor": 2.0,
"initializer_range": 0.02,
"intermediate_size": 768,
"is_causal": false,
"label2id": {
"B-ADDRESS": 13,
"B-DATE": 33,
"B-EMAIL": 5,
"B-ID": 17,
"B-IP": 29,
"B-LOCATION": 49,
"B-NAME_FAMILY": 45,
"B-NAME_GIVEN": 1,
"B-ORGANIZATION": 41,
"B-PHONE": 9,
"B-SECRET": 37,
"B-URL": 25,
"B-USERNAME": 21,
"E-ADDRESS": 15,
"E-DATE": 35,
"E-EMAIL": 7,
"E-ID": 19,
"E-IP": 31,
"E-LOCATION": 51,
"E-NAME_FAMILY": 47,
"E-NAME_GIVEN": 3,
"E-ORGANIZATION": 43,
"E-PHONE": 11,
"E-SECRET": 39,
"E-URL": 27,
"E-USERNAME": 23,
"I-ADDRESS": 14,
"I-DATE": 34,
"I-EMAIL": 6,
"I-ID": 18,
"I-IP": 30,
"I-LOCATION": 50,
"I-NAME_FAMILY": 46,
"I-NAME_GIVEN": 2,
"I-ORGANIZATION": 42,
"I-PHONE": 10,
"I-SECRET": 38,
"I-URL": 26,
"I-USERNAME": 22,
"O": 0,
"S-ADDRESS": 16,
"S-DATE": 36,
"S-EMAIL": 8,
"S-ID": 20,
"S-IP": 32,
"S-LOCATION": 52,
"S-NAME_FAMILY": 48,
"S-NAME_GIVEN": 4,
"S-ORGANIZATION": 44,
"S-PHONE": 12,
"S-SECRET": 40,
"S-URL": 28,
"S-USERNAME": 24
},
"layer_norm_eps": 1e-05,
"layer_types": [
"full_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"full_attention"
],
"local_attention": 128,
"max_position_embeddings": 8192,
"mlp_bias": false,
"mlp_dropout": 0.0,
"model_type": "modernbert",
"norm_bias": false,
"norm_eps": 1e-05,
"num_attention_heads": 8,
"num_hidden_layers": 19,
"nv_init_scope": "Phase4b encoder only; fresh prediction head and 45-way classifier",
"nv_max_sequence_length": 8192,
"nv_requires_training": false,
"nv_tag_scheme": "BIOES-53",
"nv_text_window": 8190,
"pad_token_id": 50283,
"position_embedding_type": "sans_pos",
"rope_parameters": {
"full_attention": {
"rope_theta": 160000.0,
"rope_type": "default"
},
"sliding_attention": {
"rope_theta": 160000.0,
"rope_type": "default"
}
},
"sep_token_id": 50282,
"sparse_pred_ignore_index": -100,
"sparse_prediction": false,
"tie_word_embeddings": true,
"transformers_version": "5.21.0",
"vocab_size": 50368,
"_name_or_path": "jhu-clsp/ettin-encoder-68m"
}