Anwaarma commited on
Commit
d7c2832
1 Parent(s): b0b703a

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +8 -1
  2. pytorch_model.bin +1 -1
config.json CHANGED
@@ -10,8 +10,16 @@
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
 
 
 
 
13
  "initializer_range": 0.02,
14
  "intermediate_size": 3072,
 
 
 
 
15
  "layer_norm_eps": 1e-12,
16
  "max_position_embeddings": 512,
17
  "model_type": "bert",
@@ -24,7 +32,6 @@
24
  "pooler_size_per_head": 128,
25
  "pooler_type": "first_token_transform",
26
  "position_embedding_type": "absolute",
27
- "problem_type": "single_label_classification",
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.34.1",
30
  "type_vocab_size": 2,
 
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "Negative",
15
+ "1": "Positive"
16
+ },
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
+ "label2id": {
20
+ "Negative": 0,
21
+ "Positive": 1
22
+ },
23
  "layer_norm_eps": 1e-12,
24
  "max_position_embeddings": 512,
25
  "model_type": "bert",
 
32
  "pooler_size_per_head": 128,
33
  "pooler_type": "first_token_transform",
34
  "position_embedding_type": "absolute",
 
35
  "torch_dtype": "float32",
36
  "transformers_version": "4.34.1",
37
  "type_vocab_size": 2,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9d68b95b03ef04352f6cc0a16812df5c3c778417da8ff4192eaed6fb67f69dd1
3
  size 651440366
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8584587d63294ee076416b617141f96449cddb062a2f678540a85ffb3650ab76
3
  size 651440366