Upload BertForSequenceClassification
Browse files- config.json +46 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Aniemore/rubert-tiny-emotion-russian-cedr-m7",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"emb_size": 312,
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 312,
|
13 |
+
"id2label": {
|
14 |
+
"0": "anger",
|
15 |
+
"1": "disgust",
|
16 |
+
"2": "enthusiasm",
|
17 |
+
"3": "fear",
|
18 |
+
"4": "happiness",
|
19 |
+
"5": "neutral",
|
20 |
+
"6": "sadness"
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 600,
|
24 |
+
"label2id": {
|
25 |
+
"anger": 0,
|
26 |
+
"disgust": 1,
|
27 |
+
"enthusiasm": 2,
|
28 |
+
"fear": 3,
|
29 |
+
"happiness": 4,
|
30 |
+
"neutral": 5,
|
31 |
+
"sadness": 6
|
32 |
+
},
|
33 |
+
"layer_norm_eps": 1e-12,
|
34 |
+
"max_position_embeddings": 2048,
|
35 |
+
"model_type": "bert",
|
36 |
+
"num_attention_heads": 12,
|
37 |
+
"num_hidden_layers": 3,
|
38 |
+
"pad_token_id": 0,
|
39 |
+
"position_embedding_type": "absolute",
|
40 |
+
"problem_type": "multi_label_classification",
|
41 |
+
"torch_dtype": "float32",
|
42 |
+
"transformers_version": "4.25.1",
|
43 |
+
"type_vocab_size": 2,
|
44 |
+
"use_cache": true,
|
45 |
+
"vocab_size": 83828
|
46 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b7b52b5600434c50439ab3468b727b52bbc85409aa5a2a9874eeacbce0a5d563
|
3 |
+
size 116817695
|