savioteless
commited on
Commit
•
7fc1cb5
1
Parent(s):
47bdda8
Upload BertForSequenceClassification (#4)
Browse files- Upload BertForSequenceClassification (249421ce8f198dcf9cd961cfddad33133173c458)
- config.json +47 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "neuralmind/bert-base-portuguese-cased",
|
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": "Muito Negativo",
|
14 |
+
"1": "Negativo",
|
15 |
+
"2": "Neutro",
|
16 |
+
"3": "Positivo",
|
17 |
+
"4": "Muito Positivo"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"Muito Negativo": 0,
|
23 |
+
"Muito Positivo": 4,
|
24 |
+
"Negativo": 1,
|
25 |
+
"Neutro": 2,
|
26 |
+
"Positivo": 3
|
27 |
+
},
|
28 |
+
"layer_norm_eps": 1e-12,
|
29 |
+
"max_position_embeddings": 512,
|
30 |
+
"model_type": "bert",
|
31 |
+
"num_attention_heads": 12,
|
32 |
+
"num_hidden_layers": 12,
|
33 |
+
"output_past": true,
|
34 |
+
"pad_token_id": 0,
|
35 |
+
"pooler_fc_size": 768,
|
36 |
+
"pooler_num_attention_heads": 12,
|
37 |
+
"pooler_num_fc_layers": 3,
|
38 |
+
"pooler_size_per_head": 128,
|
39 |
+
"pooler_type": "first_token_transform",
|
40 |
+
"position_embedding_type": "absolute",
|
41 |
+
"problem_type": "single_label_classification",
|
42 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.35.2",
|
44 |
+
"type_vocab_size": 2,
|
45 |
+
"use_cache": true,
|
46 |
+
"vocab_size": 29794
|
47 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd57b33c96bd22bebd66f4e30aca6221499094c1668f1162a25cf9d547feaf9c
|
3 |
+
size 435731452
|