alfonsusrr
commited on
Commit
•
0c51b08
1
Parent(s):
c921e99
Upload RobertaForSequenceClassification
Browse files- config.json +63 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./bug_classifier2",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "condition error",
|
15 |
+
"1": "indexing error",
|
16 |
+
"2": "illegal comment",
|
17 |
+
"3": "illegal keywords",
|
18 |
+
"4": "illegal separation",
|
19 |
+
"5": "missing colons",
|
20 |
+
"6": "misused == or =",
|
21 |
+
"7": "operation error",
|
22 |
+
"8": "other logical error",
|
23 |
+
"9": "parentheses mismatch",
|
24 |
+
"10": "unclosed string",
|
25 |
+
"11": "undefined methods",
|
26 |
+
"12": "undefined objects",
|
27 |
+
"13": "variable error",
|
28 |
+
"14": "indentation error"
|
29 |
+
},
|
30 |
+
"initializer_range": 0.02,
|
31 |
+
"intermediate_size": 3072,
|
32 |
+
"label2id": {
|
33 |
+
"LABEL_0": 0,
|
34 |
+
"LABEL_1": 1,
|
35 |
+
"LABEL_10": 10,
|
36 |
+
"LABEL_11": 11,
|
37 |
+
"LABEL_12": 12,
|
38 |
+
"LABEL_13": 13,
|
39 |
+
"LABEL_14": 14,
|
40 |
+
"LABEL_2": 2,
|
41 |
+
"LABEL_3": 3,
|
42 |
+
"LABEL_4": 4,
|
43 |
+
"LABEL_5": 5,
|
44 |
+
"LABEL_6": 6,
|
45 |
+
"LABEL_7": 7,
|
46 |
+
"LABEL_8": 8,
|
47 |
+
"LABEL_9": 9
|
48 |
+
},
|
49 |
+
"layer_norm_eps": 1e-05,
|
50 |
+
"max_position_embeddings": 514,
|
51 |
+
"model_type": "roberta",
|
52 |
+
"num_attention_heads": 12,
|
53 |
+
"num_hidden_layers": 12,
|
54 |
+
"output_past": true,
|
55 |
+
"pad_token_id": 1,
|
56 |
+
"position_embedding_type": "absolute",
|
57 |
+
"problem_type": "multi_label_classification",
|
58 |
+
"torch_dtype": "float32",
|
59 |
+
"transformers_version": "4.40.2",
|
60 |
+
"type_vocab_size": 1,
|
61 |
+
"use_cache": true,
|
62 |
+
"vocab_size": 50265
|
63 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c990bbeefa79897343de2dbe64d85336cfd52bfc082a12de995e765074860b3e
|
3 |
+
size 498652812
|