debajyotidatta
commited on
Commit
•
cc438e1
1
Parent(s):
8ce791d
Upload BertForSequenceClassification
Browse files- config.json +15 -23
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,47 +1,39 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
|
|
|
|
7 |
"hidden_act": "gelu",
|
8 |
"hidden_dropout_prob": 0.1,
|
9 |
"hidden_size": 768,
|
10 |
"id2label": {
|
11 |
-
"0": "
|
12 |
"1": "expository",
|
13 |
"2": "probing_exploring",
|
14 |
-
"3": "
|
15 |
},
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
"label2id": {
|
19 |
"expository": 1,
|
20 |
-
"other":
|
21 |
"probing_exploring": 2,
|
22 |
-
"procedural":
|
23 |
},
|
24 |
-
"layer_norm_eps": 1e-
|
25 |
"max_position_embeddings": 512,
|
26 |
-
"
|
27 |
-
"model_type": "deberta-v2",
|
28 |
-
"norm_rel_ebd": "layer_norm",
|
29 |
"num_attention_heads": 12,
|
30 |
"num_hidden_layers": 12,
|
31 |
"pad_token_id": 0,
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"pooler_hidden_size": 768,
|
35 |
-
"pos_att_type": [
|
36 |
-
"p2c",
|
37 |
-
"c2p"
|
38 |
-
],
|
39 |
-
"position_biased_input": false,
|
40 |
-
"position_buckets": 256,
|
41 |
-
"relative_attention": true,
|
42 |
-
"share_att_key": true,
|
43 |
"torch_dtype": "float32",
|
44 |
"transformers_version": "4.25.1",
|
45 |
-
"type_vocab_size":
|
46 |
-
"
|
|
|
47 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "bert-base-uncased",
|
3 |
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
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": "other",
|
14 |
"1": "expository",
|
15 |
"2": "probing_exploring",
|
16 |
+
"3": "procedural"
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
"expository": 1,
|
22 |
+
"other": 0,
|
23 |
"probing_exploring": 2,
|
24 |
+
"procedural": 3
|
25 |
},
|
26 |
+
"layer_norm_eps": 1e-12,
|
27 |
"max_position_embeddings": 512,
|
28 |
+
"model_type": "bert",
|
|
|
|
|
29 |
"num_attention_heads": 12,
|
30 |
"num_hidden_layers": 12,
|
31 |
"pad_token_id": 0,
|
32 |
+
"position_embedding_type": "absolute",
|
33 |
+
"problem_type": "single_label_classification",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
"torch_dtype": "float32",
|
35 |
"transformers_version": "4.25.1",
|
36 |
+
"type_vocab_size": 2,
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 30522
|
39 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c18089ab8f68f1242aafb0a47cb843624b1d796bb577dfd341e260a864c0289
|
3 |
+
size 438014069
|