Anwaarma commited on
Commit
07469df
1 Parent(s): 8c97b35

Upload config

Browse files
Files changed (1) hide show
  1. config.json +9 -3
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_name_or_path": "UBC-NLP/MARBERTv2",
3
  "architectures": [
4
- "BertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
@@ -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,8 +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,
31
  "use_cache": true,
 
1
  {
2
  "_name_or_path": "UBC-NLP/MARBERTv2",
3
  "architectures": [
4
+ "BertForMaskedLM"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
 
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
  "transformers_version": "4.34.1",
36
  "type_vocab_size": 2,
37
  "use_cache": true,