|
{ |
|
"_name_or_path": "answerdotai/ModernBERT-base", |
|
"architectures": [ |
|
"ModernBertForTokenClassification" |
|
], |
|
"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": "B-AGE", |
|
"1": "B-BUILDINGNUM", |
|
"2": "B-CITY", |
|
"3": "B-CREDITCARDNUMBER", |
|
"4": "B-DATE", |
|
"5": "B-DRIVERLICENSENUM", |
|
"6": "B-EMAIL", |
|
"7": "B-GENDER", |
|
"8": "B-GIVENNAME", |
|
"9": "B-IDCARDNUM", |
|
"10": "B-PASSPORTNUM", |
|
"11": "B-SEX", |
|
"12": "B-SOCIALNUM", |
|
"13": "B-STREET", |
|
"14": "B-SURNAME", |
|
"15": "B-TAXNUM", |
|
"16": "B-TELEPHONENUM", |
|
"17": "B-TIME", |
|
"18": "B-TITLE", |
|
"19": "B-ZIPCODE", |
|
"20": "I-BUILDINGNUM", |
|
"21": "I-CITY", |
|
"22": "I-CREDITCARDNUMBER", |
|
"23": "I-DATE", |
|
"24": "I-DRIVERLICENSENUM", |
|
"25": "I-EMAIL", |
|
"26": "I-GENDER", |
|
"27": "I-GIVENNAME", |
|
"28": "I-IDCARDNUM", |
|
"29": "I-PASSPORTNUM", |
|
"30": "I-SEX", |
|
"31": "I-SOCIALNUM", |
|
"32": "I-STREET", |
|
"33": "I-SURNAME", |
|
"34": "I-TAXNUM", |
|
"35": "I-TELEPHONENUM", |
|
"36": "I-TIME", |
|
"37": "I-TITLE", |
|
"38": "I-ZIPCODE", |
|
"39": "O" |
|
}, |
|
"initializer_cutoff_factor": 2.0, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 1152, |
|
"label2id": { |
|
"B-AGE": 0, |
|
"B-BUILDINGNUM": 1, |
|
"B-CITY": 2, |
|
"B-CREDITCARDNUMBER": 3, |
|
"B-DATE": 4, |
|
"B-DRIVERLICENSENUM": 5, |
|
"B-EMAIL": 6, |
|
"B-GENDER": 7, |
|
"B-GIVENNAME": 8, |
|
"B-IDCARDNUM": 9, |
|
"B-PASSPORTNUM": 10, |
|
"B-SEX": 11, |
|
"B-SOCIALNUM": 12, |
|
"B-STREET": 13, |
|
"B-SURNAME": 14, |
|
"B-TAXNUM": 15, |
|
"B-TELEPHONENUM": 16, |
|
"B-TIME": 17, |
|
"B-TITLE": 18, |
|
"B-ZIPCODE": 19, |
|
"I-BUILDINGNUM": 20, |
|
"I-CITY": 21, |
|
"I-CREDITCARDNUMBER": 22, |
|
"I-DATE": 23, |
|
"I-DRIVERLICENSENUM": 24, |
|
"I-EMAIL": 25, |
|
"I-GENDER": 26, |
|
"I-GIVENNAME": 27, |
|
"I-IDCARDNUM": 28, |
|
"I-PASSPORTNUM": 29, |
|
"I-SEX": 30, |
|
"I-SOCIALNUM": 31, |
|
"I-STREET": 32, |
|
"I-SURNAME": 33, |
|
"I-TAXNUM": 34, |
|
"I-TELEPHONENUM": 35, |
|
"I-TIME": 36, |
|
"I-TITLE": 37, |
|
"I-ZIPCODE": 38, |
|
"O": 39 |
|
}, |
|
"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": true, |
|
"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": 50368 |
|
} |
|
|