Update: Final ArabGuard model trained with 11-stage normalization
Browse files- config.json +7 -2
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,17 +1,21 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"BertForSequenceClassification"
|
| 4 |
],
|
| 5 |
"attention_probs_dropout_prob": 0.1,
|
|
|
|
| 6 |
"classifier_dropout": null,
|
| 7 |
"directionality": "bidi",
|
| 8 |
"dtype": "float32",
|
|
|
|
| 9 |
"gradient_checkpointing": false,
|
| 10 |
"hidden_act": "gelu",
|
| 11 |
"hidden_dropout_prob": 0.1,
|
| 12 |
"hidden_size": 768,
|
| 13 |
"initializer_range": 0.02,
|
| 14 |
"intermediate_size": 3072,
|
|
|
|
| 15 |
"layer_norm_eps": 1e-12,
|
| 16 |
"max_position_embeddings": 512,
|
| 17 |
"model_type": "bert",
|
|
@@ -25,8 +29,9 @@
|
|
| 25 |
"pooler_type": "first_token_transform",
|
| 26 |
"position_embedding_type": "absolute",
|
| 27 |
"problem_type": "single_label_classification",
|
| 28 |
-
"
|
|
|
|
| 29 |
"type_vocab_size": 2,
|
| 30 |
-
"use_cache":
|
| 31 |
"vocab_size": 100000
|
| 32 |
}
|
|
|
|
| 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 |
"directionality": "bidi",
|
| 10 |
"dtype": "float32",
|
| 11 |
+
"eos_token_id": null,
|
| 12 |
"gradient_checkpointing": false,
|
| 13 |
"hidden_act": "gelu",
|
| 14 |
"hidden_dropout_prob": 0.1,
|
| 15 |
"hidden_size": 768,
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
"intermediate_size": 3072,
|
| 18 |
+
"is_decoder": false,
|
| 19 |
"layer_norm_eps": 1e-12,
|
| 20 |
"max_position_embeddings": 512,
|
| 21 |
"model_type": "bert",
|
|
|
|
| 29 |
"pooler_type": "first_token_transform",
|
| 30 |
"position_embedding_type": "absolute",
|
| 31 |
"problem_type": "single_label_classification",
|
| 32 |
+
"tie_word_embeddings": true,
|
| 33 |
+
"transformers_version": "5.0.0",
|
| 34 |
"type_vocab_size": 2,
|
| 35 |
+
"use_cache": false,
|
| 36 |
"vocab_size": 100000
|
| 37 |
}
|
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:e5b48fb104f1538eb72fa04ba038fa2792e6117f222be13e6f65acb76c317bbf
|
| 3 |
+
size 651395048
|