trustchainai-codebert / config.json
emekaphilians's picture
Upload config
4b8fccb verified
Raw
History Blame Contribute Delete
1.62 kB
{
"add_cross_attention": false,
"architectures": [
"RobertaForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"dtype": "float32",
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "safe",
"1": "reentrancy",
"2": "integer_overflow",
"3": "access_control",
"4": "tx_origin_phishing",
"5": "dos_gas",
"6": "unchecked_call",
"7": "front_running_mev",
"8": "timestamp_dependence",
"9": "proxy_storage_collision",
"10": "flash_loan_oracle",
"11": "flash_loan_single_block",
"12": "misnamed_constructor",
"13": "other"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"label2id": {
"access_control": 3,
"dos_gas": 5,
"flash_loan_oracle": 10,
"flash_loan_single_block": 11,
"front_running_mev": 7,
"integer_overflow": 2,
"misnamed_constructor": 12,
"other": 13,
"proxy_storage_collision": 9,
"reentrancy": 1,
"safe": 0,
"timestamp_dependence": 8,
"tx_origin_phishing": 4,
"unchecked_call": 6
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 1,
"problem_type": "single_label_classification",
"tie_word_embeddings": true,
"transformers_version": "5.9.0",
"type_vocab_size": 1,
"use_cache": false,
"vocab_size": 50265
}