Commit
·
59ee6dc
1
Parent(s):
20f28ee
Upload BertForSequenceClassification
Browse files- config.json +60 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "TuPy-Bert-Large-Multilabel",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"directionality": "bidi",
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 1024,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "ageism",
|
| 14 |
+
"1": "aporophobia",
|
| 15 |
+
"2": "body_shame",
|
| 16 |
+
"3": "capacitism",
|
| 17 |
+
"4": "lgbtphobia",
|
| 18 |
+
"5": "political",
|
| 19 |
+
"6": "racism",
|
| 20 |
+
"7": "religious_intolerance",
|
| 21 |
+
"8": "misogyny",
|
| 22 |
+
"9": "xenophobia",
|
| 23 |
+
"10": "other",
|
| 24 |
+
"11": "not_hate"
|
| 25 |
+
},
|
| 26 |
+
"initializer_range": 0.02,
|
| 27 |
+
"intermediate_size": 4096,
|
| 28 |
+
"label2id": {
|
| 29 |
+
"ageism": 0,
|
| 30 |
+
"aporophobia": 1,
|
| 31 |
+
"body_shame": 2,
|
| 32 |
+
"capacitism": 3,
|
| 33 |
+
"lgbtphobia": 4,
|
| 34 |
+
"misogyny": 8,
|
| 35 |
+
"not_hate": 11,
|
| 36 |
+
"other": 10,
|
| 37 |
+
"political": 5,
|
| 38 |
+
"racism": 6,
|
| 39 |
+
"religious_intolerance": 7,
|
| 40 |
+
"xenophobia": 9
|
| 41 |
+
},
|
| 42 |
+
"layer_norm_eps": 1e-12,
|
| 43 |
+
"max_position_embeddings": 512,
|
| 44 |
+
"model_type": "bert",
|
| 45 |
+
"num_attention_heads": 16,
|
| 46 |
+
"num_hidden_layers": 24,
|
| 47 |
+
"output_past": true,
|
| 48 |
+
"pad_token_id": 0,
|
| 49 |
+
"pooler_fc_size": 768,
|
| 50 |
+
"pooler_num_attention_heads": 12,
|
| 51 |
+
"pooler_num_fc_layers": 3,
|
| 52 |
+
"pooler_size_per_head": 128,
|
| 53 |
+
"pooler_type": "first_token_transform",
|
| 54 |
+
"position_embedding_type": "absolute",
|
| 55 |
+
"torch_dtype": "float32",
|
| 56 |
+
"transformers_version": "4.35.2",
|
| 57 |
+
"type_vocab_size": 2,
|
| 58 |
+
"use_cache": true,
|
| 59 |
+
"vocab_size": 29794
|
| 60 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:229a032aa8ab342b3712393c874acc3c5e96e7635ec0619f3fed7e13476293f2
|
| 3 |
+
size 1337681872
|