smsk1999 commited on
Commit
0fdf433
·
verified ·
1 Parent(s): 85b7f09

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +53 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 128,
14
+ "id2label": {
15
+ "0": "AMBIGUOUS",
16
+ "1": "ASSERTION",
17
+ "2": "CHALLENGE",
18
+ "3": "COURTESY",
19
+ "4": "DIRECTIVE",
20
+ "5": "QUERY",
21
+ "6": "REJECTION",
22
+ "7": "SALUTATION",
23
+ "8": "STALL",
24
+ "9": "VALIDATION"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 512,
28
+ "is_decoder": false,
29
+ "label2id": {
30
+ "AMBIGUOUS": 0,
31
+ "ASSERTION": 1,
32
+ "CHALLENGE": 2,
33
+ "COURTESY": 3,
34
+ "DIRECTIVE": 4,
35
+ "QUERY": 5,
36
+ "REJECTION": 6,
37
+ "SALUTATION": 7,
38
+ "STALL": 8,
39
+ "VALIDATION": 9
40
+ },
41
+ "layer_norm_eps": 1e-12,
42
+ "max_position_embeddings": 512,
43
+ "model_type": "bert",
44
+ "num_attention_heads": 2,
45
+ "num_hidden_layers": 2,
46
+ "pad_token_id": 0,
47
+ "problem_type": "single_label_classification",
48
+ "tie_word_embeddings": true,
49
+ "transformers_version": "5.0.0",
50
+ "type_vocab_size": 2,
51
+ "use_cache": false,
52
+ "vocab_size": 30522
53
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c904eae4a6ca260367a271e1ba400d300ce6f8a8ed24eeae0c392495af1a0b7a
3
+ size 17553432