Priyanka-Balivada
commited on
Commit
•
0b8c6c9
1
Parent(s):
dbe0d13
Upload ElectraForSequenceClassification
Browse files- config.json +41 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/electra-small-discriminator",
|
3 |
+
"architectures": [
|
4 |
+
"ElectraForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"embedding_size": 128,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 256,
|
12 |
+
"id2label": {
|
13 |
+
"0": "NEGATIVE",
|
14 |
+
"1": "NEUTRAL",
|
15 |
+
"2": "POSITIVE"
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 1024,
|
19 |
+
"label2id": {
|
20 |
+
"NEGATIVE": 0,
|
21 |
+
"NEUTRAL": 1,
|
22 |
+
"POSITIVE": 2
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"max_position_embeddings": 512,
|
26 |
+
"model_type": "electra",
|
27 |
+
"num_attention_heads": 4,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"pad_token_id": 0,
|
30 |
+
"position_embedding_type": "absolute",
|
31 |
+
"problem_type": "single_label_classification",
|
32 |
+
"summary_activation": "gelu",
|
33 |
+
"summary_last_dropout": 0.1,
|
34 |
+
"summary_type": "first",
|
35 |
+
"summary_use_proj": true,
|
36 |
+
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.33.0",
|
38 |
+
"type_vocab_size": 2,
|
39 |
+
"use_cache": true,
|
40 |
+
"vocab_size": 30522
|
41 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b30ea518e88bb706ef7802670a3c4f621dfb12109f05aa5abf40696b858e8fce
|
3 |
+
size 54267897
|