Safetensors
modernbert
CT-ModernBERT-JPN / config.json
YYama0's picture
Upload 11 files
7c30eab verified
{
"_name_or_path": "sbintuitions/modernbert-ja-130m",
"architectures": [
"ModernBertForSequenceClassification"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 1,
"classifier_activation": "gelu",
"classifier_bias": false,
"classifier_dropout": 0.0,
"classifier_pooling": "cls",
"cls_token_id": 6,
"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": 512,
"id2label": {
"0": "Medical material",
"1": "Arterial wall calcification",
"2": "Cardiomegaly",
"3": "Pericardial effusion",
"4": "Coronary artery wall calcification",
"5": "Hiatal hernia",
"6": "Lymphadenopathy",
"7": "Emphysema",
"8": "Atelectasis",
"9": "Lung nodule",
"10": "Lung opacity",
"11": "Pulmonary fibrotic sequela",
"12": "Pleural effusion",
"13": "Mosaic attenuation pattern",
"14": "Peribronchial thickening",
"15": "Consolidation",
"16": "Bronchiectasis",
"17": "Interlobular septal thickening"
},
"initializer_cutoff_factor": 2.0,
"initializer_range": 0.02,
"intermediate_size": 2048,
"label2id": {
"Arterial wall calcification": 1,
"Atelectasis": 8,
"Bronchiectasis": 16,
"Cardiomegaly": 2,
"Consolidation": 15,
"Coronary artery wall calcification": 4,
"Emphysema": 7,
"Hiatal hernia": 5,
"Interlobular septal thickening": 17,
"Lung nodule": 9,
"Lung opacity": 10,
"Lymphadenopathy": 6,
"Medical material": 0,
"Mosaic attenuation pattern": 13,
"Peribronchial thickening": 14,
"Pericardial effusion": 3,
"Pleural effusion": 12,
"Pulmonary fibrotic sequela": 11
},
"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": 8,
"num_hidden_layers": 19,
"pad_token_id": 3,
"position_embedding_type": "rope",
"problem_type": "multi_label_classification",
"reference_compile": false,
"repad_logits_with_grad": false,
"sep_token_id": 4,
"sparse_pred_ignore_index": -100,
"sparse_prediction": false,
"torch_dtype": "float32",
"transformers_version": "4.48.3",
"vocab_size": 102400
}