mochodek commited on
Commit
0997b10
1 Parent(s): 1967203

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +55 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "code_design",
14
+ "1": "code_style",
15
+ "2": "code_naming",
16
+ "3": "code_logic",
17
+ "4": "code_io",
18
+ "5": "code_data",
19
+ "6": "code_doc",
20
+ "7": "code_api",
21
+ "8": "compatibility",
22
+ "9": "rule_def",
23
+ "10": "config_commit_patch_review",
24
+ "11": "config_building_installing"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "code_api": 7,
30
+ "code_data": 5,
31
+ "code_design": 0,
32
+ "code_doc": 6,
33
+ "code_io": 4,
34
+ "code_logic": 3,
35
+ "code_naming": 2,
36
+ "code_style": 1,
37
+ "compatibility": 8,
38
+ "config_building_installing": 11,
39
+ "config_commit_patch_review": 10,
40
+ "rule_def": 9
41
+ },
42
+ "layer_norm_eps": 1e-12,
43
+ "max_position_embeddings": 512,
44
+ "model_type": "bert",
45
+ "num_attention_heads": 12,
46
+ "num_hidden_layers": 12,
47
+ "pad_token_id": 0,
48
+ "position_embedding_type": "absolute",
49
+ "problem_type": "multi_label_classification",
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.30.2",
52
+ "type_vocab_size": 2,
53
+ "use_cache": true,
54
+ "vocab_size": 30522
55
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f31c798920c53a34da9a7548fc60b42374fc738d268091434f4a3babd3c91c41
3
+ size 438039090