Anwaarma commited on
Commit
4527bcf
·
1 Parent(s): 5d26dee

Upload BertForSequenceClassification

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