finiteautomata
commited on
Commit
•
08d33b7
1
Parent(s):
f7bc776
Upload BertForSequenceClassification
Browse files- config.json +40 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "pablocosta/bertabaporu-base-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Sexism",
|
13 |
+
"1": "Body",
|
14 |
+
"2": "Racism",
|
15 |
+
"3": "Ideology",
|
16 |
+
"4": "Homophobia"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"Body": 1,
|
22 |
+
"Homophobia": 4,
|
23 |
+
"Ideology": 3,
|
24 |
+
"Racism": 2,
|
25 |
+
"Sexism": 0
|
26 |
+
},
|
27 |
+
"layer_norm_eps": 1e-12,
|
28 |
+
"max_position_embeddings": 512,
|
29 |
+
"model_type": "bert",
|
30 |
+
"num_attention_heads": 8,
|
31 |
+
"num_hidden_layers": 12,
|
32 |
+
"pad_token_id": 0,
|
33 |
+
"position_embedding_type": "absolute",
|
34 |
+
"problem_type": "multi_label_classification",
|
35 |
+
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.26.0",
|
37 |
+
"type_vocab_size": 2,
|
38 |
+
"use_cache": true,
|
39 |
+
"vocab_size": 64002
|
40 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2761c8e40b78bf64e8f560234388fe2791327fa21ada8bbfd784e1b56d742b7c
|
3 |
+
size 540867701
|