Team Ai
Modelpublic

tanaymitra01/graphcodebert-vulnerability-detector

sourceHugging Facemitupdated 1mo agoView on Hugging Face
0likes12downloads
config.json60 linesDownload Raw Back to root
1{2  "add_cross_attention": false,3  "architectures": [4    "RobertaForSequenceClassification"5  ],6  "attention_probs_dropout_prob": 0.1,7  "bos_token_id": 0,8  "classifier_dropout": null,9  "dtype": "float32",10  "eos_token_id": 2,11  "gradient_checkpointing": false,12  "hidden_act": "gelu",13  "hidden_dropout_prob": 0.1,14  "hidden_size": 768,15  "id2label": {16    "0": "safe",17    "1": "reentrancy",18    "2": "access_control",19    "3": "tx_origin_auth",20    "4": "integer_overflow",21    "5": "unsafe_delegatecall",22    "6": "weak_randomness",23    "7": "unbounded_loop",24    "8": "redundant_storage",25    "9": "gas_optimization",26    "10": "best_practice",27    "11": "other"28  },29  "initializer_range": 0.02,30  "intermediate_size": 3072,31  "is_decoder": false,32  "label2id": {33    "access_control": 2,34    "best_practice": 10,35    "gas_optimization": 9,36    "integer_overflow": 4,37    "other": 11,38    "redundant_storage": 8,39    "reentrancy": 1,40    "safe": 0,41    "tx_origin_auth": 3,42    "unbounded_loop": 7,43    "unsafe_delegatecall": 5,44    "weak_randomness": 645  },46  "layer_norm_eps": 1e-05,47  "max_position_embeddings": 514,48  "model_type": "roberta",49  "num_attention_heads": 12,50  "num_hidden_layers": 12,51  "output_past": true,52  "pad_token_id": 1,53  "problem_type": "single_label_classification",54  "tie_word_embeddings": true,55  "transformers_version": "5.16.1",56  "type_vocab_size": 1,57  "use_cache": true,58  "vocab_size": 5026559}60