vic35get commited on
Commit
7084572
·
verified ·
1 Parent(s): fa2c973

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +8 -13
  2. model.safetensors +2 -2
config.json CHANGED
@@ -5,25 +5,25 @@
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
8
- "directionality": "bidi",
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "ELECTRICAL SYSTEM",
14
- "1": "OTHER",
15
  "2": "SERVICE BRAKES",
16
- "3": "AIR BAGS",
17
- "4": "STRUCTURE"
18
  },
19
  "initializer_range": 0.02,
20
  "intermediate_size": 3072,
21
  "label2id": {
22
- "AIR BAGS": 3,
23
  "ELECTRICAL SYSTEM": 0,
24
- "OTHER": 1,
25
  "SERVICE BRAKES": 2,
26
- "STRUCTURE": 4
27
  },
28
  "layer_norm_eps": 1e-12,
29
  "max_position_embeddings": 512,
@@ -31,16 +31,11 @@
31
  "num_attention_heads": 12,
32
  "num_hidden_layers": 12,
33
  "pad_token_id": 0,
34
- "pooler_fc_size": 768,
35
- "pooler_num_attention_heads": 12,
36
- "pooler_num_fc_layers": 3,
37
- "pooler_size_per_head": 128,
38
- "pooler_type": "first_token_transform",
39
  "position_embedding_type": "absolute",
40
  "problem_type": "single_label_classification",
41
  "torch_dtype": "float32",
42
  "transformers_version": "4.48.1",
43
  "type_vocab_size": 2,
44
  "use_cache": true,
45
- "vocab_size": 119547
46
  }
 
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
  "id2label": {
13
  "0": "ELECTRICAL SYSTEM",
14
+ "1": "STRUCTURE",
15
  "2": "SERVICE BRAKES",
16
+ "3": "OTHER",
17
+ "4": "AIR BAGS"
18
  },
19
  "initializer_range": 0.02,
20
  "intermediate_size": 3072,
21
  "label2id": {
22
+ "AIR BAGS": 4,
23
  "ELECTRICAL SYSTEM": 0,
24
+ "OTHER": 3,
25
  "SERVICE BRAKES": 2,
26
+ "STRUCTURE": 1
27
  },
28
  "layer_norm_eps": 1e-12,
29
  "max_position_embeddings": 512,
 
31
  "num_attention_heads": 12,
32
  "num_hidden_layers": 12,
33
  "pad_token_id": 0,
 
 
 
 
 
34
  "position_embedding_type": "absolute",
35
  "problem_type": "single_label_classification",
36
  "torch_dtype": "float32",
37
  "transformers_version": "4.48.1",
38
  "type_vocab_size": 2,
39
  "use_cache": true,
40
+ "vocab_size": 30522
41
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1484957640ab2427950217224da862386d68f5271696fee43042d1b46546de3b
3
- size 711452684
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f5dc85ec1018ce10be5535821be123892b3ff1a089277c5561366900ca32c0b
3
+ size 437967876