FpOliveira commited on
Commit
e1e486d
1 Parent(s): a7e3e79

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +60 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "tupi-bert-base-portuguese-cased-multiclass-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": 768,
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": 3072,
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": 12,
46
+ "num_hidden_layers": 12,
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:c5ff9906df7f56742f5b71af51e0e30ec8034921893729544b4560a2a2eb294e
3
+ size 435752984