amiguel commited on
Commit
7abd489
·
verified ·
1 Parent(s): 238e3de

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +34 -32
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,46 +1,49 @@
1
  {
 
2
  "architectures": [
3
  "BertForSequenceClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
 
6
  "classifier_dropout": null,
 
 
7
  "gradient_checkpointing": false,
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
  "id2label": {
12
- "0": "LABEL_0",
13
- "1": "LABEL_1",
14
- "2": "LABEL_2",
15
- "3": "LABEL_3",
16
- "4": "LABEL_4",
17
- "5": "LABEL_5",
18
- "6": "LABEL_6",
19
- "7": "LABEL_7",
20
- "8": "LABEL_8",
21
- "9": "LABEL_9",
22
- "10": "LABEL_10",
23
- "11": "LABEL_11",
24
- "12": "LABEL_12",
25
- "13": "LABEL_13"
26
  },
27
  "initializer_range": 0.02,
28
  "intermediate_size": 3072,
 
29
  "label2id": {
30
- "LABEL_0": 0,
31
- "LABEL_1": 1,
32
- "LABEL_10": 10,
33
- "LABEL_11": 11,
34
- "LABEL_12": 12,
35
- "LABEL_13": 13,
36
- "LABEL_2": 2,
37
- "LABEL_3": 3,
38
- "LABEL_4": 4,
39
- "LABEL_5": 5,
40
- "LABEL_6": 6,
41
- "LABEL_7": 7,
42
- "LABEL_8": 8,
43
- "LABEL_9": 9
44
  },
45
  "layer_norm_eps": 1e-12,
46
  "max_position_embeddings": 512,
@@ -49,10 +52,9 @@
49
  "num_hidden_layers": 12,
50
  "pad_token_id": 0,
51
  "position_embedding_type": "absolute",
52
- "problem_type": "single_label_classification",
53
- "torch_dtype": "float32",
54
- "transformers_version": "4.51.3",
55
  "type_vocab_size": 2,
56
- "use_cache": true,
57
  "vocab_size": 30522
58
  }
 
1
  {
2
+ "add_cross_attention": false,
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
  "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": null,
11
  "gradient_checkpointing": false,
12
  "hidden_act": "gelu",
13
  "hidden_dropout_prob": 0.1,
14
  "hidden_size": 768,
15
  "id2label": {
16
+ "0": "Campaign",
17
+ "1": "Corrosion Monitoring",
18
+ "2": "Flare Tip",
19
+ "3": "FU Items",
20
+ "4": "Intelligent Pigging",
21
+ "5": "Lifting",
22
+ "6": "Non Structural Tank",
23
+ "7": "Piping",
24
+ "8": "Pressure Safety Device",
25
+ "9": "Pressure Vessel (VIE)",
26
+ "10": "Pressure Vessel (VII)",
27
+ "11": "Structure",
28
+ "12": "Flame Arrestor"
 
29
  },
30
  "initializer_range": 0.02,
31
  "intermediate_size": 3072,
32
+ "is_decoder": false,
33
  "label2id": {
34
+ "Campaign": 0,
35
+ "Corrosion Monitoring": 1,
36
+ "FU Items": 3,
37
+ "Flame Arrestor": 12,
38
+ "Flare Tip": 2,
39
+ "Intelligent Pigging": 4,
40
+ "Lifting": 5,
41
+ "Non Structural Tank": 6,
42
+ "Piping": 7,
43
+ "Pressure Safety Device": 8,
44
+ "Pressure Vessel (VIE)": 9,
45
+ "Pressure Vessel (VII)": 10,
46
+ "Structure": 11
 
47
  },
48
  "layer_norm_eps": 1e-12,
49
  "max_position_embeddings": 512,
 
52
  "num_hidden_layers": 12,
53
  "pad_token_id": 0,
54
  "position_embedding_type": "absolute",
55
+ "tie_word_embeddings": true,
56
+ "transformers_version": "5.0.0",
 
57
  "type_vocab_size": 2,
58
+ "use_cache": false,
59
  "vocab_size": 30522
60
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:07f682dd48b4275178d8669cab8d77c5d70cc2fa4c8f556d548648cc030e919d
3
- size 437995560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3aab6c70fe0f1dbc275e2ebf7c47912c5106c03f96a039ce5d53ad92217aa77e
3
+ size 437992460