Achar commited on
Commit
eeb12af
1 Parent(s): 26ab12f

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +8 -10
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,12 +1,10 @@
1
  {
2
- "_name_or_path": "cardiffnlp/twitter-roberta-base-sentiment",
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
  "gradient_checkpointing": false,
11
  "hidden_act": "gelu",
12
  "hidden_dropout_prob": 0.1,
@@ -23,17 +21,17 @@
23
  "LABEL_1": 1,
24
  "LABEL_2": 2
25
  },
26
- "layer_norm_eps": 1e-05,
27
- "max_position_embeddings": 514,
28
- "model_type": "roberta",
29
  "num_attention_heads": 12,
30
  "num_hidden_layers": 12,
31
- "pad_token_id": 1,
32
  "position_embedding_type": "absolute",
33
  "problem_type": "single_label_classification",
34
  "torch_dtype": "float32",
35
  "transformers_version": "4.28.1",
36
- "type_vocab_size": 1,
37
  "use_cache": true,
38
- "vocab_size": 50265
39
  }
 
1
  {
2
+ "_name_or_path": "bert-base-cased",
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,
 
21
  "LABEL_1": 1,
22
  "LABEL_2": 2
23
  },
24
+ "layer_norm_eps": 1e-12,
25
+ "max_position_embeddings": 512,
26
+ "model_type": "bert",
27
  "num_attention_heads": 12,
28
  "num_hidden_layers": 12,
29
+ "pad_token_id": 0,
30
  "position_embedding_type": "absolute",
31
  "problem_type": "single_label_classification",
32
  "torch_dtype": "float32",
33
  "transformers_version": "4.28.1",
34
+ "type_vocab_size": 2,
35
  "use_cache": true,
36
+ "vocab_size": 28996
37
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ed8386bbc9dae437b34e7f493298df728faa2a9665d74c4223b8a42649fda257
3
- size 498665141
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b41ca03bb8ced4a28664736763d4ec364af579f16ef44b1d3c1ab88ff44f269
3
+ size 433323125