phanerozoic commited on
Commit
74cb241
1 Parent(s): 0ca4f70

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +2 -23
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_name_or_path": "bert-base-uncased",
3
  "architectures": [
4
- "BertForTokenClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
@@ -9,30 +9,8 @@
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
- "id2label": {
13
- "0": "PERSON",
14
- "1": "ORG",
15
- "2": "LOC",
16
- "3": "DATE",
17
- "4": "TIME",
18
- "5": "MONEY",
19
- "6": "PERCENT",
20
- "7": "EVENT",
21
- "8": "OTHER"
22
- },
23
  "initializer_range": 0.02,
24
  "intermediate_size": 3072,
25
- "label2id": {
26
- "PERSON": 0,
27
- "ORG": 1,
28
- "LOC": 2,
29
- "DATE": 3,
30
- "TIME": 4,
31
- "MONEY": 5,
32
- "PERCENT": 6,
33
- "EVENT": 7,
34
- "OTHER": 8
35
- },
36
  "layer_norm_eps": 1e-12,
37
  "max_position_embeddings": 512,
38
  "model_type": "bert",
@@ -40,6 +18,7 @@
40
  "num_hidden_layers": 12,
41
  "pad_token_id": 0,
42
  "position_embedding_type": "absolute",
 
43
  "torch_dtype": "float32",
44
  "transformers_version": "4.39.3",
45
  "type_vocab_size": 2,
 
1
  {
2
  "_name_or_path": "bert-base-uncased",
3
  "architectures": [
4
+ "BertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
 
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",
 
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.39.3",
24
  "type_vocab_size": 2,