lavaman131 commited on
Commit
d0af19a
1 Parent(s): e3c3af1

Upload BERTClassifier

Browse files
Files changed (2) hide show
  1. config.json +18 -4
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,19 +1,33 @@
1
  {
2
- "_name_or_path": "bert-base-cased",
3
  "architectures": [
4
- "BertModel"
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,
 
1
  {
 
2
  "architectures": [
3
+ "BERTClassifier"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "classifier_dropout": null,
 
7
  "hidden_act": "gelu",
8
  "hidden_dropout_prob": 0.1,
9
  "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "LABEL_0",
12
+ "1": "LABEL_1",
13
+ "2": "LABEL_2",
14
+ "3": "LABEL_3",
15
+ "4": "LABEL_4",
16
+ "5": "LABEL_5"
17
+ },
18
  "initializer_range": 0.02,
19
  "intermediate_size": 3072,
20
+ "label2id": {
21
+ "LABEL_0": 0,
22
+ "LABEL_1": 1,
23
+ "LABEL_2": 2,
24
+ "LABEL_3": 3,
25
+ "LABEL_4": 4,
26
+ "LABEL_5": 5
27
+ },
28
  "layer_norm_eps": 1e-12,
29
  "max_position_embeddings": 512,
30
+ "model_type": "BERTClassifier",
31
  "num_attention_heads": 12,
32
  "num_hidden_layers": 12,
33
  "pad_token_id": 0,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:94908f055f78ac319b4de3c8855c21008b25707bd8d0627643927504b8927765
3
- size 433263448
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7391ccf7d605b22e39819db5a3ceb0062c1697813fe0e54a4867a511ac6f7f62
3
+ size 433283056