gilesitorr commited on
Commit
eeb6d93
·
1 Parent(s): b3c8164

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +11 -3
  2. pytorch_model.bin +1 -1
config.json CHANGED
@@ -1,11 +1,13 @@
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,
@@ -26,11 +28,17 @@
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
  "torch_dtype": "float32",
32
  "transformers_version": "4.23.1",
33
  "type_vocab_size": 2,
34
  "use_cache": true,
35
- "vocab_size": 30522
36
  }
 
1
  {
2
+ "_name_or_path": "nlptown/bert-base-multilingual-uncased-sentiment",
3
+ "_num_labels": 3,
4
  "architectures": [
5
  "BertForSequenceClassification"
6
  ],
7
  "attention_probs_dropout_prob": 0.1,
8
  "classifier_dropout": null,
9
+ "directionality": "bidi",
10
+ "finetuning_task": "sentiment-analysis",
11
  "hidden_act": "gelu",
12
  "hidden_dropout_prob": 0.1,
13
  "hidden_size": 768,
 
28
  "model_type": "bert",
29
  "num_attention_heads": 12,
30
  "num_hidden_layers": 12,
31
+ "output_past": true,
32
  "pad_token_id": 0,
33
+ "pooler_fc_size": 768,
34
+ "pooler_num_attention_heads": 12,
35
+ "pooler_num_fc_layers": 3,
36
+ "pooler_size_per_head": 128,
37
+ "pooler_type": "first_token_transform",
38
  "position_embedding_type": "absolute",
39
  "torch_dtype": "float32",
40
  "transformers_version": "4.23.1",
41
  "type_vocab_size": 2,
42
  "use_cache": true,
43
+ "vocab_size": 105879
44
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6afa80ffe9a3f60dfe67ef4b7a16cce1396106245f6cde86d229f435ea1b9a74
3
  size 669503085
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d43d9f8b806ce583c2e120ab38e87989d613eb1d5faa9d17c75ff242597b6ca
3
  size 669503085