joligmueller commited on
Commit
8253100
1 Parent(s): edf0c26

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +12 -22
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,37 +1,27 @@
1
  {
2
- "_name_or_path": "siebert/sentiment-roberta-large-english",
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,
13
- "hidden_size": 1024,
14
- "id2label": {
15
- "0": "NEGATIVE",
16
- "1": "POSITIVE"
17
- },
18
  "initializer_range": 0.02,
19
- "intermediate_size": 4096,
20
- "label2id": {
21
- "NEGATIVE": 0,
22
- "POSITIVE": 1
23
- },
24
- "layer_norm_eps": 1e-05,
25
- "max_position_embeddings": 514,
26
- "model_type": "roberta",
27
- "num_attention_heads": 16,
28
- "num_hidden_layers": 24,
29
- "pad_token_id": 1,
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": 1,
35
  "use_cache": true,
36
- "vocab_size": 50265
37
  }
 
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,
 
 
 
 
12
  "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
 
 
 
 
20
  "position_embedding_type": "absolute",
21
  "problem_type": "single_label_classification",
22
  "torch_dtype": "float32",
23
  "transformers_version": "4.28.1",
24
+ "type_vocab_size": 2,
25
  "use_cache": true,
26
+ "vocab_size": 30522
27
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:316eeda45db09e7fa5049f0a76c61033061e5fe094eadf77111cd1022cd36463
3
- size 1421587189
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ba7ad726ddad8833b38ad0210e34240395aeac0a21d61d548ac022189444d32
3
+ size 438007925