comment-bert-subject / config.json
mochodek's picture
Upload BertForSequenceClassification
0997b10 verified
raw
history blame
1.35 kB
{
"_name_or_path": "bert-base-uncased",
"architectures": [
"BertForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "code_design",
"1": "code_style",
"2": "code_naming",
"3": "code_logic",
"4": "code_io",
"5": "code_data",
"6": "code_doc",
"7": "code_api",
"8": "compatibility",
"9": "rule_def",
"10": "config_commit_patch_review",
"11": "config_building_installing"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"code_api": 7,
"code_data": 5,
"code_design": 0,
"code_doc": 6,
"code_io": 4,
"code_logic": 3,
"code_naming": 2,
"code_style": 1,
"compatibility": 8,
"config_building_installing": 11,
"config_commit_patch_review": 10,
"rule_def": 9
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"problem_type": "multi_label_classification",
"torch_dtype": "float32",
"transformers_version": "4.30.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}