Kanit commited on
Commit
63ba704
1 Parent(s): 5fcf00d

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +40 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/bert_uncased_L-2_H-128_A-2",
3
+ "adapters": {
4
+ "adapters": {},
5
+ "config_map": {},
6
+ "fusion_config_map": {},
7
+ "fusions": {}
8
+ },
9
+ "architectures": [
10
+ "BertForSequenceClassification"
11
+ ],
12
+ "attention_probs_dropout_prob": 0.1,
13
+ "classifier_dropout": null,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.1,
16
+ "hidden_size": 128,
17
+ "id2label": {
18
+ "0": "non-toxic",
19
+ "1": "toxic"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 512,
23
+ "label2id": {
24
+ "non-toxic": 0,
25
+ "toxic": 1
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "max_position_embeddings": 512,
29
+ "model_type": "bert",
30
+ "num_attention_heads": 2,
31
+ "num_hidden_layers": 2,
32
+ "pad_token_id": 0,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.26.1",
37
+ "type_vocab_size": 2,
38
+ "use_cache": true,
39
+ "vocab_size": 30522
40
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50c398ed0e97262a0b6624a9ffec2aefc29e5983de5b95765c853a3b9f42e84c
3
+ size 17562031