Upload ElectraForSequenceClassification
Browse files- config.json +11 -5
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
-
"
|
| 4 |
],
|
| 5 |
"attention_probs_dropout_prob": 0.1,
|
| 6 |
"classifier_dropout": null,
|
| 7 |
"dtype": "float32",
|
|
|
|
|
|
|
| 8 |
"hidden_act": "gelu",
|
| 9 |
"hidden_dropout_prob": 0.1,
|
| 10 |
-
"hidden_size":
|
| 11 |
"id2label": {
|
| 12 |
"0": "African",
|
| 13 |
"1": "Khaleeji",
|
|
@@ -15,7 +17,7 @@
|
|
| 15 |
"3": "\u064fEgyptian"
|
| 16 |
},
|
| 17 |
"initializer_range": 0.02,
|
| 18 |
-
"intermediate_size":
|
| 19 |
"label2id": {
|
| 20 |
"African": 0,
|
| 21 |
"Khaleeji": 1,
|
|
@@ -24,12 +26,16 @@
|
|
| 24 |
},
|
| 25 |
"layer_norm_eps": 1e-12,
|
| 26 |
"max_position_embeddings": 512,
|
| 27 |
-
"model_type": "
|
| 28 |
-
"num_attention_heads":
|
| 29 |
"num_hidden_layers": 12,
|
| 30 |
"pad_token_id": 0,
|
| 31 |
"position_embedding_type": "absolute",
|
| 32 |
"problem_type": "single_label_classification",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
"transformers_version": "4.57.1",
|
| 34 |
"type_vocab_size": 2,
|
| 35 |
"use_cache": true,
|
|
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
+
"ElectraForSequenceClassification"
|
| 4 |
],
|
| 5 |
"attention_probs_dropout_prob": 0.1,
|
| 6 |
"classifier_dropout": null,
|
| 7 |
"dtype": "float32",
|
| 8 |
+
"embedding_size": 768,
|
| 9 |
+
"generator_hidden_size": 0.33333,
|
| 10 |
"hidden_act": "gelu",
|
| 11 |
"hidden_dropout_prob": 0.1,
|
| 12 |
+
"hidden_size": 256,
|
| 13 |
"id2label": {
|
| 14 |
"0": "African",
|
| 15 |
"1": "Khaleeji",
|
|
|
|
| 17 |
"3": "\u064fEgyptian"
|
| 18 |
},
|
| 19 |
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 1024,
|
| 21 |
"label2id": {
|
| 22 |
"African": 0,
|
| 23 |
"Khaleeji": 1,
|
|
|
|
| 26 |
},
|
| 27 |
"layer_norm_eps": 1e-12,
|
| 28 |
"max_position_embeddings": 512,
|
| 29 |
+
"model_type": "electra",
|
| 30 |
+
"num_attention_heads": 4,
|
| 31 |
"num_hidden_layers": 12,
|
| 32 |
"pad_token_id": 0,
|
| 33 |
"position_embedding_type": "absolute",
|
| 34 |
"problem_type": "single_label_classification",
|
| 35 |
+
"summary_activation": "gelu",
|
| 36 |
+
"summary_last_dropout": 0.1,
|
| 37 |
+
"summary_type": "first",
|
| 38 |
+
"summary_use_proj": true,
|
| 39 |
"transformers_version": "4.57.1",
|
| 40 |
"type_vocab_size": 2,
|
| 41 |
"use_cache": true,
|
model.safetensors
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:192c54365cbb0f43b01a2832c674ec8a6caff92ffe92ae555ab07de0d2300344
|
| 3 |
+
size 237180712
|