sumitp76 commited on
Commit
b7bd24d
·
verified ·
1 Parent(s): 7765248

CodeBERTa fine-tuned on CodeXGLUE defect detection (V1)

Browse files
Files changed (2) hide show
  1. config.json +36 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "CLEAN",
16
+ "1": "VULNERABLE"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "is_decoder": false,
21
+ "label2id": {
22
+ "CLEAN": 0,
23
+ "VULNERABLE": 1
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 514,
27
+ "model_type": "roberta",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 6,
30
+ "pad_token_id": 1,
31
+ "tie_word_embeddings": true,
32
+ "transformers_version": "5.0.0",
33
+ "type_vocab_size": 1,
34
+ "use_cache": false,
35
+ "vocab_size": 52000
36
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4b8eae17ce84c2f1a4da6daf9616e353efa71bdea8ef634ad952d65f9da900f
3
+ size 333822184