{ "architectures": [ "ModernBertForTokenClassification" ], "attention_bias": false, "attention_dropout": 0.0, "auto_map": { "AutoConfig": "configuration_modernbert.ModernBertConfig", "AutoModel": "modeling_modernbert.ModernBertModel", "AutoModelForMaskedLM": "modeling_modernbert.ModernBertForMaskedLM", "AutoModelForSequenceClassification": "modeling_modernbert.ModernBertForSequenceClassification", "AutoModelForTokenClassification": "modeling_modernbert.ModernBertForTokenClassification" }, "bos_token_id": 0, "classifier_activation": "gelu", "classifier_bias": false, "classifier_dropout": 0.0, "classifier_pooling": "mean", "cls_token_id": 0, "custom_pipelines": { "upos": { "impl": "upos.BellmanFordTokenClassificationPipeline", "pt": "AutoModelForTokenClassification" } }, "decoder_bias": true, "deterministic_flash_attn": false, "embedding_dropout": 0.0, "eos_token_id": 2, "global_attn_every_n_layers": 3, "global_rope_theta": 160000.0, "gradient_checkpointing": false, "hidden_activation": "gelu", "hidden_size": 768, "id2label": { "0": "ADJ", "1": "ADP", "2": "ADV", "3": "AUX", "4": "AUX|Polarity=Neg", "5": "B-ADJ", "6": "B-ADJ|Polarity=Neg", "7": "B-ADP", "8": "B-ADV", "9": "B-AUX", "10": "B-AUX|Polarity=Neg", "11": "B-CCONJ", "12": "B-DET", "13": "B-INTJ", "14": "B-NOUN", "15": "B-NUM", "16": "B-PART", "17": "B-PRON", "18": "B-PROPN", "19": "B-VERB", "20": "B-X", "21": "CCONJ", "22": "DET", "23": "I-ADJ", "24": "I-ADJ|Polarity=Neg", "25": "I-ADP", "26": "I-ADV", "27": "I-AUX", "28": "I-AUX|Polarity=Neg", "29": "I-CCONJ", "30": "I-DET", "31": "I-INTJ", "32": "I-NOUN", "33": "I-NUM", "34": "I-PART", "35": "I-PRON", "36": "I-PROPN", "37": "I-VERB", "38": "I-X", "39": "INTJ", "40": "NOUN", "41": "NOUN|Polarity=Neg", "42": "NUM", "43": "PART", "44": "PRON", "45": "PROPN", "46": "PUNCT", "47": "SCONJ", "48": "SYM", "49": "VERB" }, "initializer_cutoff_factor": 2.0, "initializer_range": 0.02, "intermediate_size": 1152, "label2id": { "ADJ": 0, "ADP": 1, "ADV": 2, "AUX": 3, "AUX|Polarity=Neg": 4, "B-ADJ": 5, "B-ADJ|Polarity=Neg": 6, "B-ADP": 7, "B-ADV": 8, "B-AUX": 9, "B-AUX|Polarity=Neg": 10, "B-CCONJ": 11, "B-DET": 12, "B-INTJ": 13, "B-NOUN": 14, "B-NUM": 15, "B-PART": 16, "B-PRON": 17, "B-PROPN": 18, "B-VERB": 19, "B-X": 20, "CCONJ": 21, "DET": 22, "I-ADJ": 23, "I-ADJ|Polarity=Neg": 24, "I-ADP": 25, "I-ADV": 26, "I-AUX": 27, "I-AUX|Polarity=Neg": 28, "I-CCONJ": 29, "I-DET": 30, "I-INTJ": 31, "I-NOUN": 32, "I-NUM": 33, "I-PART": 34, "I-PRON": 35, "I-PROPN": 36, "I-VERB": 37, "I-X": 38, "INTJ": 39, "NOUN": 40, "NOUN|Polarity=Neg": 41, "NUM": 42, "PART": 43, "PRON": 44, "PROPN": 45, "PUNCT": 46, "SCONJ": 47, "SYM": 48, "VERB": 49 }, "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": 1, "position_embedding_type": "absolute", "reference_compile": true, "repad_logits_with_grad": false, "sep_token_id": 2, "sparse_pred_ignore_index": -100, "sparse_prediction": false, "tokenizer_class": "BertTokenizerFast", "torch_dtype": "float32", "transformers_version": "4.48.2", "vocab_size": 23354 }