Commit
·
d864360
1
Parent(s):
87c7f24
Upload BertForSequenceClassification
Browse files- config.json +93 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "admiration",
|
| 14 |
+
"1": "amusement",
|
| 15 |
+
"2": "anger",
|
| 16 |
+
"3": "annoyance",
|
| 17 |
+
"4": "approval",
|
| 18 |
+
"5": "caring",
|
| 19 |
+
"6": "confusion",
|
| 20 |
+
"7": "curiosity",
|
| 21 |
+
"8": "desire",
|
| 22 |
+
"9": "disappointment",
|
| 23 |
+
"10": "disapproval",
|
| 24 |
+
"11": "disgust",
|
| 25 |
+
"12": "embarrassment",
|
| 26 |
+
"13": "excitement",
|
| 27 |
+
"14": "fear",
|
| 28 |
+
"15": "gratitude",
|
| 29 |
+
"16": "grief",
|
| 30 |
+
"17": "joy",
|
| 31 |
+
"18": "love",
|
| 32 |
+
"19": "nervousness",
|
| 33 |
+
"20": "optimism",
|
| 34 |
+
"21": "pride",
|
| 35 |
+
"22": "realization",
|
| 36 |
+
"23": "relief",
|
| 37 |
+
"24": "remorse",
|
| 38 |
+
"25": "sadness",
|
| 39 |
+
"26": "surprise",
|
| 40 |
+
"27": "neutral"
|
| 41 |
+
},
|
| 42 |
+
"initializer_range": 0.02,
|
| 43 |
+
"intermediate_size": 3072,
|
| 44 |
+
"label2id": {
|
| 45 |
+
"admiration": 0,
|
| 46 |
+
"amusement": 1,
|
| 47 |
+
"anger": 2,
|
| 48 |
+
"annoyance": 3,
|
| 49 |
+
"approval": 4,
|
| 50 |
+
"caring": 5,
|
| 51 |
+
"confusion": 6,
|
| 52 |
+
"curiosity": 7,
|
| 53 |
+
"desire": 8,
|
| 54 |
+
"disappointment": 9,
|
| 55 |
+
"disapproval": 10,
|
| 56 |
+
"disgust": 11,
|
| 57 |
+
"embarrassment": 12,
|
| 58 |
+
"excitement": 13,
|
| 59 |
+
"fear": 14,
|
| 60 |
+
"gratitude": 15,
|
| 61 |
+
"grief": 16,
|
| 62 |
+
"joy": 17,
|
| 63 |
+
"love": 18,
|
| 64 |
+
"nervousness": 19,
|
| 65 |
+
"neutral": 27,
|
| 66 |
+
"optimism": 20,
|
| 67 |
+
"pride": 21,
|
| 68 |
+
"realization": 22,
|
| 69 |
+
"relief": 23,
|
| 70 |
+
"remorse": 24,
|
| 71 |
+
"sadness": 25,
|
| 72 |
+
"surprise": 26
|
| 73 |
+
},
|
| 74 |
+
"layer_norm_eps": 1e-12,
|
| 75 |
+
"max_position_embeddings": 512,
|
| 76 |
+
"model_type": "bert",
|
| 77 |
+
"num_attention_heads": 12,
|
| 78 |
+
"num_hidden_layers": 12,
|
| 79 |
+
"output_past": true,
|
| 80 |
+
"pad_token_id": 0,
|
| 81 |
+
"pooler_fc_size": 768,
|
| 82 |
+
"pooler_num_attention_heads": 12,
|
| 83 |
+
"pooler_num_fc_layers": 3,
|
| 84 |
+
"pooler_size_per_head": 128,
|
| 85 |
+
"pooler_type": "first_token_transform",
|
| 86 |
+
"position_embedding_type": "absolute",
|
| 87 |
+
"problem_type": "multi_label_classification",
|
| 88 |
+
"torch_dtype": "float32",
|
| 89 |
+
"transformers_version": "4.33.1",
|
| 90 |
+
"type_vocab_size": 2,
|
| 91 |
+
"use_cache": true,
|
| 92 |
+
"vocab_size": 29797
|
| 93 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7efb15f9e82b7c63976aa10ced240ea411aeaaa84a8f6909e30d1ee947ce43d4
|
| 3 |
+
size 435856241
|